Commit 1ce7fdb2 authored by Jakob Moser's avatar Jakob Moser
Browse files

Add pill styles

parent 52f6d2e3
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -782,6 +782,29 @@ div.home-news-sidebar .more {
	display: block;
}

/* Pills (a rounded group of multiple button-like entries, one of which can be active (red background), inactive
 entries have a white background (therefore making the whole thing looking somewhat like a pill)*/
.pill {
    border: 2px solid #900;
    margin: 0;
    border-radius: 10px;
    display: inline-flex;
}
.pill li {
    display: inline;
    list-style: none;
    border-right: 2px solid #900;
    padding: 0 7px;
    cursor: pointer;
}
.pill li:last-child {
    border: none;
}
.pill li.active {
    background-color: #900;
    color: white;
}

@media(max-width: 830px) {
	#menu-container {
		display: inherit;