Split into reset/normalise/files
This commit is contained in:
parent
7803ab7803
commit
cf8b8e1870
|
@ -15,8 +15,12 @@ Author: Benchmark
|
||||||
@import 'vendor/simple-grid/simple-grid';
|
@import 'vendor/simple-grid/simple-grid';
|
||||||
|
|
||||||
@import 'base/normalise';
|
@import 'base/normalise';
|
||||||
|
@import 'base/shared';
|
||||||
|
@import 'base/images';
|
||||||
@import 'base/forms';
|
@import 'base/forms';
|
||||||
@import 'base/lists';
|
@import 'base/lists';
|
||||||
|
@import 'base/headings';
|
||||||
|
@import 'base/links';
|
||||||
|
|
||||||
@import 'modules/nav';
|
@import 'modules/nav';
|
||||||
@import 'modules/buttons';
|
@import 'modules/buttons';
|
|
@ -0,0 +1,8 @@
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
&[width],
|
||||||
|
&[height] {
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
|
@ -1,43 +0,0 @@
|
||||||
body {
|
|
||||||
color: $base-colour;
|
|
||||||
font-family: $base-font-stack;
|
|
||||||
@include font-size($base-font-size);
|
|
||||||
line-height: $base-line-height;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100%;
|
|
||||||
&[width],
|
|
||||||
&[height] {
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6,
|
|
||||||
p,
|
|
||||||
hr,
|
|
||||||
ul,
|
|
||||||
ol,
|
|
||||||
dl,
|
|
||||||
address {
|
|
||||||
margin-bottom: $base-spacing-unit;
|
|
||||||
}
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
body {
|
||||||
|
color: $base-colour;
|
||||||
|
font-family: $base-font-stack;
|
||||||
|
@include font-size($base-font-size);
|
||||||
|
line-height: $base-line-height;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6,
|
||||||
|
p,
|
||||||
|
hr,
|
||||||
|
ul,
|
||||||
|
ol,
|
||||||
|
dl,
|
||||||
|
address {
|
||||||
|
margin-bottom: $base-spacing-unit;
|
||||||
|
}
|
|
@ -2,6 +2,7 @@
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
|
@ -42,14 +43,13 @@ button {
|
||||||
button {
|
button {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
&[disabled] {
|
&[disabled] {
|
||||||
cursor: default;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
width: 100%;
|
|
||||||
th,
|
th,
|
||||||
td {
|
td {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
Loading…
Reference in New Issue