Files
amane-tanikaze-frontend/src/css/content.css
2024-10-13 14:02:02 +00:00

61 lines
1.2 KiB
CSS

div#image-col {
position: absolute;
top: calc(10% + 1.6rem);
left: min(15vw, 70px);
width: calc(100% - min(15vw, 70px));
height: calc(90% - 1.6rem);
}
div.image-row.container {
flex-flow: column nowrap;
align-items: start;
width: calc(100% - 1rem);
margin: 0.5rem;
border: 0.1rem solid #cccccc;
border-radius: 1rem;
}
span.anchor {
position: absolute;
margin-top: calc(-10% - 2rem);
}
div.image-row.container:nth-child(odd) {
background-color: #fefefe;
}
div.image-row.container:nth-child(even) {
background-color: #f0f0f0;
}
div.image-row.element {
height: 100%;
}
h3.image-row.element {
font-size: max(min(3vw, 1.2rem), 10px);
margin: 0.5rem 1rem;
}
div.image.container {
flex-flow: row wrap;
height: 100%;
}
img.image.element {
height: min(25vw, 7rem);
max-width: 16rem;
margin: 0 1rem;
padding: 1rem 0;
}
div.navigate.container {
justify-content: space-around;
width: 100%;
}
button.navigate.element {
height: 2rem;
min-width: 15vw;
font-size: 1rem;
padding: 0 12px;
border: 1px solid grey;
border-radius: 5px;
margin: 5px 10px;
background-color: #eeeeee;
}
button.navigate.element:hover {
background-color: #cccccc;
border: 1px solid grey;
}