2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-header"] {
|
2023-03-23 21:55:34 +01:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 900px;
|
|
|
|
margin: 60px auto 0;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a {
|
2023-03-23 21:55:34 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: left;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 5px;
|
|
|
|
border-bottom: none;
|
2023-03-24 22:57:01 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a video {
|
2023-03-24 22:57:01 +01:00
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
object-fit: cover;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 5px;
|
2023-03-23 21:55:34 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(1) {
|
2023-03-23 21:55:34 +01:00
|
|
|
grid-column: 1/4;
|
|
|
|
grid-row: 1/3;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(2) {
|
2023-03-23 21:55:34 +01:00
|
|
|
grid-row: 3/6;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(3) {
|
2023-03-23 21:55:34 +01:00
|
|
|
grid-column: 2/4;
|
|
|
|
grid-row: 3/5;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-header"] div[class="index-header-right"] {
|
2023-03-23 21:55:34 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: right;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-header"] div[class="index-header-right"] a {
|
2023-03-23 21:55:34 +01:00
|
|
|
border-bottom: none;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] {
|
2023-03-23 21:55:34 +01:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
|
|
grid-auto-rows: minmax(200px, auto);
|
|
|
|
gap: 10px;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 900px;
|
|
|
|
margin: 10px auto;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a button {
|
2023-03-23 21:55:34 +01:00
|
|
|
padding: 1px 5px;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] button i {
|
2023-04-05 23:40:14 +02:00
|
|
|
font-size: 1.8em;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] button[data-active="true"] {
|
2023-03-23 21:55:34 +01:00
|
|
|
background: var(--primary);
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] button[data-active="true"] i {
|
2023-04-05 23:40:14 +02:00
|
|
|
color: var(--tertiary);
|
2023-03-23 21:55:34 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] button[data-active="false"] {
|
2023-03-23 21:55:34 +01:00
|
|
|
background: var(--secondary);
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] button[data-active="false"] i {
|
2023-03-23 21:55:34 +01:00
|
|
|
fill: var(--primary);
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] aside {
|
2023-03-23 21:55:34 +01:00
|
|
|
font-size: 1.1em;
|
|
|
|
color: var(--white);
|
|
|
|
text-shadow: 2px 2px 2px var(--black);
|
|
|
|
padding: 10px;
|
2023-03-24 22:57:01 +01:00
|
|
|
z-index: 10;
|
2023-03-23 21:55:34 +01:00
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] hr {
|
2023-03-23 21:55:34 +01:00
|
|
|
color: var(--white);
|
|
|
|
border: 0.1px solid;
|
|
|
|
margin: 7px 0;
|
|
|
|
}
|
2023-04-05 23:40:14 +02:00
|
|
|
|
|
|
|
@media only screen and (max-width: 900px) {
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-header"],
|
|
|
|
section[class="index-recent-pages"] {
|
2023-04-05 23:40:14 +02:00
|
|
|
width: 97%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 520px) {
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] {
|
2023-04-05 23:40:14 +02:00
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(1) {
|
2023-04-05 23:40:14 +02:00
|
|
|
grid-column: 1/3;
|
|
|
|
grid-row: 1/2;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(2) {
|
2023-04-05 23:40:14 +02:00
|
|
|
grid-row: 2/3;
|
|
|
|
grid-column: 1/2;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(3) {
|
2023-04-05 23:40:14 +02:00
|
|
|
grid-column: 2/3;
|
|
|
|
grid-row: 2/3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 350px) {
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(2) {
|
2023-04-05 23:40:14 +02:00
|
|
|
grid-column: 1/3;
|
|
|
|
grid-row: 2/3;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(3) {
|
2023-04-05 23:40:14 +02:00
|
|
|
grid-column: 1/3;
|
|
|
|
grid-row: 3/4;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(4) {
|
2023-04-05 23:40:14 +02:00
|
|
|
grid-column: 1/3;
|
|
|
|
grid-row: 4/5;
|
|
|
|
}
|
|
|
|
|
2023-07-31 23:21:54 +02:00
|
|
|
section[class="index-recent-pages"] a:nth-child(5) {
|
2023-04-05 23:40:14 +02:00
|
|
|
grid-column: 1/3;
|
|
|
|
grid-row: 5/6;
|
|
|
|
}
|
|
|
|
}
|