webbed-site/static/css/style.css

502 lines
7.7 KiB
CSS
Raw Normal View History

2024-02-19 21:10:22 -06:00
:root,
:root.light {
2024-09-13 20:20:08 -05:00
--bgColor: #FFFAFC;
--fgColor: #6e5854;
--metaColor: #FFEFF1;
--headColor: #E05969;
--linkColor: #BC2F3F;
--hovColor: #e3868f;
2024-08-16 12:42:44 -05:00
--bgSelect: #3a2930;
2024-09-13 20:20:08 -05:00
--bgUrl: url("/img/pinkgrid.png") repeat;
--sidebarUrl: url("/img/peach.jpeg") repeat;
2024-08-16 12:42:44 -05:00
}
:root.dark {
--bgColor: #000040;
2024-09-13 20:20:08 -05:00
--fgColor: #D8DAFF;
--metaColor: #141C36;
--headColor: #A0A8F4;
--linkColor: #FF72F7;
--hovColor: #6BB6E5;
2024-08-16 12:42:44 -05:00
--bgSelect: #6c7086;
2024-09-13 20:20:08 -05:00
--bgUrl: url("/img/darkgrid.png");
--sidebarUrl: url("/img/stars.gif") repeat;
2024-08-16 12:42:44 -05:00
}
2024-07-07 08:27:18 -05:00
@font-face {
2024-09-13 20:20:08 -05:00
font-family: Hez;
src: url("/fonts/Hezaedrus.ttf")
2024-08-16 12:42:44 -05:00
}
2024-07-07 08:27:18 -05:00
@font-face {
2024-09-13 20:20:08 -05:00
font-family: hylie;
2024-09-13 20:26:08 -05:00
src: url("/fonts/Hylie.otf")
2024-07-07 08:27:18 -05:00
}
@font-face {
2024-09-13 20:20:08 -05:00
font-family: obliviate;
src: url("/fonts/Obliviate.otf")
2024-07-07 08:27:18 -05:00
}
2024-09-13 20:20:08 -05:00
@font-face {
font-family: firstly;
2024-09-13 20:31:22 -05:00
src: url("/fonts/Firstly.otf")
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
::-moz-selection {
color: var(--metaColor);
background: var(--hovColor)
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
::selection {
color: var(--fgColor);
background: var(--hovColor)
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
html {
scrollbar-color: var(--hovColor) var(--bgColor);
scrollbar-width: thin;
font-size: 1em;
font-style: normal;
line-height: 1.2;
margin: auto;
overflow-wrap: break-word;
background: var(--bgUrl);
color: var(--fgColor);
font-family: 'Hez', monospace;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
p {
margin: 0.5vw 1.5vw 0.3vw 1.5vw;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
a {
text-decoration: none;
color: var(--linkColor)
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
a:hover {
text-decoration: underline dashed 2px;
color: var(--hovColor)
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
h1 {
color: var(--headColor);
2024-09-14 12:51:00 -05:00
font: 4em hylie, cursive;
2024-09-13 20:20:08 -05:00
line-height: .8em;
margin: 2vw 0.1vw 0.1vw;
padding: 0.1vw;
text-align: center;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
h2 {
color: var(--headColor);
font: 4em firstly, cursive;
font-weight: bold;
line-height: .7em;
margin: 0.1vw 0.1vw 0.1vw 1.5vw;
padding: .1rem 0;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
h3 {
color: var(--headColor);
font: 2.6em obliviate, cursive;
line-height: 2rem;
margin: 0.1vw 0.1vw 0.1vw 1.5vw;
padding: .4rem 0 .2rem;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
h4 {
color: var(--headColor);
font: bold 2em firstly, cursive;
margin: 0.1vw 0.1vw 0.1vw 1.5vw;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
ul {
list-style-image: url("/img/kingluludeer_peach.png");
font-size: 1em;
line-height: 1.3em;
margin: 0.1vw 0.1vw 0.1vw 1vw;
padding-left: 1.75vw;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
ul p, ol p {
margin-left: 0
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.fave ul {
list-style-image: url("/img/heart.png");
font-size: 1em;
line-height: 1.2em;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
ol {
list-style: none;
font-size: 1em;
line-height: 1.2em;
margin: 0.1vw 0.1vw 0.1vw 1.5vw;
padding-left: 0;
2024-07-07 08:27:18 -05:00
}
2024-08-16 12:42:44 -05:00
2024-09-13 20:20:08 -05:00
pre {
border: 1px solid var(--bgSelect);
padding: 1rem;
margin: 0 2vw;
overflow-x: auto;
2024-09-13 23:41:43 -05:00
font-family: monospace;
2024-09-14 12:51:00 -05:00
font-size: 1.1em;
2024-09-13 20:20:08 -05:00
white-space: pre-wrap;
word-break: break-word;
2024-07-07 08:27:18 -05:00
}
2024-08-16 12:42:44 -05:00
2024-09-13 20:20:08 -05:00
.smoltitle {
text-align: center;
margin: auto;
font: bold 3em firstly, cursive;
line-height: .8em;
color: var(--headColor);
2024-07-07 08:27:18 -05:00
}
2024-08-16 12:42:44 -05:00
2024-09-13 20:20:08 -05:00
.navtoc {
text-align: center;
2024-02-19 21:10:22 -06:00
}
2024-09-13 20:20:08 -05:00
.navtoc img {
padding: 0 .5em;
2024-07-07 08:27:18 -05:00
}
2024-09-13 22:07:02 -05:00
.navtoc p {
margin: 0;
}
2024-09-13 20:20:08 -05:00
.center {
text-align: center;
2024-02-19 21:10:22 -06:00
}
2024-09-13 20:20:08 -05:00
.QandA ol {
list-style: decimal;
margin-left: 2.5em;
font-style: oblique;
2024-02-19 21:10:22 -06:00
}
2024-09-13 20:20:08 -05:00
.QandA ul {
list-style: none;
margin: .6rem 0;
2024-09-14 12:51:00 -05:00
font-size: 1em;
2024-02-19 21:10:22 -06:00
}
2024-09-13 20:20:08 -05:00
.webcore, .emotes, .blinkies, .web-stamps, .userbox {
display: block;
2024-08-16 12:42:44 -05:00
margin: auto;
2024-09-13 20:20:08 -05:00
text-align: center;
justify-content: space-around;
2024-02-19 21:10:22 -06:00
}
2024-09-13 20:20:08 -05:00
.webcore img {
2024-07-07 08:27:18 -05:00
vertical-align: middle;
2024-09-13 20:20:08 -05:00
padding: .05rem 0 .05rem 0;
2024-08-16 12:42:44 -05:00
}
2024-02-19 21:10:22 -06:00
2024-09-13 20:20:08 -05:00
.webcore > * {
line-height: 0;
2024-02-19 21:10:22 -06:00
}
2024-09-13 20:20:08 -05:00
.webcoresmol {
margin: 0.1vw 0.1vw 0.1vw 1.5vw;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.webcoresmol > * {
display: flex;
2024-07-07 21:28:54 -05:00
text-align: center;
2024-09-13 20:20:08 -05:00
line-height: 1.3em;
justify-content: space-around;
2024-07-07 21:28:54 -05:00
}
2024-09-13 20:20:08 -05:00
.web-stamps img {
max-width: 100px;
max-height: 60px;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.blinkies img {
max-width: 150px;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.userbox img {
max-width: 239px;
2024-08-16 12:42:44 -05:00
vertical-align: middle;
2024-09-13 20:20:08 -05:00
margin: .1rem;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.emotes {
justify-content: space-between;
margin: 0;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.emotes img {
max-width: 50px;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.kaomoji {
background-color: var(--metaColor);
border-radius: 1em;
padding: 0.3em;
display: inline-flex;
vertical-align: center;
margin: 0.3em;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.kaomoji:hover {
background-color: var(--hovColor)
2024-08-16 12:42:44 -05:00
}
2024-09-14 12:51:00 -05:00
address {
margin-left: 1.5vw;
font-size: 0.9em;
}
time {
font-size: 0.9em;
}
.tagsData {
font-size: 0.9em;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
dt {
font-weight:bold;
margin-left: 3em;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
dt::before {
content: "・"
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
dd {
font-style:italic;
margin-left: 5em;
padding-bottom: .7em;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
figure img {
border-radius: 1em;
max-width: 100%;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
figure {
text-align: center;
align-content: center;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
figcaption {
font-size: .9em;
font-style: italic;
line-height: 1em;
margin: auto;
max-width: 550px;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
hr {
border: dashed 1px;
color: var(--hovColor);
width: 93%;
margin: 1em auto;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.dotbox {
max-width: 85%;
flex: 1 1 auto;
margin: 10px auto;
padding: .5rem 0;
border: var(--hovColor) dotted 2px;
border-radius: 2.5em;
background-color: var(--bgColor);
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.two-column {
display: flex;
width: 100%;
flex: 1 1 auto;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.two-column > * {
padding: 1rem;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.two-column img {
max-width: 500px;
vertical-align: middle;
2024-03-30 00:33:49 -05:00
}
2024-09-13 20:20:08 -05:00
@media (min-width:768px) {
.two-column, .two-column-dotted {
display: grid;
grid-template-columns: 1fr 1fr;
}
2024-07-07 08:27:18 -05:00
}
2024-08-16 12:42:44 -05:00
2024-09-13 22:07:02 -05:00
.four-column {
2024-09-13 20:20:08 -05:00
display:flex;
flex-wrap:wrap;
width:98%;
margin:auto;
2024-07-07 08:27:18 -05:00
text-align: center;
2024-02-19 21:10:22 -06:00
}
2024-09-13 22:07:02 -05:00
.four-column > * {
2024-09-13 20:20:08 -05:00
width:100%;
justify-content: center;
align-items: center;
align-content: space-evenly;
2024-02-19 21:10:22 -06:00
}
2024-09-13 22:07:02 -05:00
.four-column img {
max-width: 390px;
justify-content: space-evenly;
2024-02-19 21:10:22 -06:00
}
2024-09-13 22:07:02 -05:00
.four-column p {
2024-07-07 08:27:18 -05:00
margin: 0;
2024-02-19 21:10:22 -06:00
}
2024-09-13 20:20:08 -05:00
@media (min-width:768px) {
2024-09-13 22:07:02 -05:00
.four-column > * {
width:calc(100% / 4);
2024-09-13 20:20:08 -05:00
}
2024-08-16 12:42:44 -05:00
}
2024-02-19 21:10:22 -06:00
2024-09-13 20:20:08 -05:00
.light .last {
max-width: 70vw;
margin: auto;
content: url(https://lastfm-profile-readme.vercel.app/api/ameiro?color=FFF9FA&textColor=EF626E&isRounded=true)
2024-02-19 21:10:22 -06:00
}
2024-09-13 20:20:08 -05:00
.dark .last {
max-width: 70vw;
margin: auto;
content: url(https://lastfm-profile-readme.vercel.app/api/ameiro?color=000040&textColor=FFFFC8&isRounded=true)
2024-07-10 13:53:20 -05:00
}
2024-09-13 20:20:08 -05:00
#smolbox {
padding: 0.5em;
background-color: var(--metaColor);
border: 1px dashed var(--hovColor);
border-radius: 1em;
max-width: fit-content;
text-align: left;
margin: auto
2024-02-19 21:10:22 -06:00
}
2024-09-13 20:20:08 -05:00
#smolbox p {
margin: 0 1.5em;
2024-07-08 15:37:56 -05:00
}
2024-09-13 20:20:08 -05:00
#statuscafe-username {
margin-bottom: 0.5em
2024-07-08 15:37:56 -05:00
}
2024-09-13 20:20:08 -05:00
#statuscafe-content {
margin: 0 1em 0.25em
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.themeButton {
cursor: pointer;
border: none;
font-size: 1.2em;
background-color: transparent;
padding: 0px;
2024-02-19 21:10:22 -06:00
}
2024-08-16 12:42:44 -05:00
2024-09-13 20:20:08 -05:00
.dark .themeButton.dark,
.themeButton.light {
display: none;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.dark .themeButton.light {
display: block;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.ph {
font-size: 1.25em;
color: var(--linkColor);
fill: var(--fgColor);
background-color: transparent;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
profile-img img {
max-width: 200px;
text-align: center;
2024-09-13 22:27:00 -05:00
border-radius: 100%;
2024-07-10 13:53:20 -05:00
}
2024-08-16 12:42:44 -05:00
2024-09-13 20:20:08 -05:00
.left-sidebar {
margin: 0;
padding: 16px;
width: 200px;
background: var(--sidebarUrl);
position: fixed;
z-index: 1;
top: 0;
left: 0;
height: 100%;
overflow: auto;
align-content: center;
}
.left-sidebar a {
display:block;
color: var(--linkColor);
text-decoration: none;
text-align: center;
padding: .4rem .25rem;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.left-sidebar a.active {
color: var(--hovColor);
}
.left-sidebar a:hover:not(.active) {
color: var(--hovColor);
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
.page-content {
display:inline-block;
margin-left: 220px;
padding: 1px 20px;
height: 100%;
width: calc(100% - 270px);
}
@media screen and (max-width: 700px) {
.left-sidebar {
width: 100%;
height: fit-content;
position: relative;
justify-items: center;
}
.left-sidebar a {
float: left;
padding: .7rem;
}
.page-content {margin-left: 0; width: 94%;}
}
@media screen and (max-width: 400px) {
.left-sidebar a {
text-align: center;
float: none;
}
}
nav-icon {
display: flex;
flex-direction: row;
align-items: center;
justify-content:center;
2024-07-10 13:53:20 -05:00
}
2024-08-16 12:42:44 -05:00
2024-09-13 20:20:08 -05:00
nav-icon img {
padding: 8px;
2024-07-10 13:53:20 -05:00
}
2024-09-13 20:20:08 -05:00
@media screen and (max-width: 700px) {
nav-icon {
width: 100%;
height: auto;
position: relative;
}
2024-08-16 12:42:44 -05:00
}