Vorlage:Professorenbox/style.css
Zur Navigation springen
Zur Suche springen
.professorenbox {
border-radius: 0.5em;
display: grid;
padding: 2px;
gap: 2px;
border: 4px solid #505050;
background: #F5F5F5;
margin-top: 5px;
text-align: center;
}
.professorenbox > div:first-child a {
font-size: large;
color: #505050;
}
.professorenbox > div:nth-child(2) {
display: flex;
flex-wrap: wrap;
align-items: stretch;
justify-content: center;
gap: 2px;
}
.professorenbox > div:nth-child(2) div {
border-radius: 0.5em;
background: #EAEAEA;
flex-grow: 1;
flex-basis: 33%;
}
.professorenbox > div:nth-child(2) .clicktoggle-active {
background: #D9D9D9;
}
.professorenbox > div:nth-child(3) {
display: grid;
grid-template-columns: repeat(16, 1fr);
grid-auto-rows: 1fr;
gap: 2px;
}
.professorenbox > div:nth-child(4) {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(3, 1fr);
gap: 2px;
}
.professorenbox > div:nth-child(5) {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2px;
}
.professorenbox > div:nth-child(3) > div > *:last-child,
.professorenbox > div:nth-child(4) > div > *:last-child,
.professorenbox > div:nth-child(5) > div > *:last-child {
font-size: smaller;
}
.professorenbox > div:nth-child(3) > div,
.professorenbox > div:nth-child(4) > div,
.professorenbox > div:nth-child(5) > div {
border-radius: 0.5em;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
/* [[Kategorie:Vorlage:Non-Wikitext]] */