239 lines
4.1 KiB
CSS
239 lines
4.1 KiB
CSS
/*
|
|
* -- BASE STYLES --
|
|
* Most of these are inherited from Base, but I want to change a few.
|
|
*/
|
|
body, html {
|
|
background-color: #FFF;
|
|
}
|
|
s {
|
|
text-decoration-color:rgba(0, 255, 0, 0.5)
|
|
}
|
|
|
|
@media screen and (max-width: 1366px) {
|
|
header {
|
|
all: unset !important;
|
|
z-index: 1 !important;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
.home-menu {
|
|
height: min-content !important;
|
|
}
|
|
.sidebar {
|
|
all: unset;
|
|
background-color: #221E22;
|
|
|
|
display: block;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: min-content !important;
|
|
margin-bottom: 1rem;
|
|
-webkit-box-shadow: 2px 5px 16px 0px rgba(34, 30, 34, 0.4), 17px 26px 15px 0px rgba(0,0,0,0) !important;
|
|
box-shadow: 2px 5px 16px 0px rgba(34, 30, 34, 0.4), 17px 26px 15px 0px rgba(0,0,0,0) !important;
|
|
}
|
|
.content-wrapper,
|
|
#template-wrapper {
|
|
max-width: 100% !important;
|
|
width: 100% !important;
|
|
margin-left: unset !important;
|
|
padding: 0 1rem 0 1rem !important;
|
|
}
|
|
|
|
.template-unit img {
|
|
max-width:100% !important;
|
|
}
|
|
|
|
.footer {
|
|
margin-left: unset !important;
|
|
margin-top: 2rem !important;
|
|
}
|
|
|
|
}
|
|
@media screen and (min-width: 600px) {
|
|
|
|
s {
|
|
position: relative;
|
|
text-decoration: none;
|
|
}
|
|
s::after {
|
|
content: "";
|
|
line-height: 1em;
|
|
margin-top: calc(0.125em / 2 * -1);
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
bottom: 0;
|
|
left: 0;
|
|
border-top: 0.125em solid rgba(0, 255, 0, 0.5);
|
|
height: calc(50% - 1px);
|
|
width: 100%;
|
|
transform: rotateZ(-1deg);
|
|
}
|
|
}
|
|
|
|
body, html {
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.4em;
|
|
height: 100vh;
|
|
}
|
|
#title{display:none;}
|
|
|
|
/*
|
|
* -- HEADER --
|
|
*/
|
|
header {
|
|
/* maximum z-index found */
|
|
all: unset;
|
|
box-sizing: border-box;
|
|
position: fixed;
|
|
|
|
background-color: #221E22;
|
|
|
|
width: 12vw;
|
|
height: 100vh;
|
|
|
|
top: 0;
|
|
left: 12vw;
|
|
|
|
-webkit-box-shadow: 2px 5px 16px 0px rgba(34, 30, 34, 0.4), 17px 26px 15px 0px rgba(0,0,0,0);
|
|
box-shadow: 2px 5px 16px 0px rgba(34, 30, 34, 0.4), 17px 26px 15px 0px rgba(0,0,0,0);
|
|
}
|
|
header * {
|
|
margin: 0;
|
|
}
|
|
|
|
header ul li {
|
|
all: unset;
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-decoration: none;
|
|
}
|
|
header ul li a {
|
|
margin: 0;
|
|
}
|
|
|
|
.home-menu {
|
|
font-size: 1.4rem;
|
|
font-weight: bold;
|
|
|
|
max-height: 3rem;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
background: #a22430;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.menu-heading {
|
|
font-size: inherit;
|
|
display: flex;
|
|
align-items: center;
|
|
color: #F6F4F6;
|
|
}
|
|
.menu-heading img {
|
|
height: 1em;
|
|
margin-right: 4px;
|
|
}
|
|
.menu-link {
|
|
line-height: 2.5rem;
|
|
color: #F6F4F6;
|
|
}
|
|
.menu-link:hover, .menu-link:focus {
|
|
color: #C8BCC8;
|
|
transition: 500ms ease-in-out;
|
|
}
|
|
|
|
.menu-selected, .menu-selected>a {
|
|
text-decoration-line: underline !important;
|
|
color: #fff;
|
|
font-weight:bolder
|
|
}
|
|
|
|
.sidebar {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.content-wrapper,
|
|
#template-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: 44vw;
|
|
padding: 1rem;
|
|
}
|
|
#template-wrapper:first-of-type {
|
|
padding-top: 1rem;
|
|
}
|
|
#template-wrapper:last-of-type {
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.template-unit {
|
|
padding-top: 1rem;
|
|
border-top: 2px solid #221E2233;
|
|
}
|
|
.template-unit h3 {
|
|
margin-top: 0 !important;
|
|
}
|
|
.template-unit:nth-of-type(n + 2) {
|
|
margin-top: 2rem !important;
|
|
}
|
|
.template-unit ul :last-child {
|
|
margin-bottom: unset;
|
|
}
|
|
.template-unit ul + p {
|
|
margin-top: 1rem;
|
|
}
|
|
.template-unit img {
|
|
display: block;
|
|
max-width:800px;
|
|
max-height: 400px;
|
|
width: auto;
|
|
height: auto;
|
|
margin-top: 5px;
|
|
}
|
|
.allposts_header + ul :last-child {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
ul li {
|
|
margin: 1rem;
|
|
margin-left: 2rem;
|
|
}
|
|
.subtitle {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
pre, blockquote {
|
|
color: #666666;
|
|
margin: 0;
|
|
padding-left: 3em;
|
|
border-left: 0.5em #EEE solid;
|
|
}
|
|
pre {
|
|
font-family: monospace;
|
|
margin-bottom: 1rem;
|
|
white-space: pre;
|
|
overflow-x: scroll;
|
|
}
|
|
.footer {
|
|
margin-left: 24vw;
|
|
margin-right: auto;
|
|
margin-top: auto;
|
|
padding: 1rem;
|
|
background-color: #333333;
|
|
color: #e9eaed;
|
|
}
|
|
|
|
.footer a {
|
|
font-family: 'open_sansbold';
|
|
font-weight: bold;
|
|
color: #e9eaed;
|
|
}
|