modified body font size and relativized sizes of headers, paragraphs and blocquotes. modified max-width
This commit is contained in:
parent
46317e2e30
commit
2bfd7fc5be
|
@ -9,6 +9,6 @@ $font__main: $font__regular;
|
|||
// stylelint-enable value-keyword-case
|
||||
$font__code: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
$font__pre: "Courier 10 Pitch", courier, monospace;
|
||||
$font__size-body: 1.5rem;
|
||||
$font__size-body: 1rem;
|
||||
$font__line-height-body: 1.3;
|
||||
$font__line-height-pre: 1.4;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
button,
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
input[type="submit"],
|
||||
.wp-block-button__link {
|
||||
border: 1px solid;
|
||||
border-color: $color__border-button;
|
||||
border-radius: 3px;
|
||||
|
|
|
@ -10,7 +10,10 @@ i {
|
|||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 1.5em;
|
||||
margin: 0;
|
||||
p {
|
||||
font-size: $font__size-body*1.1;
|
||||
}
|
||||
}
|
||||
|
||||
address {
|
||||
|
|
|
@ -2,9 +2,31 @@ h1,
|
|||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: $font__light;
|
||||
h5 {
|
||||
text-transform: uppercase;
|
||||
clear: both;
|
||||
}
|
||||
h1 {
|
||||
font-family: $font__light;
|
||||
font-size: $font__size-body*3.5;
|
||||
}
|
||||
h2 {
|
||||
font-family: $font__light;
|
||||
font-size: $font__size-body*2.5;
|
||||
}
|
||||
h3 {
|
||||
font-family: $font__black;
|
||||
font-size: $font__size-body*1.5;
|
||||
}
|
||||
h4 {
|
||||
font-family: $font__bold;
|
||||
font-size: $font__size-body*1.3;
|
||||
}
|
||||
h5 {
|
||||
font-family: $font__medium;
|
||||
font-size: $font__size-body*1.3;
|
||||
}
|
||||
h6 {
|
||||
font-family: $font__light;
|
||||
font-size: $font__size-body*1.1;
|
||||
}
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
"footer";
|
||||
margin: auto;
|
||||
padding: 0 3rem;
|
||||
max-width: 51em;
|
||||
// max-width: 1300px;
|
||||
max-width: 80em;
|
||||
}
|
||||
.site-header {
|
||||
.main {
|
||||
|
|
54
style.css
54
style.css
|
@ -390,7 +390,7 @@ optgroup,
|
|||
textarea {
|
||||
color: #404040;
|
||||
font-family: "din-regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 1.5rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
|
@ -398,13 +398,41 @@ h1,
|
|||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
h5 {
|
||||
text-transform: uppercase;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-family: "din-black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-family: "din-medium", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
@ -417,7 +445,11 @@ i {
|
|||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 1.5em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
blockquote p {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
address {
|
||||
|
@ -595,7 +627,8 @@ a:hover, a:active {
|
|||
button,
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
input[type="submit"],
|
||||
.wp-block-button__link {
|
||||
border: 1px solid;
|
||||
border-color: #000 #000 #000;
|
||||
border-radius: 3px;
|
||||
|
@ -608,7 +641,8 @@ input[type="submit"] {
|
|||
button:hover,
|
||||
input[type="button"]:hover,
|
||||
input[type="reset"]:hover,
|
||||
input[type="submit"]:hover {
|
||||
input[type="submit"]:hover,
|
||||
.wp-block-button__link:hover {
|
||||
border-color: #111 #111 #111;
|
||||
}
|
||||
|
||||
|
@ -618,7 +652,9 @@ input[type="button"]:focus,
|
|||
input[type="reset"]:active,
|
||||
input[type="reset"]:focus,
|
||||
input[type="submit"]:active,
|
||||
input[type="submit"]:focus {
|
||||
input[type="submit"]:focus,
|
||||
.wp-block-button__link:active,
|
||||
.wp-block-button__link:focus {
|
||||
border-color: #222 #222 #222;
|
||||
}
|
||||
|
||||
|
@ -680,7 +716,7 @@ textarea {
|
|||
grid-template-areas: "header" "main" "footer";
|
||||
margin: auto;
|
||||
padding: 0 3rem;
|
||||
max-width: 51em;
|
||||
max-width: 80em;
|
||||
}
|
||||
|
||||
.no-sidebar .site-header .main {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue