Style setup
This commit is contained in:
44
src/style/_base.scss
Normal file
44
src/style/_base.scss
Normal file
@@ -0,0 +1,44 @@
|
||||
html {
|
||||
font: #{$base-font-size}/24px "$font-text";
|
||||
color: $color-text;
|
||||
}
|
||||
body {
|
||||
@include font-smooth;
|
||||
background: $color-primary;
|
||||
cursor: default;
|
||||
}
|
||||
*, *:before, *:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
strong {
|
||||
font-family: "$font-bold";
|
||||
font-weight: normal;
|
||||
}
|
||||
em {
|
||||
font-family: "$font-text_it";
|
||||
font-style: normal;
|
||||
}
|
||||
figure, p, dl, dt, dd, ul, li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
figure img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
// Selection
|
||||
::selection { color: #fff; background: $color-primary; }
|
||||
::-moz-selection { color: #fff; background: $color-primary; }
|
||||
|
||||
// Images glitches fix
|
||||
// img {backface-visibility: hidden;}
|
||||
|
||||
|
||||
|
||||
/* Titles
|
||||
========================================================================== */
|
||||
#{headings(1,6)} {
|
||||
margin: 0;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
Reference in New Issue
Block a user