WIP Session 1
This commit is contained in:
70
html/main.css
Normal file
70
html/main.css
Normal file
@@ -0,0 +1,70 @@
|
||||
:root {
|
||||
--bg-color: #222;
|
||||
--fg-color: #555;
|
||||
--text-color: #dbdbdb;
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-color, black);
|
||||
color: var(--text-color, white);
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 120ch;
|
||||
padding-inline: 2rem;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
margin-inline: .75rem;
|
||||
}
|
||||
|
||||
.datasets {
|
||||
padding-inline: 1rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, 1fr);
|
||||
grid-auto-columns: 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.datasets > li {
|
||||
min-width: 60ch;
|
||||
background-color: var(--fg-color, darkgrey);
|
||||
border-radius: 1rem;
|
||||
list-style: none;
|
||||
padding: 1rem 2rem;
|
||||
}
|
||||
|
||||
.datasets > li :is(h3, p) {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
/*
|
||||
.upvote {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.upvote button {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #4a90e2;
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.upvote button:hover {
|
||||
color: #ff9900;
|
||||
}
|
||||
|
||||
.upvote-count {
|
||||
font-size: 16px;
|
||||
color: #e1e1e1;
|
||||
}
|
||||
|
||||
*/
|
Reference in New Issue
Block a user