Style setup

This commit is contained in:
2020-01-02 15:32:45 +01:00
parent 396e6b5f00
commit 635576847d
13 changed files with 331 additions and 0 deletions

44
src/style/_base.scss Normal file
View 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;
}