463 lines
7.5 KiB
CSS
463 lines
7.5 KiB
CSS
:root {
|
|
--background-color: darkslategrey;
|
|
--text-color: gainsboro;
|
|
--link-color: chartreuse;
|
|
--link-visited-color: lightskyblue;
|
|
--box-color: #424242cc;
|
|
--border-radius: 10px;
|
|
}
|
|
|
|
body {
|
|
color: var(--text-color);
|
|
font-size: 12pt;
|
|
font-family: 'Courier Prime';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
margin: 0;
|
|
display: grid;
|
|
grid-template-columns: [leftcol] 1fr [maincol] auto [rightcol] 1fr;
|
|
grid-template-rows: [headerrow] 1fr [mainrow] auto [plugrow] 0.6fr [extrasrow] 0.6fr;
|
|
grid-template-areas:
|
|
"inlinks logo outlinks"
|
|
"main main main"
|
|
"plugs plugs plugs"
|
|
"extras extras extras";
|
|
justify-content: stretch;
|
|
align-content: stretch;
|
|
min-height: 100vh;
|
|
background-color: var(--background-color);
|
|
box-shadow: inset 0 0 25vh #000000;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body::after {
|
|
content: "";
|
|
opacity: 0.25;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background-image: url(/images/brain.svg);
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-attachment: fixed;
|
|
background-origin: padding-box;
|
|
background-clip: content-box;
|
|
background-position: center;
|
|
z-index: -2;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
a:link {
|
|
color: var(--link-color);
|
|
}
|
|
a:visited {
|
|
color: var(--link-visited-color);
|
|
}
|
|
|
|
img, video {
|
|
padding: 10px;
|
|
width: 66%;
|
|
max-width: 500px;
|
|
}
|
|
|
|
hr {
|
|
color: var(--link-color);
|
|
border: 0;
|
|
background-color: var(--link-color);
|
|
height: 3px;
|
|
margin: 20px 10% 20px;
|
|
}
|
|
|
|
header {
|
|
padding: 20px;
|
|
}
|
|
|
|
header a {
|
|
color: var(--link-color);
|
|
font-size: 18pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
header a:visited {
|
|
color: var(--link-color);
|
|
}
|
|
|
|
article {
|
|
text-align: left;
|
|
padding: 0 20px 5px;
|
|
margin: 0 auto 0;
|
|
overflow: auto;
|
|
grid-area: main;
|
|
max-width: 80em;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
article hr {
|
|
margin-top: 100px;
|
|
}
|
|
|
|
article a:hover, .extras a:hover{
|
|
text-decoration: underline;
|
|
}
|
|
|
|
article ul{
|
|
list-style: none;
|
|
margin: 0;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
article li::before {
|
|
display: inline-block;
|
|
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMzYzIDg3N2wtNzQyIDc0MnEtMTkgMTktNDUgMTl0LTQ1LTE5bC0xNjYtMTY2cS0xOS0xOS0xOS00NXQxOS00NWw1MzEtNTMxLTUzMS01MzFxLTE5LTE5LTE5LTQ1dDE5LTQ1bDE2Ni0xNjZxMTktMTkgNDUtMTl0NDUgMTlsNzQyIDc0MnExOSAxOSAxOSA0NXQtMTkgNDV6Ii8+PC9zdmc+);
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
content: "";
|
|
width: 1.5ex;
|
|
height: 1.5ex;
|
|
}
|
|
|
|
article li {
|
|
text-indent: -2ex;
|
|
}
|
|
|
|
article p, article ul, .tags, .info {
|
|
background-color: var(--box-color);
|
|
}
|
|
|
|
.tags, .info {
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
article p:first-of-type, article ul:first-of-type {
|
|
border-top-left-radius: var(--border-radius);
|
|
border-top-right-radius: var(--border-radius);
|
|
}
|
|
|
|
article p:last-of-type, article ul:last-of-type {
|
|
border-bottom-left-radius: var(--border-radius);
|
|
border-bottom-right-radius: var(--border-radius);
|
|
}
|
|
|
|
.liberapay {
|
|
height: 45px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.inlinks {
|
|
grid-area: inlinks;
|
|
}
|
|
|
|
.inlinks ul {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.logo {
|
|
grid-area: logo;
|
|
text-align: center;
|
|
display: inline-block;
|
|
}
|
|
|
|
.outlinks {
|
|
grid-area: outlinks;
|
|
}
|
|
|
|
.outlinks ul {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.plugs {
|
|
grid-area: plugs;
|
|
}
|
|
|
|
.extras {
|
|
grid-area: extras;
|
|
}
|
|
|
|
.inlinks, .outlinks, .tags, .plugs, .extras {
|
|
padding: 20px 20px 20px 20px;
|
|
line-height: 100%;
|
|
}
|
|
|
|
.logo img {
|
|
width: 200px;
|
|
}
|
|
|
|
.tags p, .plugs p, article p {
|
|
text-align: left;
|
|
margin: 0;
|
|
}
|
|
|
|
.inlinks ul, .outlinks ul, .plugs ul, .extras ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: inline-block;
|
|
height: 100%;
|
|
}
|
|
|
|
.inlinks li a:link, .outlinks li a:link {
|
|
color: var(--link-color);
|
|
font-size: 16pt;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.inlinks li a:visited, .outlinks li a:visited {
|
|
color: var(--link-color);
|
|
}
|
|
|
|
.inlinks ul, .outlinks ul, .plugs, .extras, .plugs ul, .extras ul {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.inlinks li, .outlinks li {
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
|
|
.plugs li a {
|
|
display: inline-block;
|
|
}
|
|
|
|
.plugs img {
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: var(--text-color);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.plugs, .extras {
|
|
padding: 0 40px 0;
|
|
margin: 0;
|
|
padding : 20px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
|
|
.plugs, .extras, .plugs ul, .extras ul {
|
|
list-style: none;
|
|
justify-content: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.plugs li, .extras li {
|
|
display: inline-block;
|
|
margin: 0 20px 0;
|
|
}
|
|
|
|
.extras a {
|
|
display: inline-block;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
padding: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.extras a:link, .extras a:visited {
|
|
color: var(--text-color);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.plug-container, .extras-container {
|
|
display: inline-block;
|
|
height: 85px;
|
|
padding: 20px;
|
|
width: 25%;
|
|
background-color: var(--box-color);
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
pre {
|
|
border: dashed 1px #000000;
|
|
border-radius: (--border-radius);
|
|
background-color: #000000aa;
|
|
padding: 10px;
|
|
}
|
|
|
|
pre code {
|
|
border: none;
|
|
font-size: 14pt;
|
|
background: transparent;
|
|
background-color: transparent;
|
|
}
|
|
|
|
pre code::before {
|
|
content: attr(class);
|
|
position: relative;
|
|
float: right;
|
|
display: block;
|
|
color: white;
|
|
font-weight: bolder;
|
|
text-shadow: 0px 0px 3px black;
|
|
}
|
|
|
|
code {
|
|
font-size: 14pt;
|
|
background-color: #000000aa;
|
|
border: dashed 1px #000000;
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
h1 {
|
|
font-size: 42pt;
|
|
font-family: 'Tippa';
|
|
}
|
|
|
|
h2 {
|
|
font-size: 20pt;
|
|
font-family: 'Tippa';
|
|
}
|
|
|
|
h3, h4, h5 {
|
|
font-family: 'Tippa';
|
|
}
|
|
|
|
.pagination {
|
|
display: inline-block;
|
|
width: 100%;
|
|
margin: 3em 0 3em;
|
|
}
|
|
|
|
.left, .right {
|
|
float: left;
|
|
padding-left: 25%;
|
|
display: inline-block;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.left svg, .right svg {
|
|
padding-bottom: -3px;
|
|
padding-left: 0.8ex;
|
|
padding-right: 0.8ex;
|
|
}
|
|
|
|
.info {
|
|
font-size: 14pt;
|
|
font-style: italic;
|
|
margin: 20px 0 20px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.tags a {
|
|
display: inline-block;
|
|
padding: 1ex;
|
|
margin: 1ex;
|
|
background-color: black;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.feed a {
|
|
display: inline-block;
|
|
}
|
|
|
|
.scripture {
|
|
/* change font */
|
|
font-family: 'Inknut Antiqua';
|
|
color: black;
|
|
font-size: 12pt;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
/* box shadow */
|
|
box-shadow: 5px 5px 10px var(--box-color);
|
|
/* bg-colour */
|
|
background-color: blanchedalmond;
|
|
/* adjust line height */
|
|
line-height: 200%;
|
|
/* margin */
|
|
margin: 30px;
|
|
/* padding */
|
|
padding: 50px;
|
|
}
|
|
|
|
.scripture p {
|
|
padding-top: 25px;
|
|
background-color: transparent;
|
|
}
|
|
|
|
p {
|
|
padding: 1em;
|
|
}
|
|
|
|
.with-initial > p:first-child::first-letter {
|
|
font-family: 'Maximilian Antiqua Initialen';
|
|
color: black;
|
|
font-size: 65pt;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
float: left;
|
|
padding-top: 0.1ex;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.postlist {
|
|
columns: 2;
|
|
}
|
|
|
|
@media screen and (max-width: 1100px) {
|
|
|
|
body {
|
|
display: block;
|
|
padding: 5em;
|
|
}
|
|
|
|
.logo {
|
|
width: 100%;
|
|
}
|
|
|
|
.logo img {
|
|
padding: 0;
|
|
float: none;
|
|
}
|
|
|
|
.logo a {
|
|
margin: 0 auto 0;
|
|
}
|
|
|
|
.inlinks, .outlinks{
|
|
border-radius: var(--border-radius);
|
|
columns: auto;
|
|
}
|
|
|
|
.inlinks ul, .outlinks ul {
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.postlist {
|
|
columns: 1;
|
|
}
|
|
|
|
.plugs, .extras{
|
|
padding: 2em 0 2em;
|
|
}
|
|
|
|
nav ul{
|
|
text-align: center;
|
|
padding-left: 0;
|
|
}
|
|
|
|
nav li{
|
|
display: inline-block;
|
|
}
|
|
|
|
article {
|
|
margin: 0;
|
|
}
|
|
|
|
img {
|
|
float: right;
|
|
padding: 10px;
|
|
padding-left: 100%;
|
|
width: 230px;
|
|
}
|
|
}
|