my-32bit-cafe/static/css/themes/sea.css

353 lines
4.6 KiB
CSS
Raw Normal View History

2024-04-26 05:52:59 +00:00
/*
* Name: Seafoam Deep
* Author: LEVIATHREN
* Website: https://leviathren.neocities.org/
*/
* {
box-sizing: border-box;
}
::selection{
background: #00a777;
color: black;
}
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-thumb {
background: #00a777;
border: 1px solid black;
}
::-webkit-scrollbar-track {
background: #141414;
border: 1px solid black;
}
html {
background: black;
scrollbar-width: thin;
scrollbar-color: #00a777 #141414;
}
body {
background: repeating-linear-gradient(
to bottom,
#202020 0px,
black 1px,
black 2px,
black 3px
);
color: #dedede;
font-family: monospace, "lucida console", serif;
margin: 0;
}
.header {
padding: 10px;
width: 12%;
white-space: nowrap;
vertical-align: middle;
}
.topnav {
overflow: hidden;
display: flex;
width: 100%;
}
.topnav a {
float: left;
display: block;
}
.topnav a:hover {
background-color: #fff;
color: black;
}
.panel {
height: 0px;
overflow: hidden;
}
.panel.visible {
height: auto;
}
.column {
float: left;
}
.sidebar {
padding: 10px;
}
.sidebar ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.sidebar li {
display: block;
padding: 5px;
}
.main {
padding: 10px;
}
.row {
display: flex;
flex-wrap: wrap;
}
.row:after {
content: "";
display: table;
clear: both;
}
.footer {
background-color: #0a0a0a;
text-align: center;
padding: 10px;
width: 100%;
}
.footer-text {
font-size: 0.8rem;
}
a {
color: #00c990;
transition: 0.2s ease;
}
a:hover {
background: #181818;
color: #00efaa;
}
button, select, input {
background: #222222;
color: white;
border: 1px solid white;
}
button:hover, select:hover, input:hover {
background: #4d4d4d;
}
@media screen and (max-width: 699px) {
.column.sidebar, .column.main {
width: 100%;
}
.header, .topnav {
width: 100%;
}
.topnav {
flex-direction: column;
padding: 5px;
}
.topnav a {
display: block;
padding: 5px;
}
.header h1 {
float: left;
}
.header button {
float: right;
}
.footer {
width: 100%;
}
}
@media screen and (min-width: 700px) and (max-width: 985px) {
.container {
padding: 5px;
}
.column.sidebar, .column.main {
width: 100%;
}
.header, .topnav {
width: 100%;
}
.column.main {
width: 75%;
}
.topnav {
flex-direction: column;
padding: 5px;
}
.topnav a {
display: block;
padding: 5px;
}
.header h1 {
float: left;
}
.header button {
float: right;
}
}
@media screen and (min-width: 985px) {
.container {
background: black;
padding: 20px;
margin: 20px auto;
width: 75vw;
height: auto;
border: 1px solid grey;
box-shadow: 10px 10px #00c990;
}
.column.sidebar {
background: #080808;
border: 1px solid #333333;
width: 15vw;
margin: 0 5px 10px 0;
}
.column.main {
width: 56.5vw;
overflow-y: auto;
overflow-x: hidden;
max-height: 65vh;
}
.header {
width: 100%;
height: 80px;
}
.header h1 {
font-size: 2.5vw;
position: relative;
}
.header h1 a {
text-decoration: none;
display: inline-block;
position: relative;
}
.header h1 a::after {
content: '';
width: 0px;
height: 2px;
position: absolute;
top: 100%;
left: 0;
background: white;
transition: 300ms;
}
.header h1 a:hover:after {
width: 100%;
}
.header h1 a:not(:hover):after {
right: 0;
left: auto;
}
.header h1 a:hover {
background: none;
}
h2 {
font-size: 1.5em;
}
h2::before {
content: '\2727 ';
}
h2::after {
content: ' \2727';
}
h3 {
font-size: 1.2em;
}
h3::before {
content: '\201C ';
}
h3::after {
content: ' \201D';
}
h4 {
font-size: 1em;
}
#navigation {
height: 100px;
}
.topnav {
overflow-x: auto;
overflow-y: hidden;
}
.topnav a {
position: relative;
top: 3vh;
color: #000;
border: 2px solid #000;
text-align: center;
padding: 12px 16px;
text-decoration: none;
margin: 5px;
background-color: #00c990;
font-size: 1.1vw;
transition: 0.4s ease;
}
.topnav a:hover {
background-color: #00efaa;
box-shadow: 4px 4px #404040;
}
.mobile-only {
display: none;
}
.footer {
width: /*71.5vw;*/100%;
}
}
.rev { unicode-bidi: bidi-override; direction: rtl; }
.obem { position: absolute; display:inline-block; z-index: -1; width: 0px; height: 0px; overflow: hidden; };