mirror of
https://github.com/danbee/danbarber.me
synced 2025-03-04 08:59:10 +00:00
Small CSS refactor
This commit is contained in:
parent
b6acd4e68b
commit
632a2a670a
@ -44,7 +44,7 @@ body {
|
||||
h1 {
|
||||
font-size: 2.5em;
|
||||
line-height: 1.333em;
|
||||
margin: 0.97em 0 0em;
|
||||
margin: 5rem 0 2.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@ -93,7 +93,7 @@ small {
|
||||
}
|
||||
|
||||
p, ul, ol, form {
|
||||
margin: 1.5em 0 1em;
|
||||
margin: 1.5rem 0 1.5rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
@ -206,7 +206,6 @@ abbr {
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
hyphenate: auto;
|
||||
hyphenate-before: 2;
|
||||
hyphenate-after: 3;
|
||||
|
||||
@ -1,14 +1,7 @@
|
||||
article {
|
||||
border-bottom: 1px dashed $border-color;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 1em;
|
||||
.entry-content {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
padding-bottom: 2.5rem;
|
||||
header {
|
||||
position: relative;
|
||||
margin-top: 2em;
|
||||
padding-top: 0.6em;
|
||||
.meta {
|
||||
text-transform: uppercase;
|
||||
color: $meta-text-color;
|
||||
@ -16,9 +9,9 @@ article {
|
||||
letter-spacing: 0.1em;
|
||||
width: 100%;
|
||||
text-rendering: optimizelegibility;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
h1 + .meta {
|
||||
margin-top: -2.5rem;
|
||||
}
|
||||
}
|
||||
header a {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user