1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 15:16:40 -04:00

huge refactoring of content and theme

- de-personalize the theme as much as possible, moving personal info into config.toml parameters
- extract hard-coded content out layouts and into actual /content (especially home page and all of its assets)
- include full text of posts in RSS feed (aka making the world a better place)
- use abstract layout for both video pages (/leo and /birthday)
This commit is contained in:
2019-10-27 22:10:18 -04:00
parent abf99c0106
commit c79bba520b
39 changed files with 234 additions and 299 deletions

View File

@ -0,0 +1,23 @@
@charset "UTF-8";
// nifty color swapping on svg logo hover
a#logo {
&:hover {
$logo-original1: #6fbc4e;
$logo-original2: #ffb900;
$logo-original3: #009cdf;
svg {
g#color1 {
fill: $logo-original2;
}
g#color2 {
fill: $logo-original3;
}
g#color3 {
fill: $logo-original1;
}
}
}
}

View File

@ -12,10 +12,12 @@
// Pages
@import 'pages/home';
@import 'pages/notes';
@import 'pages/videos';
// Responsive Pages
@import 'pages/responsive/global';
// Miscellaneous
@import 'components/logo';
@import 'components/syntax';
@import 'components/wave';

View File

@ -25,7 +25,12 @@ body#notes {
color: $color-medium;
padding: 15px;
img, svg {
&:hover {
color: $color-links;
}
img,
svg {
height: 45px;
width: auto;
}
@ -35,26 +40,6 @@ body#notes {
font-size: 1.4em;
font-weight: 500;
}
&:hover {
color: $color-links;
$logo-original1: #6fbc4e;
$logo-original2: #ffb900;
$logo-original3: #009cdf;
svg {
g#color1 {
fill: $logo-original2;
}
g#color2 {
fill: $logo-original3;
}
g#color3 {
fill: $logo-original1;
}
}
}
}
ul {

View File

@ -0,0 +1,32 @@
@charset "UTF-8";
// Video Styles
body#videos {
margin: 75px auto;
text-align: center;
p {
font-size: 0.85em;
line-height: 1.5em;
color: #777777;
margin: 0;
padding: 0 10px;
}
a {
font-weight: bold;
}
a#logo svg {
height: 48px;
width: 48px;
padding: 4px;
margin: 16px 0 8px 0;
}
video {
width: $responsive-width;
height: auto;
font-family: inherit; // for subtitles
}
}

View File

@ -6,12 +6,11 @@
// Safari iOS menu bar reappers below 44px:
// https://www.eventbrite.com/engineering/mobile-safari-why/
padding-bottom: 45px !important;
// Allows content to fill the viewport and go beyond the bottom
height: 100%;
// Allows you to scroll below the viewport; default value is visible
overflow-y: scroll;
}
@import 'home';
@import 'notes';
@import 'videos';
}

View File

@ -13,7 +13,8 @@ body#notes {
a#logo {
padding: 10px;
img, svg {
img,
svg {
height: 60px;
width: auto;
}

View File

@ -0,0 +1,16 @@
@charset "UTF-8";
// Responsive Videos
body#videos {
margin: 20px 0;
h1 {
font-size: 1.6em;
padding: 0 10px;
}
video {
width: 100%;
height: auto;
}
}