wah.moe/public/css/master.css

238 lines
3.8 KiB
CSS
Raw Permalink Normal View History

2024-11-04 23:12:59 +00:00
:root {
2024-11-28 00:07:08 +00:00
--background: #f2efbd;
--foreground: #2a271c;
--border-color: #f27405;
--border: var(--border-color) 2px solid;
--shadow-color: hsla(11, 96%, 43%, 0.4);
--shadow: drop-shadow(8px 8px var(--shadow-color));
--shadow-small: drop-shadow(3px 3px var(--shadow-color));
--links: hsl(183, 93%, 27%);
--links-hover: hsl(183, 93%, 15%);
--table-header: hsla(11, 96%, 43%, 0.2);
}
html {
height: 100%;
color-scheme: light;
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
body {
2024-11-28 00:07:08 +00:00
color: var(--foreground);
min-height: 100%;
background-color: hsla(0, 0%, 0%, 0);
padding: 10px;
}
/*noinspection CssUnknownTarget*/
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
background-image: url("/images/background.jpg");
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.8;
background-size: cover;
background-attachment: fixed;
overflow: hidden;
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
h1,
h2,
h3,
h4,
2024-11-28 00:07:08 +00:00
h5,
h6 {
margin: 20px 0 0 0;
}
2024-11-04 23:12:59 +00:00
p,
2024-08-08 01:00:44 +00:00
ul,
2024-11-28 00:07:08 +00:00
ol,
dl,
menu,
dir {
2024-08-08 01:00:44 +00:00
margin: 0;
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
hr {
border: none;
border-top: var(--border);
}
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 {
2024-11-28 00:07:08 +00:00
color: var(--links-hover);
2024-11-04 23:12:59 +00:00
text-decoration: underline solid;
}
2024-11-28 00:07:08 +00:00
div.page-container {
width: 800px;
margin: 5px auto;
2024-07-12 20:49:58 +00:00
}
2024-11-28 00:07:08 +00:00
div.page-container > div {
background-color: var(--background);
filter: var(--shadow);
padding: 10px;
border: var(--border);
margin-bottom: 20px;
/* temporary */
/* height: 600px; */
2023-07-25 23:08:58 +00:00
}
2024-11-28 00:07:08 +00:00
div.page-container > div:last-child {
margin-bottom: 0;
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
div#header h1 {
margin: 0;
font-style: italic;
}
div#header h1,
div#header p {
display: inline;
}
div#content {
position: relative;
}
div#content::after {
display: block;
content: "";
clear: both;
}
div.wah {
float: right;
border: var(--border);
padding: 5px;
filter: var(--shadow-small);
background-color: var(--background);
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
div.wah img {
display: block;
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
div.wah h3,
div.wah p {
text-align: center;
margin: 5px 0;
font-style: italic;
}
div.wah p {
2024-11-04 23:12:59 +00:00
margin-bottom: 0;
2024-07-12 20:49:58 +00:00
}
2024-11-28 00:07:08 +00:00
div.wah img {
width: 250px;
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
div#footer {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
align-items: center;
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
div#footer div:last-child {
text-align: right;
}
div#footer div:last-child img {
image-rendering: pixelated;
margin: 0;
padding: 0;
width: 88px;
height: 31px;
}
/** Guestbook **/
table.form input,
table.form textarea,
table.form button {
2024-11-04 23:12:59 +00:00
background-color: var(--background);
border: var(--border);
2024-11-28 00:07:08 +00:00
filter: var(--shadow-small);
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
table.form input,
table.form textarea {
width: 250px;
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
table.form button:hover {
background-color: var(--border-color);
color: var(--background);
filter: none;
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
table.form tr td,
table.gb-entry-form-container td:last-child {
vertical-align: top;
2023-06-13 22:07:20 +00:00
}
2024-11-28 00:07:08 +00:00
div.gb-entry {
border: var(--border);
filter: var(--shadow-small);
background-color: var(--background);
width: 75%;
padding: 10px;
}
2024-11-28 00:07:08 +00:00
/** Music **/
table.music-top10 {
border: var(--border);
filter: var(--shadow-small);
background-color: var(--background);
border-collapse: collapse;
}
2024-11-28 00:07:08 +00:00
table.music-top10 th,
table.music-top10 td {
padding: 2px 5px;
}
2024-11-28 00:07:08 +00:00
table.music-top10 th:first-child {
text-align: left;
}
2024-11-28 00:07:08 +00:00
table.music-top10 tr:first-child th {
border-right: var(--border);
border-bottom: var(--border);
}
2024-11-28 00:07:08 +00:00
table.music-top10 tr:first-child th:last-child {
border-right: none;
}
table.music-top10 tr td {
border-right: var(--border);
}
table.music-top10 tr td:last-child {
border-right: none;
}
table.music-top10 tr:first-child th,
table.music-top10 tr td:first-child {
background-color: var(--table-header);
}
/** Bookmarks **/
div.bookmark-category:first-child h2 {
margin: 0;
}