nohlelo.co.za/res/asset-index-style.css

72 lines
1.2 KiB
CSS
Raw Permalink Normal View History

2025-03-18 22:30:26 +02:00
#ndx-ndx {
2025-03-20 16:21:55 +02:00
display: -webkit-box;
display: -ms-flexbox;
2025-03-18 22:30:26 +02:00
display: flex;
2025-03-20 16:21:55 +02:00
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
2025-03-18 22:30:26 +02:00
flex-direction: row;
2025-03-20 16:21:55 +02:00
-ms-flex-wrap: wrap;
2025-03-18 22:30:26 +02:00
flex-wrap: wrap;
2025-03-20 16:21:55 +02:00
-webkit-box-pack: space-evenly;
-ms-flex-pack: space-evenly;
2025-03-19 15:36:34 +02:00
justify-content: space-evenly;
2025-03-18 22:30:26 +02:00
}
2025-03-19 12:48:40 +02:00
#ndx-ndx > section {
2025-03-19 15:36:34 +02:00
margin: 10px 10px auto 10px;
2025-03-19 12:48:40 +02:00
}
2025-03-18 22:30:26 +02:00
#ndx-ndx article > :last-child {
margin-bottom: 5px;
}
#ndx-news,
#ndx-more {
2025-03-20 16:21:55 +02:00
display: -webkit-box;
display: -ms-flexbox;
2025-03-18 22:30:26 +02:00
display: flex;
2025-03-20 16:21:55 +02:00
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
2025-03-18 22:30:26 +02:00
flex-direction: column;
2025-03-19 15:29:31 +02:00
width: min(90%, 500px);
2025-03-18 22:30:26 +02:00
}
#ndx-news article,
#ndx-more article {
border: var(--text) solid 3px;
padding: 15px;
margin: 20px 0;
}
#ndx-decree {
2025-03-19 15:29:31 +02:00
width: min(90%, 670px);
2025-03-18 22:30:26 +02:00
text-align: center;
border: var(--text) double 8px;
}
#ndx-decree ul {
padding: 0;
}
#ndx-decree ul li {
list-style-type: none;
}
#ndx-decree table {
margin: auto;
}
#ndx-decree table tr td:first-child {
text-align: right;
}
#ndx-decree table tr td:last-child {
text-align: left;
}
#ndx-news h1,
#ndx-news h2 {
margin: 5px auto;
}
#ndx-news h2 {
color: var(--subtext);
font-size: small;
}
#ndx-more img {
width: 100%;
}