mastoradio-fork/src/assets/scss/4-base/_04-main.scss

85 lines
1.2 KiB
SCSS
Raw Normal View History

2020-02-15 18:58:20 +01:00
/* ----------------------------------------------------------- */
/* == main */
/* ----------------------------------------------------------- */
body {
2020-02-15 20:13:33 +01:00
background-color: #f9f9f7;
2020-02-15 18:58:20 +01:00
color: $color-dark-text;
font-family: $fontstack1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.container {
margin-right: auto;
margin-left: auto;
padding-right: 1rem;
padding-left: 1rem;
2020-02-15 20:13:33 +01:00
max-width: 54rem;
2020-02-15 18:58:20 +01:00
}
/* titles
-------------------------------------------------------------- */
h1 {
@include flow(50);
}
h2 {
@include flow(22);
}
h3 {
@include flow(18);
}
h4 {
@include flow(16);
}
/* links
-------------------------------------------------------------- */
a,
a:visited {
color: $color-link;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
2020-02-16 19:57:06 +01:00
a:active,
a:focus,
button:active,
button:focus {
2020-02-15 18:58:20 +01:00
outline: none;
box-shadow: $focus-ring;
}
2020-02-16 23:40:22 +01:00
button {
cursor: pointer;
}
2020-02-15 18:58:20 +01:00
/* lists
-------------------------------------------------------------- */
ul {
padding-left: 2rem;
list-style-type: disc;
}
/* divers
-------------------------------------------------------------- */
hr {
display: block;
margin: 1em 0;
padding: 0;
height: .1rem;
border: 0;
border-top: .1rem solid #ccc;
}