Files
wade.sop.wtf/assets/css/main.css
2023-08-18 01:33:59 -07:00

224 lines
3.6 KiB
CSS

/*
CSS by Sophia Atkinson
https://sophia.wtf
CC BY-NC 4.0
*/
@import url("https://cdn.satki.net/static/fonts/OpenDyslexic2-Alt-A/opendyslexic.min.css");
:root{
--main-font: OpenDyslexic2 Alt;
--line-height: 1.5em;
}
body {
background: #141729;
padding: 0;
margin: 0;
max-width: 100%;
max-height: 100%;
}
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*{
cursor: url(/img/cursor.webp), default;
}
.dyslexia{
font-family: OpenDyslexic2 Alt !important;
}
br{
line-height: var(--line-height);
}
h1 {
color: #fff;
font-family: var(--main-font);
font-size: 35px;
line-height: var(--line-height);
}
h2 {
color: #fff;
font-family: var(--main-font);
font-size: 25px;
line-height: var(--line-height);
}
h3 {
color: #fff;
font-family: var(--main-font);
font-size: 20px;
line-height: var(--line-height);
}
h4{
color: #fff;
font-family: var(--main-font);
font-size: 15px;
line-height: var(--line-height);
}
h5{
color: #fff;
font-family: var(--main-font);
font-size: 10px;
line-height: var(--line-height);
}
h6{
color: #fff;
font-family: var(--main-font);
font-size: 5px;
line-height: var(--line-height);
}
::-webkit-scrollbar {
display: none;
}
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
color: #fff;
text-decoration: none;
border-bottom-color: transparent;
}
a.copy-cursor{
cursor: copy;
}
embed,
iframe,
object {
max-width: 100%;
}
.avatar {
height: 200px;
}
#footer {
max-height: 100%;
position: absolute;
bottom: 0;
height: 100px;
width: 100%;
overflow: hidden;
display: flex;
justify-content: center;
text-align: center;
align-content: flex-end;
flex-wrap: wrap;
padding: 10px;
margin: 0;
}
@media only screen and (max-height: 768px) {
#footer {
position: relative!important;
justify-items: flex-end;
display: flex;
align-items: flex-end;
align-content: flex-end;
flex-wrap: wrap;
}
}
.sa-credit {
border-bottom-color: transparent;
text-decoration: none;
}
.sa-credit:hover {
border-bottom-color: transparent;
text-decoration: none;
color: #7289DA !important;
}
sub {
color: #fff;
font-family: var(--main-font);
font-size: 0.8em;
}
sup {
color: #fff;
font-family: var(--main-font);
font-size: 0.8em;
position: relative;
top: -0.5em;
}
hr {
border: 0;
border-bottom: solid 2px #fff;
margin: 2em 0;
}
hr.major {
margin: 3em 0;
}
blockquote{
border-left: solid 6px #121212;
font-style: italic;
margin: 0 0 2em 0;
padding: 0.5em 0 0.5em var(--line-height);
}
code {
background: #fff;
border-radius: 0.35em;
border: solid 2px #121212;
font-family: "Courier New", monospace;
font-size: 0.9em;
margin: 0 0.25em;
padding: 0.25em 0.65em;
}
p {
color: #fff;
font-family: var(--main-font);
font-size: 1em;
}
a {
-moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
-webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
-ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
border-bottom: solid 1px;
color: #fff;
text-decoration: none;
}
a:hover,
a:focus,
a:active {
border-bottom-color: transparent;
color: #1BA965 !important;
text-decoration: none;
}
strong, b {
color: #fff;
font-weight: 400;
}
em, i {
color: #fff;
font-style: italic;
}
.align-left {
text-align: left;
}
.align-center {
text-align: center;
justify-content: center;
align-items: center;
align-self: center;
justify-self: center;
}
.align-right {
text-align: right;
}
#header {
animation: change 5s step-end both;
}
@keyframes change {
from { color: #3AB54A }
to { color: #ED1B24 }
}