willow/ws/static/styles.css

80 lines
1.1 KiB
CSS
Raw Normal View History

2023-10-28 17:11:51 +00:00
/*
* SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
*
* SPDX-License-Identifier: CC0-1.0
*/
html {
max-width: 500px;
margin: auto auto;
color: #2f2f2f;
background: white;
}
a {
color: #0640e0;
}
a:visited {
color: #0640e0;
}
.project {
max-width: 500px;
border: 2px solid #2f2f2f;
background: #f8f8f8;
border-radius: 5px;
margin-top: 20px;
padding: 20px 20px 0 20px;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.project > h2 {
margin-top: 0;
}
2023-10-29 03:30:19 +00:00
.project > p:first-of-type {
margin-bottom: 16px;
}
.project > h2 > span {
font-size: 12px;
float: right;
}
body > h1 > span {
font-size: 12px;
float: right;
}
.project > details > pre {
overflow: scroll;
}
summary {
cursor: pointer;
}
details summary > * {
display: inline;
}
@media (prefers-color-scheme: dark) {
html {
background: #171717;
color: #ccc;
}
a {
color: #5582ff;
}
a:visited {
color: #5582ff;
}
.project {
border: 2px solid #ccc;
background: #1c1c1c;
}
}