webbed-site/static/css/style.css

632 lines
11 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-15 00:15:34 -05:00
p.bottomnav {
text-align: right;
margin: auto;
position:sticky;
bottom: 15px;
}
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;
2024-09-15 00:15:34 -05:00
margin-left: 3em;
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-15 00:15:34 -05:00
.tag {
list-style: none;
padding-left: 0;
line-height: 2.5rem;
text-align: center;
}
.tag ol {
justify-content: center;
}
.tag li {
display: inline-block;
font-family: firstly, cursive;
font-size: 1.5em;
padding: 0.125rem 0.25rem;
text-decoration: none;
}
.tagcloud {
list-style: none;
padding-left: 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
line-height: 2.5rem;
}
.tagcloud a {
display:block;
font-family: firstly, cursive;
--size: 4;
font-size: calc(var(--size) * 0.5rem + 1.5rem);
padding: 0.125rem 0.25rem;
text-decoration: none;
position: relative;
}
.tagcloud a[data-weight="1"] { --size: 1; }
.tagcloud a[data-weight="2"] { --size: 2; }
.tagcloud a[data-weight="3"] { --size: 3; }
.tagcloud a[data-weight="4"] { --size: 4; }
.tagcloud a[data-weight="5"] { --size: 5; }
.tagcloud a[data-weight="6"] { --size: 6; }
.tagcloud a[data-weight="7"] { --size: 7; }
.tagcloud a[data-weight="8"] { --size: 8; }
.tagcloud a[data-weight="9"] { --size: 9; }
.tagcloud li:nth-child(2n+1) a { --color: var(--headColor); }
.tagcloud li:nth-child(3n+1) a { --color: var(--hovColor); }
.tagcloud li:nth-child(4n+1) a { --color: var(--linkColor); }
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-15 00:15:34 -05:00
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 10px;
padding: 10px;
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-15 00:15:34 -05:00
margin: 0;
padding: 0;
box-sizing: border-box;
}
.four-column a {
position: relative;
2024-02-19 21:10:22 -06:00
}
2024-09-13 22:07:02 -05:00
.four-column img {
2024-09-15 00:15:34 -05:00
width: 100%;
height: auto;
display: block;
2024-09-13 22:07:02 -05:00
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-15 00:15:34 -05:00
@media (max-width:768px) {
2024-09-13 22:07:02 -05:00
.four-column > * {
2024-09-15 00:15:34 -05:00
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
}
.masonry-container {
column-count: 3; /* Number of columns */
column-gap: .1rem; /* Spacing between columns */
padding: .1rem;
}
.masonry-container > * {
break-inside: avoid; /* Prevents items from breaking inside columns */
margin-bottom: 10px; /* Space between items */
}
.masonry-item img {
width: auto;
height: auto; /* Maintains aspect ratio */
display: block;
}
/* Responsive adjustments */
@media (max-width: 1200px) {
.masonry-container {
column-count: 3; /* 3 columns on medium screens */
}
}
@media (max-width: 900px) {
.masonry-container {
column-count: 2; /* 2 columns on smaller screens */
}
}
@media (max-width: 640px) {
.masonry-container {
column-count: 1; /* 1 column on very small screens */
}
.masonry-container p {
padding: 0;
margin: 0;
}
.masonry-container img {
width: calc(100% - .2rem);
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;
2024-09-15 00:15:34 -05:00
background-color: var(--metaColor);
2024-09-13 20:20:08 -05:00
}
.left-sidebar a {
text-align: center;
float: none;
}
2024-09-15 00:15:34 -05:00
.page-content {margin-left: 0; width: 94%;}
}
2024-09-13 20:20:08 -05:00
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-09-15 00:15:34 -05:00
}
.topnav {
padding: 0;
}
/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
display: none;
}
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 700px) {
.topnav #myLinks {
display: none;
}
.topnav a:not(:first-child) {display: none;}
.topnav a.icon {
display: block;
}
}
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 700px) {
.topnav.responsive {position: relative;}
.topnav.responsive a {
clear: both;
display: block;
}
}