Template:Tech news nav/styles.css
Appearance
.tech-news-nav {
width: 100%;
margin: 2px 0;
border: solid #eee8d5;
border-width: 1px 0;
padding: .3em 0;
color: var(--color-base, #202122);
background-color: var(--background-color-warning-subtle, #fdf6e3);
font-size: 90%;
}
.tech-news-nav td {
width: 20%;
background-size: 5px 5px;
background-repeat: no-repeat;
}
.tech-news-nav td:nth-child(2) {
width: 60%;
text-align: center;
font-weight: bold;
}
.tech-news-nav[dir="ltr"] td:nth-child(1),
.tech-news-nav[dir="rtl"] td:nth-child(3) {
/* @noflip */
text-align: left;
/* @noflip */
padding-left: 15px;
/* [[File:TriangleArrow-Left.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/1/16/TriangleArrow-Left.svg);
/* @noflip */
background-position: left;
}
.tech-news-nav[dir="ltr"] td:nth-child(3),
.tech-news-nav[dir="rtl"] td:nth-child(1) {
/* @noflip */
text-align: right;
/* @noflip */
padding-right: 15px;
/* [[File:TriangleArrow-Right.svg]] */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/2/24/TriangleArrow-Right.svg);
/* @noflip */
background-position: right;
}