Initial push
This commit is contained in:
13
_sass/categories.scss
Normal file
13
_sass/categories.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
.category-summary {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.category-all-nav, .category-header {
|
||||
display: block;
|
||||
position: relative;
|
||||
line-height: 24px;
|
||||
margin: 5px 0;
|
||||
padding-bottom: 10px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
13
_sass/float.scss
Normal file
13
_sass/float.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
@charset "utf-8";
|
||||
|
||||
.float-left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.float-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.float-center {
|
||||
text-align: center;
|
||||
}
|
||||
7
_sass/footer.scss
Normal file
7
_sass/footer.scss
Normal file
@@ -0,0 +1,7 @@
|
||||
@charset "utf-8";
|
||||
|
||||
.footer-text {
|
||||
display: block;
|
||||
position: relative;
|
||||
font-size: 14px;
|
||||
}
|
||||
12
_sass/header.scss
Normal file
12
_sass/header.scss
Normal file
@@ -0,0 +1,12 @@
|
||||
.header {
|
||||
padding-top: 35px
|
||||
}
|
||||
|
||||
.header nav {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.header nav a {
|
||||
padding-right: 3px;
|
||||
}
|
||||
11
_sass/mobile.scss
Normal file
11
_sass/mobile.scss
Normal file
@@ -0,0 +1,11 @@
|
||||
@media only screen and (max-width: 479px) {
|
||||
|
||||
// Hide clutter elements on mobile
|
||||
.mobile-hide{ display: none !important; }
|
||||
|
||||
// Don't split footer text
|
||||
.footer-text{ float: left !important;}
|
||||
|
||||
// Phone Friendly Margarine ;)
|
||||
html {margin: 1em !important;}
|
||||
}
|
||||
75
_sass/page.scss
Normal file
75
_sass/page.scss
Normal file
@@ -0,0 +1,75 @@
|
||||
/* Style inspiration and settings adapted from https://github.com/jgthms/web-design-in-4-minutes*/
|
||||
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500&display=swap');
|
||||
|
||||
/* Base */
|
||||
html {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
/* 01 Font family */
|
||||
|
||||
body {
|
||||
font-family: "IBM Plex Mono", "Courier New", monospace;
|
||||
}
|
||||
|
||||
/* 03 Spacing */
|
||||
|
||||
|
||||
.padded {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
div.main-content h2 {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
header h1, h5 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* 04 Color and contrast */
|
||||
|
||||
body {
|
||||
color: #F8FDDD;
|
||||
background-color: #3D2200;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
strong {
|
||||
color: #dcdede;
|
||||
}
|
||||
|
||||
header h5 {
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
/* 05 Balance */
|
||||
|
||||
code {
|
||||
padding: 2px 4px;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
/* 06 Primary color */
|
||||
|
||||
a {
|
||||
color: #ff851b;
|
||||
}
|
||||
|
||||
/* 07 Secondary colors */
|
||||
|
||||
h1,
|
||||
h2,
|
||||
strong {
|
||||
font-weight: 500;
|
||||
}
|
||||
20
_sass/post.scss
Normal file
20
_sass/post.scss
Normal file
@@ -0,0 +1,20 @@
|
||||
.post-info {
|
||||
padding-bottom: 30px;
|
||||
margin: 20px 0 5px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.post-content {
|
||||
line-height: 35px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.post-content h1, h3, code, pre {
|
||||
padding-bottom: 10px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.post-content h2 {
|
||||
padding-bottom: 20px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
17
_sass/posts.scss
Normal file
17
_sass/posts.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
.post-item {
|
||||
display: block;
|
||||
position: relative;
|
||||
line-height: 24px;
|
||||
padding-bottom: 5px;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.post-summary {
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.post-nav {
|
||||
padding-top: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
55
_sass/reset.scss
Normal file
55
_sass/reset.scss
Normal file
@@ -0,0 +1,55 @@
|
||||
/* https://www.joshwcomeau.com/css/custom-css-reset/ */
|
||||
|
||||
/*
|
||||
1. Use a more-intuitive box-sizing model.
|
||||
*/
|
||||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
/*
|
||||
2. Remove default margin
|
||||
*/
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
/*
|
||||
3. Allow percentage-based heights in the application
|
||||
*/
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
/*
|
||||
Typographic tweaks!
|
||||
4. Add accessible line-height
|
||||
5. Improve text rendering
|
||||
*/
|
||||
body {
|
||||
line-height: 1.5;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
/*
|
||||
6. Improve media defaults
|
||||
*/
|
||||
img, picture, video, canvas, svg {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
/*
|
||||
7. Remove built-in form typography styles
|
||||
*/
|
||||
input, button, textarea, select {
|
||||
font: inherit;
|
||||
}
|
||||
/*
|
||||
8. Avoid text overflows
|
||||
*/
|
||||
p, h1, h2, h3, h4, h5, h6 {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
/*
|
||||
9. Create a root stacking context
|
||||
*/
|
||||
#root, #__next {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
18
_sass/wrapper.scss
Normal file
18
_sass/wrapper.scss
Normal file
@@ -0,0 +1,18 @@
|
||||
@charset "utf-8";
|
||||
|
||||
.wrapper-main, .wrapper-header, .wrapper-footer {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
max-width: 900px;
|
||||
}
|
||||
|
||||
/* Sticky Footer */
|
||||
.wrapper {
|
||||
min-height: calc(100vh - 40px);
|
||||
}
|
||||
|
||||
.wrapper-footer {
|
||||
height: 40px
|
||||
}
|
||||
/* End Sticky Footer */
|
||||
|
||||
Reference in New Issue
Block a user