/*
This file could be used under both CC-BY-SA 4.0
or at your chosing GNU GPLv3 or any later version
*/
/* This is a CSS file, which describes the Theme of the webpage.
More information about CSS files you can find here:
https://en.wikipedia.org/wiki/CSS
*/
/* This is the ROOT, or the main variables that drive most of the theme.
For most themes, changing those values would be enough.*/
:root {
--color-important :
--color-background :
--color-text:
--background-color: rgba(2,0.8,0.8, 0.8);
--backdrop-filter: blur(8px);
--padding: 10px 20px;
--margin: 8px 0;
--border-radius: 25px;
--box-shadow: 0px 0px 15px rgba(20,12,8, 0.40);
--box-shadow-focus: 0px 0px 30px rgba(3.9,21.6,47.1, 0.99);
--code-string:
--code-variable:
--code-comment:
}
/* This is the part in the theme that loads in a font file. */
@font-face {
font-family: "Exo";
src: url("/pictures/Exo2-Medium.ttf");
}
/* Setting up Background and Background image*/
html {background-color: var(--color-background);
background-image: url("/pictures/user_upload/blenderdumbass/E5TB0IAY90ITYT5U.png");
background-size: cover;
background-attachment: fixed;
background-position: center;
color: var(--color-text);
font-family:"Exo";
font-size:17;
}
/* This describes values for text selection */
::selection {
color: black;
background: var(--color-text);
border-radius: 5px;
}
/* The top level Body of the document. */
body{
color: var(--color-text);
margin-top: 8px;
margin-bottom: 8px;
margin-right: 5px;
margin-left: 5px;
}
/* How to render Tables */
table td {
border-style:hidden;
padding: 50 50;
}
/* Describing how to render Headers of chapters */
h1 {
font-family:"Exo";
font-size: 35px;
color: var(--color-important);
text-shadow: 2px 2px 4px rgba(0,0,0, 0.3);
}
/* Slightly smaller headers */
h2 {
font-family:"Exo";
font-size: 30px;
color: var(--color-text);
}
/* Small headers */
h3 {
font-family:"Exo";
font-size: 15px;
color: var(--color-text);
}
/* Code snippits in the middle of the text */
code {
font-family:"Monospace";
padding: 0px 3px;
background-color:
border-radius: 5px;
word-wrap: break-word;
overflow-wrap: break-word;
box-shadow: 0px 0px 20px rgba(0,0,0, 0.50)
}
/* Multiline code Elements */
pre, .pre {
color: white;
font-family:"Monospace";
font-size: 14px;
line-height: 20px;
background-image: linear-gradient(180deg,
var(--color-background) 50%,
background-size: 100% 40px;
width:100%;
white-space:pre;
overflow-x:scroll;
border-radius: 5px;
box-shadow: var(--box-shadow);
}
.text_string {color:var(--code-string);}
.text_variable {color:var(--code-variable);}
.text_command {color:var(--color-important);}
.text_comment {color:var(--code-comment);}
/* Links */
a {
font-family:"Exo";
font-size:20;
color: var(--color-important);
text-decoration: none;
}
/* Link when the mouse is hoving on it */
a:hover {
color: var(--color-text);
text-decoration: none;
}
/* Images */
img {
max-width: 70%;
height: auto;
border-radius:14px;
}
/* Text areas, text input elements and buttons */
textarea, input, button {
border-width: 0px;
outline: none;
font-family:"Exo";
font-size:17;
}
textarea {
font-family:"Sans";
font-size:17;
}
button, .button, select {
padding: 1px 20;
margin: 8px 5px;
word-break: break-all;
display: inline-block;
background-color: var(--background-color);
border: 0px solid black;
color: var(--color-text);
font-weight: bold;
border-radius: 25px;
box-shadow: var(--box-shadow);
}
button, .button > img {background-color: rgba(0,0,0,0);}
button, .button > .icon {background-color: rgba(0,0,0,0);}
button, .button { line-height: 3 }
button:hover, input:hover, button:focus, .button:hover, .button:focus {
/* background-color: var(--color-important); */
/* color:
border: 0px solid black;
outline: none;
box-shadow: var(--box-shadow-focus);
/* .icon {
-webkit-filter: invert(100%);
filter: invert(100%);
} */
}
pre, .pre {
color: white !important;
}
/* This is used to make the list of articles automatically flow
as the window is resized */
.flexity {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
margin: 0;
padding: 0;
}
/* This puts the login button where it is on the page */
.login_fixed {
position: fixed;
right:10;
top:10;
}
/* These are used for tiny little text, usually notification number indiciators and stuff. */
sup, .sup {
background-color: var(--color-important);
color:black;
display: inline-block;
border-radius: 12px;
padding: 3px 6px 3px 6px;
margin: 5px;
}
sup:hover, .sup:hover {
color: var(--color-text);
text-decoration: none;
}
/* An element of a views per day graph */
.graph_line {
position: absolute;
background-color: var(--color-important);
height: 80%;
margin-top: 20%;
width: 30px;
border-radius: 25px;
}
.graph_line:hover {
background-color: var(--color-text);
}
/* Simple box used for everything on the website */
.dark_box {
font-family:"Sans";
background-color: var(--background-color);
backdrop-filter: var(--backdrop-filter);
padding: var(--padding);
margin: var(--margin);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
}
/* Similar to .dark_box, but specifically for rendering big custom pages. */
.middle_box {
font-family:"Sans";
background-color: var(--background-color);
backdrop-filter: var(--backdrop-filter);
padding: var(--padding);
margin-left: auto;
margin-right: auto;
margin-top: 8px;
margin-bottom: 8px;
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
max-width: 1061px;
}
/* Used for article previews */
.article_box {
font-family:"Sans";
padding: 5px 20;
margin: 8px 5px;
max-width:300px;
vertical-align: top;
word-break: break-word;
display: inline-block;
background-color: var(--background-color);
backdrop-filter: var(--backdrop-filter);
color: var(--color-text);
border-radius: 25px;
box-shadow: var(--box-shadow);}
/* Used to render quotes of other people */
.quote {
background-color: var(--color-background);
backdrop-filter: var(--backdrop-filter);
padding: var(--padding);
margin: var(--margin);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
}
/* Similar to .article_preview, was used to render Mastodon posts */
.toot {
padding: 5px 20;
margin: 8px 5px;
word-wrap: break-word;
overflow-wrap: break-word;
display: inline-block;
background-color: var(--background-color);
backdrop-filter: var(--backdrop-filter);
color: var(--color-text);
padding: var(--padding);
margin: var(--margin);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
}
.article_box:hover, .dark_box:hover, .toot:hover, .quote:hover {
box-shadow: var(--box-shadow-focus);
}
/*
If a screen is at least 950 pixels wide, we do some more things.
*/
@media screen and (min-width: 950px) {
.middle_section_article {
position: absolute;
left:20%;
top:auto;
width:39%;
}
.checklist_section_article {
position: absolute;
left:60%;
top:auto;
width:20%;
}
}
/* prgoress bar theme */
.back_progress {background-color:
width: 100%;
height: 14;
border-radius: 7px}
.front_progress {background-color: var(--color-important);
height: 14;
border-radius:7px}
}