fix directory structure
This commit is contained in:
parent
27a83ae350
commit
afc7aca8e0
15 changed files with 0 additions and 0 deletions
115
index.css
Normal file
115
index.css
Normal file
|
@ -0,0 +1,115 @@
|
|||
:root {
|
||||
font-family: sans-serif;
|
||||
font-size: 1em;
|
||||
|
||||
--main-1: rgb(13, 12, 17);
|
||||
--main-2: rgb(42, 40, 53);
|
||||
--main-3: rgb(223, 201, 176);
|
||||
--main-4: rgb(248, 246, 224);
|
||||
--width: min(800px, calc(100vw - 80px));
|
||||
|
||||
color: var(--main-3);
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--main-1);
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.main {
|
||||
background-color: var(--main-2);
|
||||
padding: 20px;
|
||||
width: var(--width);
|
||||
margin: auto;
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.header {
|
||||
color: var(--main-4);
|
||||
margin-top: 5px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.scroller {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
width: calc(var(--width));
|
||||
}
|
||||
|
||||
.item-desc {
|
||||
position: relative;
|
||||
top: -200px;
|
||||
color: var(--main-4);
|
||||
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.75));
|
||||
font-size: 0.8em;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.item-img,
|
||||
.item-desc,
|
||||
.item {
|
||||
width: max(155px, calc(var(--width) / 3 - 11px));
|
||||
height: 200px;
|
||||
object-fit: cover;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
object-position: center;
|
||||
}
|
||||
|
||||
.item {
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
.main,
|
||||
.item,
|
||||
.item-desc,
|
||||
.item-img,
|
||||
table {
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.item-a,
|
||||
.item-desc p {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.item-a {
|
||||
margin-top: 5px;
|
||||
display: block;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.item-a,
|
||||
.link {
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.item-ico {
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.art {
|
||||
height: 150px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 600px) {
|
||||
.art {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.item-marked p::marker {
|
||||
display: inline;
|
||||
content: "- ";
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.item-marked p {
|
||||
display: list-item;
|
||||
margin-left: 1.8em;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue