2023-02-24 16:47:41 +10:30
|
|
|
/* // Bootstrap overrides
|
|
|
|
// @import './base/bootstrap_overrides';
|
|
|
|
|
|
|
|
// Bootstrap
|
|
|
|
// @import './vendor/bootstrap'; */
|
|
|
|
|
2023-03-02 16:22:41 +10:30
|
|
|
/* @import './normalize.css'; */
|
2023-02-28 18:39:40 +10:30
|
|
|
|
|
|
|
/* / */
|
|
|
|
|
2023-02-24 16:47:41 +10:30
|
|
|
/* Global variables. */
|
|
|
|
:root {
|
|
|
|
/* Set sans-serif & mono fonts */
|
|
|
|
--sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
|
|
|
|
"Nimbus Sans L", Roboto, Noto, "Segoe UI", Arial, Helvetica,
|
|
|
|
"Helvetica Neue", sans-serif;
|
|
|
|
--mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
2023-03-23 12:39:28 +10:30
|
|
|
|
2023-02-28 18:39:40 +10:30
|
|
|
--bg: #6a826a;
|
|
|
|
--container: #fffbef;
|
|
|
|
--accent-bg: #b99b6c;
|
|
|
|
--text: #6a826a;
|
|
|
|
--header-text: #b99b6c;
|
|
|
|
/* --text-light: #585858; */
|
|
|
|
--border: #6a826a;
|
|
|
|
--accent: #aa5757;
|
2023-02-28 21:25:22 +10:30
|
|
|
--content-column-width: 750px;
|
|
|
|
/* this width was 200 but i stretched it out to fit the gif */
|
|
|
|
--sidebar-column-width: 287px;
|
|
|
|
--line-padding: 8px;
|
2023-02-24 16:47:41 +10:30
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
/* Set the font globally */
|
|
|
|
font-family: var(--sans-font);
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
2023-02-28 18:39:40 +10:30
|
|
|
|
|
|
|
/* Format headers */
|
|
|
|
|
|
|
|
h1 {
|
2023-02-28 21:25:22 +10:30
|
|
|
font-size: 1.8rem;
|
|
|
|
margin-top: 15px;
|
|
|
|
margin-bottom: 15px;
|
2023-02-28 18:39:40 +10:30
|
|
|
color: var(--header-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2023-02-28 21:25:22 +10:30
|
|
|
font-size: 1.5rem;
|
|
|
|
margin-top: var(--line-padding);
|
|
|
|
margin-bottom: var(--line-padding);
|
2023-02-28 18:39:40 +10:30
|
|
|
color: var(--header-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2023-02-28 21:25:22 +10:30
|
|
|
font-size: 1.2rem;
|
2023-02-28 18:39:40 +10:30
|
|
|
color: var(--header-text);
|
2023-03-28 15:37:11 +10:30
|
|
|
margin-top: var(--line-padding);
|
|
|
|
margin-bottom: var(--line-padding);
|
2023-02-28 18:39:40 +10:30
|
|
|
}
|
|
|
|
|
|
|
|
/* Format links */
|
|
|
|
a,
|
|
|
|
a:visited {
|
|
|
|
color: var(--accent);
|
2023-02-28 21:25:22 +10:30
|
|
|
display: inline-block;
|
|
|
|
transition: transform .07s ease-out;
|
2023-02-28 18:39:40 +10:30
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: none;
|
2023-03-23 12:39:28 +10:30
|
|
|
transform: translate(0px, -2px);
|
2023-02-28 21:25:22 +10:30
|
|
|
}
|
|
|
|
|
2023-02-28 18:39:40 +10:30
|
|
|
hr {
|
2023-03-01 00:17:17 +10:30
|
|
|
border-top: 2px solid var(--border);
|
2023-02-28 18:39:40 +10:30
|
|
|
}
|
|
|
|
|
2023-02-24 16:47:41 +10:30
|
|
|
body {
|
|
|
|
color: var(--text);
|
|
|
|
background: var(--bg);
|
2023-02-28 21:38:31 +10:30
|
|
|
/* background-size: cover;
|
|
|
|
background-attachment: fixed; */
|
2023-02-28 18:39:40 +10:30
|
|
|
line-height: 1.3;
|
2023-02-24 16:47:41 +10:30
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2023-02-28 18:39:40 +10:30
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 20px;
|
2023-02-28 21:25:22 +10:30
|
|
|
min-height: 100vh;
|
2023-02-28 18:39:40 +10:30
|
|
|
/* align-items: flex-start; */
|
2023-02-28 21:25:22 +10:30
|
|
|
/* background-image: url("/img/l_ash02_big.jpg"); */
|
|
|
|
/* font-size: 1.15rem; */
|
|
|
|
/* height: 100vh; */
|
|
|
|
/* margin: 20px; */
|
|
|
|
/* padding: 0 1em; */
|
2023-02-24 16:47:41 +10:30
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2023-02-28 21:25:22 +10:30
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2023-02-28 18:39:40 +10:30
|
|
|
background: var(--container);
|
2023-02-28 21:25:22 +10:30
|
|
|
width: var(--content-column-width);
|
2023-02-28 18:39:40 +10:30
|
|
|
padding: 15px;
|
2023-02-28 21:25:22 +10:30
|
|
|
min-height: max-content;
|
2023-02-28 18:39:40 +10:30
|
|
|
box-sizing: border-box;
|
2023-02-28 21:25:22 +10:30
|
|
|
/* // margin: 0 auto; */
|
|
|
|
/* border: 2px solid var(--border); */
|
|
|
|
/* border-radius: 15px; */
|
2023-02-28 18:39:40 +10:30
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
|
|
|
position: sticky;
|
|
|
|
height: min-content;
|
|
|
|
top: 20px;
|
2023-02-28 21:25:22 +10:30
|
|
|
width: var(--sidebar-column-width);
|
2023-02-28 18:39:40 +10:30
|
|
|
margin-top: 30px;
|
2023-02-28 21:25:22 +10:30
|
|
|
display: flex;
|
2023-02-28 18:39:40 +10:30
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
/* border: 2px solid var(--border); */
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-img {
|
|
|
|
width: 100px;
|
2023-03-02 17:03:13 +10:30
|
|
|
height: 100px;
|
2023-02-28 21:25:22 +10:30
|
|
|
border-radius: 60px;
|
|
|
|
border: 5px solid var(--border);
|
2023-03-05 14:13:25 +10:30
|
|
|
background-color: var(--border);
|
2023-02-28 18:39:40 +10:30
|
|
|
/* top: -70px; */
|
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
2023-03-05 14:13:25 +10:30
|
|
|
color: var(--container)
|
2023-02-28 18:39:40 +10:30
|
|
|
}
|
|
|
|
|
2023-02-28 21:25:22 +10:30
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2023-02-28 18:39:40 +10:30
|
|
|
.sidebar-contents {
|
|
|
|
padding: 65px 15px 15px 15px;
|
|
|
|
border-radius: 15px;
|
|
|
|
background: var(--container);
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: min-content;
|
|
|
|
width: 100%;
|
|
|
|
top: -50px;
|
|
|
|
position: relative;
|
2023-03-01 00:27:04 +10:30
|
|
|
z-index: -1;
|
2023-02-24 16:47:41 +10:30
|
|
|
}
|
|
|
|
|
2023-03-04 02:32:00 +10:30
|
|
|
|
|
|
|
.link_tiles_grid {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link_tiles_grid>a,
|
|
|
|
.link_tiles_grid>a>img {
|
|
|
|
width: 230px;
|
|
|
|
}
|
|
|
|
|
2023-03-05 14:13:25 +10:30
|
|
|
.link_tiles_grid>a>img {
|
|
|
|
background-color: var(--border);
|
|
|
|
height: 230px;
|
|
|
|
color: var(--container)
|
|
|
|
}
|
|
|
|
|
2023-02-28 18:39:40 +10:30
|
|
|
@media all and (max-width: 1100px) {
|
|
|
|
body {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
max-width: 100%;
|
2023-02-28 21:25:22 +10:30
|
|
|
justify-content: start;
|
2023-02-28 18:39:40 +10:30
|
|
|
/* this is a pretty bad solution */
|
|
|
|
margin: -20px 20px 20px;
|
2023-02-28 21:25:22 +10:30
|
|
|
gap: 0;
|
|
|
|
align-items: center;
|
2023-02-28 18:39:40 +10:30
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
max-width: 100%;
|
2023-02-28 21:25:22 +10:30
|
|
|
flex-grow: 1;
|
|
|
|
margin-bottom: -20px;
|
2023-02-28 18:39:40 +10:30
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
|
|
|
position: relative;
|
2023-02-28 21:25:22 +10:30
|
|
|
width: 100%;
|
|
|
|
max-width: var(--content-column-width);
|
|
|
|
margin-top: 0;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
2023-03-23 12:39:28 +10:30
|
|
|
|
2023-02-28 21:25:22 +10:30
|
|
|
.sidebar-contents {
|
|
|
|
border-radius: 0;
|
|
|
|
width: 100%;
|
2023-03-01 00:48:09 +10:30
|
|
|
z-index: 0;
|
2023-02-28 21:25:22 +10:30
|
|
|
}
|
|
|
|
|
2023-03-23 12:39:28 +10:30
|
|
|
.sidebar-contents>img {
|
2023-02-28 21:25:22 +10:30
|
|
|
display: none;
|
2023-02-28 18:39:40 +10:30
|
|
|
}
|
|
|
|
|
2023-02-28 21:25:22 +10:30
|
|
|
nav {
|
2023-02-28 18:39:40 +10:30
|
|
|
flex-direction: row;
|
2023-02-28 21:25:22 +10:30
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0rem 1rem;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2023-02-28 18:39:40 +10:30
|
|
|
|
|
|
|
.sidebar-contents {
|
|
|
|
/* padding: 15px; */
|
|
|
|
margin: 0 0 -25px 0;
|
|
|
|
/* width: min-content; */
|
|
|
|
}
|
|
|
|
|
2023-03-04 02:09:08 +10:30
|
|
|
aside>a:hover {
|
2023-02-28 21:25:22 +10:30
|
|
|
transform: none;
|
2023-02-28 21:43:49 +10:30
|
|
|
}
|
2023-03-04 02:32:00 +10:30
|
|
|
|
2023-03-29 12:43:55 +10:30
|
|
|
/* the commented out calcs work in firefox and mobile, but not in chromium */
|
2023-03-04 02:32:00 +10:30
|
|
|
.link_tiles_grid>a,
|
|
|
|
.link_tiles_grid>a>img {
|
|
|
|
max-width: 230px;
|
2023-03-29 12:43:55 +10:30
|
|
|
width: calc((100vw - 117px)/3);
|
|
|
|
/* width: calc((100vw - 100px)/3); */
|
2023-03-04 02:32:00 +10:30
|
|
|
}
|
|
|
|
|
2023-03-05 14:13:25 +10:30
|
|
|
.link_tiles_grid>a>img {
|
|
|
|
max-height: 230px;
|
2023-03-29 12:43:55 +10:30
|
|
|
height: calc((100vw - 117px)/3);
|
|
|
|
/* height: calc((100vw - 100px)/3); */
|
2023-03-05 14:13:25 +10:30
|
|
|
}
|
|
|
|
|
2023-03-04 02:32:00 +10:30
|
|
|
/* switch to two tiles when it gets really small */
|
2023-03-23 12:39:28 +10:30
|
|
|
@media all and (max-width: 545px) {
|
|
|
|
|
|
|
|
.link_tiles_grid>a,
|
|
|
|
.link_tiles_grid>a>img {
|
2023-03-29 12:43:55 +10:30
|
|
|
width: calc((100vw - 102px)/2);
|
|
|
|
/* width: calc((100vw - 85px)/2); */
|
2023-03-04 02:32:00 +10:30
|
|
|
}
|
2023-03-23 12:39:28 +10:30
|
|
|
|
|
|
|
.link_tiles_grid>a>img {
|
2023-03-29 12:43:55 +10:30
|
|
|
height: calc((100vw - 117px)/2);
|
|
|
|
/* height: calc((100vw - 100px)/2); */
|
2023-03-23 12:39:28 +10:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content {
|
|
|
|
/* TODO fix this magic number */
|
|
|
|
min-height: calc(100vh - 95px);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-tag {
|
|
|
|
font-size: smaller;
|
2023-02-28 18:39:40 +10:30
|
|
|
}
|
|
|
|
|
|
|
|
article>p {
|
|
|
|
margin-top: 0;
|
2023-02-28 23:10:44 +10:30
|
|
|
}
|
|
|
|
|
2023-03-01 02:42:31 +10:30
|
|
|
details {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
2023-03-01 02:28:25 +10:30
|
|
|
.blog-post img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-03-23 12:39:28 +10:30
|
|
|
.pages-article>p {
|
2023-02-28 23:10:44 +10:30
|
|
|
margin-top: 0;
|
2023-02-28 18:39:40 +10:30
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:25:22 +10:30
|
|
|
article>iframe {
|
|
|
|
padding-top: var(--line-padding);
|
|
|
|
padding-bottom: var(--line-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
header>h1 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-02-28 23:10:44 +10:30
|
|
|
footer {
|
|
|
|
margin-top: 25px;
|
|
|
|
}
|
|
|
|
|
2023-03-03 21:28:59 +10:30
|
|
|
|
2023-03-04 02:09:08 +10:30
|
|
|
.nav-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2023-03-23 12:39:28 +10:30
|
|
|
}
|
|
|
|
|
|
|
|
.nav-buttons-bottom {
|
|
|
|
justify-self: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bouncy {
|
|
|
|
animation: bounce 1s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes bounce {
|
|
|
|
0%, 100% {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: translateY(-5px);
|
|
|
|
}
|
|
|
|
75% {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateY(0);
|
|
|
|
animation-delay: 3s; /* add a 3 second delay before restarting the animation */
|
|
|
|
}
|
2023-03-04 02:09:08 +10:30
|
|
|
}
|
|
|
|
|
2023-03-28 15:37:11 +10:30
|
|
|
.updates-field {
|
|
|
|
border: 2px solid var(--bg);
|
|
|
|
padding: 5px;
|
|
|
|
margin-top: var(--line-padding);
|
|
|
|
margin-bottom: var(--line-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.updates-field p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-02-28 18:39:40 +10:30
|
|
|
/* body > footer {
|
|
|
|
margin-top: 4rem;
|
|
|
|
padding: 2rem 1rem 1.5rem 1rem;
|
|
|
|
color: var(--text-light);
|
|
|
|
font-size: 0.9rem;
|
|
|
|
text-align: center;
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
} */
|
|
|
|
|
2023-02-24 16:47:41 +10:30
|
|
|
/* // body > header {
|
|
|
|
// text-align: center;
|
|
|
|
// padding: 0 0.5rem 2rem 0.5rem;
|
|
|
|
// box-sizing: border-box;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// body > header h1 {
|
|
|
|
// max-width: 100%;
|
|
|
|
// margin: 1rem auto;
|
|
|
|
// } */
|
|
|
|
|
|
|
|
/* Format navigation */
|
|
|
|
/* // nav {
|
|
|
|
// border-bottom: 1px solid var(--border);
|
|
|
|
// font-size: 1rem;
|
|
|
|
// line-height: 2;
|
|
|
|
// padding: 1rem 0;
|
|
|
|
// display: flex;
|
|
|
|
// justify-content: center;
|
|
|
|
// align-items: center;
|
|
|
|
// width: 100%;
|
|
|
|
// padding-bottom: 2rem;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// nav a {
|
|
|
|
// margin: 1rem 1rem 0 0;
|
|
|
|
// color: var(--text) !important;
|
|
|
|
// padding: 0.1rem 1rem;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// nav a:hover {
|
|
|
|
// color: var(--accent) !important;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// nav a:last-child {
|
|
|
|
// margin-right: 0;
|
|
|
|
// } */
|
|
|
|
|
|
|
|
/* Reduce nav side on mobile */
|
|
|
|
/* // @media only screen and (max-width: 750px) {
|
|
|
|
// nav a {
|
|
|
|
// border: none;
|
|
|
|
// padding: 0;
|
|
|
|
// color: var(--accent);
|
|
|
|
// text-decoration: underline;
|
|
|
|
// line-height: 1;
|
|
|
|
// }
|
|
|
|
// } */
|
|
|
|
|
|
|
|
/* Add a little padding to ensure spacing is correct between content and nav */
|
|
|
|
/* // main {
|
|
|
|
// padding-top: 1.5rem;
|
|
|
|
// } */
|
|
|
|
|
|
|
|
/* Reduce header size on mobile */
|
|
|
|
/* // @media only screen and (max-width: 720px) {
|
|
|
|
// h1 {
|
|
|
|
// font-size: 2.5rem;
|
|
|
|
// }
|
|
|
|
|
|
|
|
// h2 {
|
|
|
|
// font-size: 2.1rem;
|
|
|
|
// }
|
2023-03-23 12:39:28 +10:30
|
|
|
// } */
|