webbed-site/style.css

732 lines
11 KiB
CSS
Raw Normal View History

2024-09-26 12:47:17 -05:00
:root {
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-12-12 20:47:37 -06:00
--sidebarUrl: url("/img/theme/peach.jpeg") repeat;
background-color: white;
background-size: 10px 10px;
background-image:
linear-gradient(to right, #FFEFF1 1px, transparent 1px),
linear-gradient(to bottom, #FFEFF1 1px, transparent 1px);
2024-12-12 20:47:37 -06:00
--bullet: url("/img/theme/kingluludeer_peach.png");
--theme-image: url("/img/theme/kittea_paws.gif"); /* credit: https://www.deviantart.com/kittea-paws/art/kitten-floating-away-with-balloons-886993258 */
2024-08-16 12:42:44 -05:00
}
@media (prefers-color-scheme: dark) {
:root {
2024-09-26 12:47:17 -05:00
--bgColor: #000040;
--fgColor: #D8DAFF;
--metaColor: #141C36;
--headColor: #A0A8F4;
--linkColor: #FF72F7;
--hovColor: #6BB6E5;
--bgSelect: #6c7086;
2024-12-12 20:47:37 -06:00
--sidebarUrl: url("/img/theme/stars.gif") repeat;
2024-09-26 12:47:17 -05:00
background-color: #030314;
background-size: 10px 10px;
background-image:
linear-gradient(to right, #1C1736 1px, transparent 1px),
linear-gradient(to bottom, #1C1736 1px, transparent 1px);
2024-12-12 20:47:37 -06:00
--bullet: url("/img/theme/pastelstar.gif");
--theme-image: url("/img/theme/spaaace.gif");
2024-09-26 12:47:17 -05:00
}
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(--bgSelect)
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
::selection {
color: var(--fgColor);
background: var(--bgSelect)
2024-08-16 12:42:44 -05:00
}
article {
2024-09-26 12:47:17 -05:00
display:inline-block;
margin-left: 220px;
padding: 1px 20px;
height: 100%;
width: calc(100% - 270px);
}
nav {
text-align: center;
padding: 16px;
width: 200px;
background: var(--sidebarUrl);
position: fixed;
z-index: 1;
top: 0;
left: 0;
height: 100%;
align-content: center;
2024-10-05 15:44:33 -05:00
overflow: auto;
scrollbar-color: var(--hovColor) var(--bgColor);
scrollbar-width: thin;
2024-09-26 12:47:17 -05:00
}
nav > * {
padding: .4rem .25rem;
}
nav a {
2024-09-26 16:43:50 -05:00
color: var(--fgColor);
2024-09-26 12:47:17 -05:00
text-decoration: none;
padding: .4rem .25rem;
}
2024-09-26 16:43:50 -05:00
2024-09-26 12:47:17 -05:00
nav a.active {
2024-09-26 16:43:50 -05:00
color: var(--linkColor);
2024-09-26 12:47:17 -05:00
}
nav a:hover:not(.active) {
2024-09-26 16:43:50 -05:00
color: var(--fgColor);
2024-09-26 12:47:17 -05:00
}
@media screen and (max-width: 700px) {
nav {
width: 100%;
height: fit-content;
position: relative;
justify-items: center;
background-color: var(--metaColor);
padding: 0;
}
article {margin-left: 0; width: 94%;}
2024-09-26 12:47:17 -05:00
}
2024-10-18 18:13:08 -05:00
footer {
font-size: 1.5em;
clear: both;
text-align: right;
margin: auto;
position:sticky;
padding-right: 10px;
bottom: 15px;
}
@media screen and (max-width: 700px) {
footer {
font-size: 2em;
}
footer a {
background-color: var(--metaColor);
opacity: 0.25;
border-radius: .25em;
padding: .8rem;
}
footer a:hover {
opacity: 1;
}
}
2024-09-26 16:43:50 -05:00
.menu a {
display: block
}
.submenu {
display: none;
text-decoration: none;
font-style: italic;
2024-10-18 20:55:52 -05:00
font-size: .8rem;
2024-09-26 16:43:50 -05:00
}
.menu-item a:hover {
text-decoration: none;
color: var(--fgColor);
background-color: var(--bgSelect);
}
2024-09-26 17:23:15 -05:00
.menu-toggle {
color: var(--linkColor)
}
2024-09-26 16:43:50 -05:00
.menu-toggle, .menu {
text-decoration: none;
}
@media (max-width: 640px) {
nav a {
padding: 1rem;
}
.menu {
display: none;
}
}
2024-09-26 17:23:15 -05:00
.nav-icon {
2024-09-26 12:47:17 -05:00
display: flex;
justify-content:center;
}
2024-09-26 17:23:15 -05:00
.nav-icon i {
2024-09-26 12:47:17 -05:00
padding: 8px;
vertical-align: middle;
}
@media screen and (max-width: 700px) {
2024-09-26 17:23:15 -05:00
.menu-toggle {
padding-top: 2rem;
}
.nav-icon {
padding: .5rem;
2024-09-26 12:47:17 -05:00
}
}
2024-12-12 20:47:37 -06:00
.peachmoon {
text-align: center;
font-size: .9em;
padding: 1em;
}
.theme-image {
content: var(--theme-image);
float: left;
padding-right: .75rem;
}
2024-09-26 12:47:17 -05:00
details a {
display: block;
}
details {
padding: .5rem 0 0 0;
}
summary {
text-align: center;
}
details summary > * {
display: inline;
}
@media screen and (max-width: 700px) {
details {
padding: .5rem 0;
}
details a {
padding: 1rem 0;
}
}
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-26 12:47:17 -05:00
img {
vertical-align: middle;
}
2024-09-13 20:20:08 -05:00
p {
2024-10-13 13:00:06 -05:00
margin: 1rem 1.5rem 1rem 1.5rem;
2024-08-16 12:42:44 -05:00
}
2024-10-18 18:13:08 -05:00
@media (max-width: 640px) {
p {
margin: 1rem .5rem;
}
}
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-26 12:47:17 -05:00
.ph {
font-size: 1em;
color: var(--linkColor);
fill: var(--fgColor);
background-color: transparent;
vertical-align: middle;
}
2024-09-13 20:20:08 -05:00
h1 {
color: var(--headColor);
font: 3.8em hylie, cursive;
2024-09-13 20:20:08 -05:00
line-height: .8em;
2024-09-26 12:47:17 -05:00
padding-top: .35em;
margin: 0;
2024-09-13 20:20:08 -05:00
text-align: center;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
h2 {
color: var(--headColor);
2024-12-12 20:47:37 -06:00
font: 3.5em firstly, cursive;
2024-09-13 20:20:08 -05:00
font-weight: bold;
line-height: .7em;
2024-09-15 16:50:44 -05:00
margin: 0.1vw 0.1vw 0.1vw 1.25vw;
2024-09-13 20:20:08 -05:00
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);
2024-12-12 20:47:37 -06:00
font: bold 2.9rem firstly, cursive;
2024-09-13 20:20:08 -05:00
margin: 0.1vw 0.1vw 0.1vw 1.5vw;
2024-12-12 20:47:37 -06:00
padding-top: 1rem;
line-height: 2rem;
2024-08-16 12:42:44 -05:00
}
2024-09-13 20:20:08 -05:00
ul {
list-style-image: var(--bullet);
2024-09-13 20:20:08 -05:00
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-26 12:47:17 -05:00
ul.fave {
2024-12-12 20:47:37 -06:00
list-style-image: url("/img/main/heart.png");
2024-08-16 12:42:44 -05:00
}
2024-09-26 12:47:17 -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
ol {
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-26 12:47:17 -05:00
ol li {
margin-left: 1.5vw;
}
2024-09-13 20:20:08 -05:00
pre {
border: 1px solid var(--bgSelect);
2024-09-26 12:47:17 -05:00
background-color: var(--bgColor);
2024-09-13 20:20:08 -05:00
padding: 1rem;
margin: 0 2vw;
overflow-x: auto;
2024-09-26 12:47:17 -05:00
font: 1.1em monospace;
color: var(--fgColor);
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-26 12:47:17 -05:00
address {
margin-left: 1.5vw;
font-size: 0.9em;
}
2024-09-26 12:47:17 -05:00
time {
font-size: 0.9em;
2024-07-07 08:27:18 -05:00
}
2024-08-16 12:42:44 -05:00
2024-09-26 12:47:17 -05:00
dt {
font-weight:bold;
margin-left: 3em;
2024-02-19 21:10:22 -06:00
}
2024-09-26 12:47:17 -05:00
dt::before {
content: "・"
2024-07-07 08:27:18 -05:00
}
2024-09-26 12:47:17 -05:00
dd {
font-style:italic;
margin-left: 5em;
padding-bottom: .7em;
2024-09-13 22:07:02 -05:00
}
2024-09-26 12:47:17 -05:00
figure img {
border-radius: 1em;
max-width: 100%;
2024-09-15 00:15:34 -05:00
}
2024-09-26 12:47:17 -05:00
figure {
2024-09-13 20:20:08 -05:00
text-align: center;
2024-09-26 12:47:17 -05:00
align-content: center;
margin: 1em;
2024-02-19 21:10:22 -06:00
}
2024-09-26 12:47:17 -05:00
figcaption {
font-size: .9em;
font-style: italic;
line-height: 1em;
margin: auto;
padding-top: .5em;
max-width: 550px;
2024-02-19 21:10:22 -06:00
}
2024-09-26 12:47:17 -05:00
hr {
border: dashed 1px;
color: var(--hovColor);
width: 93%;
margin: 1em auto;
}
2024-10-05 15:44:33 -05:00
.profile-img img {
2024-09-26 12:47:17 -05:00
max-width: 200px;
text-align: center;
border-radius: 100%;
2024-10-05 15:44:33 -05:00
padding: 0;
2024-09-26 12:47:17 -05:00
}
.theme-switches{
text-align: center;
display: inline-flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.switch {
height: 1.5em;
width: 1.5em;
margin: 0.2em;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
2024-12-12 20:47:37 -06:00
font-size: 1.25rem;
font-style: normal;
2024-09-26 12:47:17 -05:00
}
.switch:hover {
transform: scale(1.2);
2024-02-19 21:10:22 -06:00
}
2024-12-12 20:47:37 -06:00
@media screen and (max-width: 700px) {
.switch {
padding: 5px;
font-size: 2.5rem;
font-style: normal;
}
}
2024-02-19 21:10:22 -06:00
.imgwall {
font-size: 0;
line-height: 0em;
image-rendering: pixelated;
2024-09-13 20:20:08 -05:00
text-align: center;
2024-02-19 21:10:22 -06:00
}
2024-12-15 22:26:06 -06:00
.imgwall > img {
display: inline-block;
2024-08-16 12:42:44 -05:00
}
2024-09-26 12:47:17 -05:00
#padded img {
padding: 1px;
2024-08-16 12:42:44 -05:00
}
2024-12-12 20:47:37 -06:00
#nobutton {
font-size: 1rem;
display: inline-block;
vertical-align: middle;
padding: 1px;
}
#userbox img {
2024-09-26 12:47:17 -05:00
image-rendering: auto;
2024-11-24 22:04:53 -06:00
vertical-align: middle;
margin: .1rem;
2024-12-12 20:47:37 -06:00
max-width: 239px;
2024-11-24 22:04:53 -06:00
}
2024-12-15 22:26:06 -06:00
#stamp > img {
2024-11-24 22:04:53 -06:00
image-rendering: auto;
2024-08-16 12:42:44 -05:00
vertical-align: middle;
2024-12-15 22:26:06 -06:00
padding: 1px;
2024-08-16 12:42:44 -05:00
}
#stamp {
2024-12-16 08:52:53 -06:00
margin: .5rem;
}
#blinkies img, #blinkies > img {
max-width: 150px;
}
2024-12-12 20:47:37 -06:00
#music {
text-align: center;
}
#music a:hover {
text-decoration: none;
}
2024-09-26 12:47:17 -05:00
.emote {
font-size: 0;
line-height: 0em;
text-align: center;
}
.emote img {
display: inline-block;
2024-12-12 20:47:37 -06:00
padding: 1px;
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;
2024-09-26 12:47:17 -05:00
margin: 0.2em;
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-26 12:47:17 -05:00
.center {
2024-09-14 12:51:00 -05:00
font-size: 0.9em;
2024-09-26 12:47:17 -05:00
image-rendering: pixelated;
2024-09-15 00:15:34 -05:00
text-align: center;
2024-09-26 12:47:17 -05:00
display: block;
2024-09-15 00:15:34 -05:00
justify-content: center;
2024-09-26 12:47:17 -05:00
align-items: center;
2024-09-15 00:15:34 -05:00
}
2024-09-26 12:47:17 -05:00
.center a:hover {
2024-09-15 00:15:34 -05:00
text-decoration: none;
}
2024-09-26 12:47:17 -05:00
.dotbox {
max-width: fit-content;
margin: 10px auto;
2024-12-12 20:47:37 -06:00
padding: 1rem;
2024-09-26 12:47:17 -05:00
border: var(--hovColor) dotted 2px;
border-radius: 1.5em;
background-color: var(--bgColor);
2024-12-12 20:47:37 -06:00
text-align: center;
}
.dotbox ul {
display: inline-block;
text-align: left;
margin: auto;
list-style: none;
2024-08-16 12:42:44 -05:00
}
2024-09-26 12:47:17 -05:00
#tag-cloud:hover {
text-decoration: none;
2024-08-16 12:42:44 -05:00
}
2024-09-26 12:47:17 -05:00
#tag-cloud {
display:block;
2024-09-13 20:20:08 -05:00
text-align: center;
margin: auto;
2024-09-26 12:47:17 -05:00
font-family: firstly, cursive;
font-size: 1.5rem;
2024-10-18 20:55:52 -05:00
padding: .5rem;
2024-08-16 12:42:44 -05:00
}
2024-09-26 12:47:17 -05:00
#tag-cloud > * {
padding: 0.125rem 0.25rem;
2024-08-16 12:42:44 -05:00
}
2024-09-26 12:47:17 -05:00
.site-tag a:hover {
text-decoration: none;
color: var(--headColor)
}
2024-09-26 12:47:17 -05:00
.toc-list {
text-align: center;
2024-09-26 12:47:17 -05:00
justify-items: center;
margin: 0;
padding: .5em 0 0 0;
}
2024-09-26 12:47:17 -05:00
#toc li {
display: inline-flex;
}
2024-09-26 12:47:17 -05:00
#toc li::before {
2024-12-12 20:47:37 -06:00
content: url(/img/main/tinystar.gif);
2024-09-26 12:47:17 -05:00
padding-right: .5em;
}
2024-09-26 12:47:17 -05:00
#toc li:last-child::after {
2024-12-12 20:47:37 -06:00
content: url(/img/main/tinystar.gif);
2024-09-26 12:47:17 -05:00
padding-left: .5em;
2024-08-16 12:42:44 -05:00
}
2024-09-26 12:47:17 -05:00
.twocol {
2024-09-13 20:20:08 -05:00
display: flex;
2024-09-26 12:47:17 -05:00
gap: 10px;
flex-wrap: wrap;
justify-content: center;
2024-09-13 20:20:08 -05:00
align-items: center;
2024-08-16 12:42:44 -05:00
}
2024-09-26 12:47:17 -05:00
.twocol > * {
margin: 1rem;
2024-09-15 16:50:44 -05:00
}
2024-09-26 12:47:17 -05:00
.twocol ul {
list-style: none;
padding-left: 0;
margin: 0;
2024-08-16 12:42:44 -05:00
}
2024-09-26 12:47:17 -05:00
.twocol .smolbox {
display: block;
}
2024-09-26 12:47:17 -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;
2024-12-12 20:47:37 -06:00
margin: auto;
}
2024-12-21 21:27:39 -06:00
.threecol {
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: center;
}
.threecol > * {
margin: .5rem;
}
2024-09-26 12:47:17 -05:00
#statuscafe {
padding: .5em;
background-color: azure;
border: 1px solid midnightblue;
}
2024-09-26 12:47:17 -05:00
#statuscafe-username {
margin-bottom: .5em;
2024-09-15 16:50:44 -05:00
}
2024-09-26 12:47:17 -05:00
#statuscafe-content {
margin: 0 1em 0.5em 1em;
2024-07-07 08:27:18 -05:00
}
2024-08-16 12:42:44 -05:00
2024-12-12 20:47:37 -06:00
.theme-credit {
display: inline-flex;
max-width: 95%;
gap: 10px;
align-items: center;
justify-content: center;
padding-top: .25rem;
}
.theme-credit > * {
margin: auto;
}
.theme-credit h4 {
padding: .1rem 0;
}
2024-09-26 12:47:17 -05:00
.image-gallery {
width: 95%;
2024-09-15 00:15:34 -05:00
display: grid;
2024-09-26 12:47:17 -05:00
grid-template-columns: repeat(auto-fill,minmax(350px, 1fr));
2024-09-15 00:15:34 -05:00
gap: 10px;
2024-07-07 08:27:18 -05:00
text-align: center;
2024-09-26 12:47:17 -05:00
padding-top: 1vw;
2024-02-19 21:10:22 -06:00
}
2024-09-26 12:47:17 -05:00
.box {
width: 100%;
padding: 0;
margin: 0;
2024-02-19 21:10:22 -06:00
}
2024-09-26 12:47:17 -05:00
.box img {
max-width: 380px
2024-02-19 21:10:22 -06:00
}
2024-09-26 12:47:17 -05:00
@media (max-width: 640px) {
.box img {
max-width: 100%
2024-09-15 00:15:34 -05:00
}
}
2024-09-26 12:47:17 -05:00
.img-gallery {
width: auto;
height: auto;
object-fit: cover;
}
2024-09-15 00:15:34 -05:00
.masonry-container {
2024-09-26 12:47:17 -05:00
column-count: 4; /* Number of columns */
column-gap: .5rem; /* Spacing between columns */
margin: 0 auto;
2024-09-15 00:15:34 -05:00
}
.masonry-container > * {
break-inside: avoid; /* Prevents items from breaking inside columns */
margin-bottom: 10px; /* Space between items */
}
.masonry-item img {
2024-09-26 12:47:17 -05:00
max-width: 100%;
2024-09-15 00:15:34 -05:00
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
}
}