scratch-feed/css/app.css

153 lines
No EOL
1.9 KiB
CSS

:root {
font-family: system-ui, sans-serif;
--dark-1: rgb(64, 64, 64);
--dark-2: rgb(128, 128, 128);
--dark-3: rgb(228, 228, 228);
--dark-4: rgb(255, 255, 255);
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgb(202, 202, 202));
background-size: 100vw 100vh !important;
background-repeat: repeat !important;
background-attachment: fixed !important;
}
textarea {
width: 200px;
height: 200px;
}
section {
max-width: 90vw;
width: 800px;
margin-left: auto;
margin-right: auto;
background: rgb(255, 255, 255);
border: solid rgb(200, 200, 200) 2px;
border-radius: 10px;
padding: 15px;
}
a {
text-decoration: none;
}
section#area-main {
width: 90vw;
margin-top: 15px;
}
sub {
color: rgb(33, 156, 70);
display: block;
}
h1 {
margin-top: 0;
}
.content {
background: var(--dark-4);
max-width: 95vw;
padding: 10px;
width: 800px;
margin: auto;
}
input, button, textarea {
padding: 0.2rem;
margin: 0.2rem;
display: block;
border: solid var(--dark-2) 1px;
border-radius: 0.2rem;
background: var(--dark-3);
font-family: system-ui, sans-serif;
}
textarea {
font-family: monospace;
}
.header {
background: var(--dark-1);
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
position: sticky;
top: 0;
}
img {
height: 3rem;
margin: 0.5rem;
display: block;
width: 40vmin;
height: auto;
}
.header a {
margin: 0.5rem;
}
.header a {
color: var(--dark-4);
}
pre {
overflow: scroll;
}
#area-main {
display: flex;
flex-wrap: wrap;
}
#area-main.nogrid {
display: block;
}
.proj {
text-align: center;
max-width: 240px;
margin: 10px;
}
.proj img {
width: 240px;
}
.eras, .contributors {
overflow: scroll;
height: 180px;
}
.eras a {
margin-right: 10px;
}
.buttons {
display: flex;
}
.user {
width: 60px;
height: 60px;
border-radius: 60px;
}
.commenter {
display: flex;
}
pre {
max-width: 500px;
white-space: pre-wrap;
}
.commenter > div {
margin-bottom: 30px;
}