wah.moe/public/css/master.css

242 lines
3.7 KiB
CSS
Raw Normal View History

2024-08-08 01:00:44 +00:00
@font-face {
font-family: 'BigBlue TerminalPlus';
src: url('/fonts/BigBlue_TerminalPlus.woff2') format('woff2'),
url('/fonts/BigBlue_TerminalPlus.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
@font-face {
font-family: pixel nes;
src: url("/fonts/Pixel_NES.eot?") format("eot"),
url("/fonts/Pixel_NES.woff") format("woff"),
url("/fonts/Pixel_NES.ttf") format("truetype");
font-style: normal;
font-weight: 400;
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
@font-face {
font-family: nec_apc3;
src: url("/fonts/Web437_NEC_APC3_8x16.woff") format("woff");
font-style: normal;
font-weight: 400;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
@font-face {
font-family: nec_apc3;
src: url("/fonts/Web437_Nix8810_M16.woff") format("woff");
font-style: normal;
font-weight: 700;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
@supports (-moz-appearance:none) {
h2 {
text-shadow: var(--firefox-shadow) var(--shadow) !important;
}
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
html,
body,
.container {
height: 100%;
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
body {
background-color: var(--background);
color: var(--foreground);
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
body,
button,
select {
font-family: russiangothic, ms ui gothic, "nec_apc3", Tahoma, sans-serif;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
h1,
h2,
h3,
h4 {
font-family: "pixel nes", sans-serif;
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
h1,
h2,
h3,
h4,
ul,
p {
margin: 0;
2023-06-13 22:07:20 +00:00
}
2024-07-12 20:49:58 +00:00
a {
color: var(--links);
text-decoration: underline dotted;
2023-07-28 22:44:35 +00:00
}
2024-07-12 20:49:58 +00:00
a:hover {
text-decoration: underline;
2023-07-28 22:44:35 +00:00
}
2024-08-08 01:00:44 +00:00
ul {
list-style: square;
padding-left: 0;
list-style-position: inside;
}
2024-08-08 01:00:44 +00:00
.container {
display: flex;
/*align-items: center;*/
justify-content: center;
}
2024-08-08 01:00:44 +00:00
.page {
min-width: var(--page-width);
max-width: var(--page-width);
}
2024-08-08 01:00:44 +00:00
.navbar {
border: var(--foreground) solid 1px;
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
.navbar ul {
2024-07-12 20:49:58 +00:00
list-style-type: none;
margin: 0;
2024-08-08 01:00:44 +00:00
padding: 0;
overflow: hidden;
2023-07-25 23:08:58 +00:00
}
2024-08-08 01:00:44 +00:00
.navbar li {
float: left;
border-right: solid var(--foreground) 1px;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.navbar li a {
display: block;
text-align: center;
color: var(--foreground);
text-decoration: none;
padding: 5px 7px 5px 5px;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.navbar li a:hover {
background-color: var(--foreground);
color: var(--background);
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.pathbar {
border: 1px solid var(--foreground);
padding: 5px;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.content {
display: flex;
flex-wrap: wrap;
gap: 10px;
padding: 0;
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
.section {
border: var(--foreground) 1px solid;
padding: 10px;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.sidebar {
flex-basis: var(--sidebar-width);
flex-grow: 1;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.main {
flex-basis: 0;
flex-grow: 999;
min-inline-size: 50%;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.navbar,
.content,
.header,
.footer {
margin: 10px 10px 0 0;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.header,
.footer,
.navbar {
padding: 5px;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.footer {
2024-07-12 20:49:58 +00:00
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 0;
grid-row-gap: 0;
2023-06-13 22:07:20 +00:00
}
2024-08-08 01:00:44 +00:00
.footer div:last-child {
2024-07-12 20:49:58 +00:00
text-align: right;
}
2024-08-08 01:00:44 +00:00
select {
background-color: var(--background-secondary);
2024-08-08 01:00:44 +00:00
border: 1px solid var(--foreground);
color: var(--foreground);
padding: 0.25em;
}
2024-08-08 01:00:44 +00:00
button {
background-color: var(--background);
2024-01-26 12:26:37 +00:00
color: var(--foreground);
2024-08-08 01:00:44 +00:00
border: 1px solid var(--foreground);
padding: 0.25em 0.5em;
2024-01-26 12:26:37 +00:00
}
2024-08-08 01:00:44 +00:00
button:hover {
2024-01-26 12:26:37 +00:00
background-color: var(--foreground);
2024-08-08 01:00:44 +00:00
color: var(--background);
2024-01-26 12:26:37 +00:00
}
2024-08-08 01:00:44 +00:00
img.pixel {
image-rendering: pixelated;
}
2024-08-08 01:00:44 +00:00
a.button,
a.button:hover {
text-decoration: none;
}
2024-08-08 01:00:44 +00:00
a.button:hover img {
opacity: 80%;
}
2024-08-08 01:00:44 +00:00
.main > .section,
.sidebar > .section {
margin-bottom: 10px;
}
2024-08-08 01:00:44 +00:00
.main > .section:last-child,
.sidebar > .section:last-child {
margin-bottom: 0;
}
2024-08-08 01:00:44 +00:00
.navbar-icon {
margin-right: 0.25em;
}
2024-08-08 01:00:44 +00:00
.navlinks {
padding-left: 10px;
}
2024-08-08 01:00:44 +00:00
.online-status {
display: inline;
}
2024-08-08 01:00:44 +00:00
.centerbox {
text-align: center;
}
2024-08-08 01:00:44 +00:00
.quote {
padding-left: 10px;
border-left: solid 2px var(--foreground);
}