Files
yeuchaybo/assets/scss/defaults/_typographical-elements.scss
T
2018-07-04 10:00:50 +07:00

108 lines
1.5 KiB
SCSS

/* ## Typographical Elements
--------------------------------------------- */
html {
font-size: 62.5%; /* 10px browser default */
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
/* Chrome fix */
body > div {
font-size: $body--font-size;
}
body {
margin: 0;
color: $body--font-color;
background-color: $body--background-color;
font-family: $body--font-family;
font-size: $body--font-size;
font-weight: $font-weight--regular;
line-height: $line-height--large;
&.page-boxed {
max-width: map_get($breakpoints, md);
margin: 0 auto;
background-color: $page-boxed--background-color;
box-shadow: $box-shadow;
}
}
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img {
transition: all $transition;
}
a {
color: $link--font-color;
text-decoration: none;
transition: color $transition, background-color $transition;
&:focus,
&:hover {
color: $link--font-color-hover;
text-decoration: none;
}
}
p {
margin: 0 0 30px;
padding: 0;
}
ol,
ul {
margin: 0;
padding: 0;
}
li {
list-style-type: none;
}
hr {
clear: both;
margin: 30px 0;
border: 0;
border-top: $border;
border-collapse: collapse;
}
b,
strong {
font-weight: $font-weight--bold;
}
blockquote,
cite,
em,
i {
font-style: italic;
}
mark {
background: $mark--background-color;
}
blockquote {
margin: 30px;
&:before {
display: block;
position: relative;
top: -10px;
left: -20px;
height: 0;
font-size: $blockquote__before--font-size;
content: "\201C";
}
}