Template:Mdn.css: Difference between revisions

No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 55: Line 55:
align-items: center;
align-items: center;
padding: 1rem;
padding: 1rem;
margin: 1rem 0;
.text {
.text {
Line 85: Line 86:
font-size: 1rem;
font-size: 1rem;
font-family: var(--font) !important;
font-family: var(--font) !important;
border-bottom: 1px solid #cdcdcd;
p {
p {
Line 105: Line 108:
aspect-ratio: 512 / 77;
aspect-ratio: 512 / 77;
width: auto;
width: auto;
}
.mw-body-content h1 {
border: none;
font: 600 2.5rem / 1.2 var(--font);
display: flex;
align-items: start;
margin-bottom: 2rem;
.awesome, a {
display: contents;
}
.mw-headline { display: contents }
img {
width: 32px;
height: auto;
aspect-ratio: 1 / 1;
}
}
}


Line 123: Line 145:


#mw-panel {
#mw-panel {
position: relative;
display: none;
z-index: -1;
}
 
.toc {
grid-area: toc;
}
}