|
|
|
@ -1,23 +1,34 @@
|
|
|
|
|
html{
|
|
|
|
|
--color-primary: white;
|
|
|
|
|
--color-secondary: black;
|
|
|
|
|
--color-accent:#09448c;
|
|
|
|
|
--accent-alternate:#ffd336;
|
|
|
|
|
--font-family:sans-serif;
|
|
|
|
|
--font-size:18px;
|
|
|
|
|
--font-alternate:code;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
--theme-color-primary: rgb(255, 255, 255);
|
|
|
|
|
--theme-color-secondary: black;
|
|
|
|
|
--theme-accent: #09448c;
|
|
|
|
|
color: var(--theme-color-secondary);
|
|
|
|
|
background-color: var(--theme-color-primary);
|
|
|
|
|
--color-primary: rgb(255, 255, 255);
|
|
|
|
|
--color-secondary: black;
|
|
|
|
|
--color-accent: #09448c;
|
|
|
|
|
color: var(--color-secondary);
|
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
|
margin: 0;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-size: var(--font-size);
|
|
|
|
|
overflow-x:hidden;
|
|
|
|
|
display:flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (prefers-color-scheme:dark) {
|
|
|
|
|
body {
|
|
|
|
|
--theme-color-primary: rgb(0, 0, 0);
|
|
|
|
|
--theme-color-secondary: white;
|
|
|
|
|
--theme-accent: #1291e5;
|
|
|
|
|
--color-primary: rgb(0, 0, 0);
|
|
|
|
|
--color-secondary: white;
|
|
|
|
|
--color-accent: #1291e5;
|
|
|
|
|
--accent-alternate:#51320d;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -25,31 +36,63 @@ header,
|
|
|
|
|
footer {
|
|
|
|
|
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
min-width: min-content;
|
|
|
|
|
width: 20vw;
|
|
|
|
|
width:100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
padding: 15px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
main {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 60vw;
|
|
|
|
|
max-width: 60vw;
|
|
|
|
|
padding-left: 1rem;
|
|
|
|
|
padding-right: 1rem;
|
|
|
|
|
display:grid;
|
|
|
|
|
grid-template-areas:
|
|
|
|
|
"header header header"
|
|
|
|
|
"side1 content side2"
|
|
|
|
|
"footer footer footer";
|
|
|
|
|
grid-template-columns: 1fr 3fr 1fr;
|
|
|
|
|
grid-template-rows: 20% 60% 20%;
|
|
|
|
|
max-width:100vw;
|
|
|
|
|
justify-items: center;
|
|
|
|
|
gap:20px;
|
|
|
|
|
}
|
|
|
|
|
header{
|
|
|
|
|
grid-area: header;
|
|
|
|
|
}
|
|
|
|
|
#content {
|
|
|
|
|
grid-area: content;
|
|
|
|
|
}
|
|
|
|
|
#side1{grid-area: side1;}
|
|
|
|
|
#side2{grid-area: side2;}
|
|
|
|
|
footer{grid-area: footer;}
|
|
|
|
|
@media screen and (orientation:portrait) {
|
|
|
|
|
main {
|
|
|
|
|
display:grid;
|
|
|
|
|
grid-template-areas:
|
|
|
|
|
"header"
|
|
|
|
|
"content"
|
|
|
|
|
"side1"
|
|
|
|
|
"side2"
|
|
|
|
|
"footer";
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
grid-template-rows: auto;
|
|
|
|
|
}
|
|
|
|
|
header{
|
|
|
|
|
grid-area: header;
|
|
|
|
|
}
|
|
|
|
|
#content {
|
|
|
|
|
grid-area: content;
|
|
|
|
|
}
|
|
|
|
|
#side1{grid-area: side1;}
|
|
|
|
|
#side2{grid-area: side2;}
|
|
|
|
|
footer{grid-area: footer;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nav {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
@ -70,15 +113,12 @@ nav a {
|
|
|
|
|
}
|
|
|
|
|
header,
|
|
|
|
|
footer {
|
|
|
|
|
width: 100vw;
|
|
|
|
|
max-width: unset;
|
|
|
|
|
min-height: unset;
|
|
|
|
|
margin: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
}
|
|
|
|
|
nav {
|
|
|
|
@ -97,14 +137,14 @@ nav a {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
stroke: var(--theme-accent);
|
|
|
|
|
fill: var(--theme-accent);
|
|
|
|
|
stroke: var(--color-accent);
|
|
|
|
|
fill: var(--color-accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a,
|
|
|
|
|
a:visited,
|
|
|
|
|
a:hover {
|
|
|
|
|
color: var(--theme-accent);
|
|
|
|
|
color: var(--color-accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
img,
|
|
|
|
@ -188,7 +228,7 @@ iframe {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tag-link:hover {
|
|
|
|
|
color: var(--theme-color-secondary)
|
|
|
|
|
color: var(--color-secondary)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
@ -209,8 +249,10 @@ article {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 60rem;
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
padding-left:1rem;
|
|
|
|
|
padding-right:1rem;
|
|
|
|
|
max-width: 60rem;
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
|
|
|
|
}
|
|
|
|
@ -224,8 +266,7 @@ article table,
|
|
|
|
|
article ul,
|
|
|
|
|
article ol,
|
|
|
|
|
article h3,
|
|
|
|
|
article h4,
|
|
|
|
|
article h2 {
|
|
|
|
|
article h4 {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
@ -267,7 +308,8 @@ article .highlight pre {
|
|
|
|
|
padding: 25px;
|
|
|
|
|
border-radius: 25px;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
width:100%;
|
|
|
|
|
width:32rem;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.post>* {}
|
|
|
|
@ -311,7 +353,7 @@ h3 {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
hr {
|
|
|
|
|
color: var(--theme-accent);
|
|
|
|
|
color: var(--color-accent);
|
|
|
|
|
width: 100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
@ -320,14 +362,14 @@ hr {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
|
border-left: 5px solid var(--theme-accent);
|
|
|
|
|
border-left: 5px solid var(--color-accent);
|
|
|
|
|
padding-left: 15px;
|
|
|
|
|
width: 80%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
code {
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
color: var(--theme-accent);
|
|
|
|
|
color: var(--color-accent);
|
|
|
|
|
white-space: break-spaces;
|
|
|
|
|
word-wrap: normal;
|
|
|
|
|
}
|
|
|
|
@ -345,7 +387,7 @@ button {
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
font-weight: bolder;
|
|
|
|
|
font-size: unset;
|
|
|
|
|
background-color: var(--theme-accent);
|
|
|
|
|
color: var(--theme-color-secondary);
|
|
|
|
|
border-color: var(--theme-accent);
|
|
|
|
|
background-color: var(--color-accent);
|
|
|
|
|
color: var(--color-secondary);
|
|
|
|
|
border-color: var(--color-accent);
|
|
|
|
|
}
|