1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-16 18:55:30 -04:00

run initial SCSS refactoring through percy

This commit is contained in:
2020-07-07 08:57:26 -04:00
parent aa3973f570
commit d970c031a5
20 changed files with 112 additions and 53 deletions

View File

@@ -14,7 +14,7 @@ body {
// manually setting light/dark mode backgrounds and bulb icon
// really just the color of header & footer
&.light {
background-color: map-get(map-get($themes, "light"), "background-top");
background-color: map-get(map-get($themes, "light"), "background-outer");
button.dark-mode-toggle {
background-image: url($icon-bulb-on);
@@ -22,7 +22,7 @@ body {
}
&.dark {
background-color: map-get(map-get($themes, "dark"), "background-top");
background-color: map-get(map-get($themes, "dark"), "background-outer");
button.dark-mode-toggle {
background-image: url($icon-bulb-off);
@@ -30,7 +30,16 @@ body {
}
}
// stretch background for entire width of content area
main {
width: 100%;
@include colors() {
background-color: c(background-inner);
}
}
section.page {
max-width: $max-width;
margin: 0 auto;
padding-left: 1.5em;
@@ -118,6 +127,7 @@ img.emoji {
padding: 0 0.09em;
vertical-align: -0.18em;
border: 0;
display: inline-block;
// have cursor act like it's hovering a regular unicode emoji, especially since twemojis can still be copied/pasted
cursor: text;
@@ -127,15 +137,6 @@ a img.emoji {
cursor: inherit;
}
// white background for entire width content area
div#wrap {
width: 100%;
@include colors() {
background-color: c(background);
}
}
// Responsive
@mixin responsive--global() {
body {

View File

@@ -0,0 +1,3 @@
@charset "UTF-8";
@import "node_modules/normalize.css/normalize.css";