1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-15 05:25:33 -04:00

switch to modern-normalize.css and actually choose a consistent box-sizing preference (#406)

This commit is contained in:
2021-05-22 10:31:05 -04:00
committed by GitHub
parent 8c974c8d5e
commit 2e3be955c8
13 changed files with 90 additions and 69 deletions

View File

@@ -19,8 +19,6 @@ div.layout-etc {
// Responsive
@mixin responsive--etc() {
div.layout-etc {
padding: 1.25em 1.1em;
h1 {
font-size: 1.6em;
padding: 0 0.6em;

View File

@@ -3,20 +3,23 @@
// Home Styles
div.layout-home {
font-size: 1em;
padding-top: 1.5em;
padding-top: 1.25em;
padding-bottom: 0.75em;
h1 {
margin: 0 0 0.6em 0;
margin: 0 0 0.3em 0;
font-size: 1.8em;
font-weight: 500;
letter-spacing: -0.014em;
line-height: 1.1;
margin-left: -0.03em; // TODO: why is this indented slightly?
img.emoji {
margin-left: 0.1em; // a little extra social distancing for the hand
}
}
h2 {
margin: 0.6em 0;
margin: 0.5em 0;
font-size: 1.35em;
font-weight: 400;
letter-spacing: -0.022em;
@@ -39,7 +42,7 @@ div.layout-home {
margin-right: 0.1em;
img.emoji {
vertical-align: -0.15em; // magic number to align with text :\
vertical-align: -0.2em; // magic number to align with text :\
padding: 0;
}
}
@@ -47,11 +50,10 @@ div.layout-home {
img#me {
float: right;
margin-bottom: 0.6em;
margin-left: 1.2em;
margin: 0.2em 0 0.6em 1.2em;
padding: 4px;
width: 160px;
height: 160px;
width: 170px;
height: 170px;
border: 1px solid;
border-radius: 50%;
@@ -99,18 +101,19 @@ div.layout-home {
@mixin responsive--home() {
div.layout-home {
font-size: 0.975em;
padding: 1.2em 1.2em 0.4em 1.2em;
padding-top: 1.2em;
padding-bottom: 0.2em;
h1 {
font-size: 1.5em;
letter-spacing: -0.014em;
line-height: 1.4;
line-height: 1.7;
}
h2 {
font-size: 1.185em;
letter-spacing: -0.017em;
line-height: 1.55;
line-height: 1.6;
}
p {
@@ -118,8 +121,8 @@ div.layout-home {
}
img#me {
width: 90px;
height: 90px;
width: 100px;
height: 100px;
margin: 0 0 0.3em 0.6em;
padding: 2px;
}

View File

@@ -47,7 +47,8 @@ div.layout-list {
// Responsive
@mixin responsive--list() {
div.layout-list {
padding: 1em 1em 0.25em 1em;
padding-top: 1em;
padding-bottom: 0;
section.year {
font-size: 1em;

View File

@@ -42,7 +42,8 @@ div.layout-single {
// Responsive
@mixin responsive--single() {
div.layout-single {
padding: 0.8em 1.1em;
padding-top: 0.8em;
padding-bottom: 0.4em;
h1.title {
margin-top: 0.4em;