File size: 1,648 Bytes
88ec217 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
.header {
margin: 1rem;
padding-bottom: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
font-family: 'Roboto Mono', monospace;
border-bottom: 2px solid var(--color-primary-fill-color);
}
.header-title {
display: flex;
align-items: center;
gap: 1rem;
}
.header-title p {
margin: 0;
color: var(--color-primary-text);
font-size: 1rem;
}
.header-title a {
font-size: var(--text-size-header-label);
opacity: var(--text-opacity);
color: var(--color-primary-text);
}
.header-title .reddit-logo {
width: 2rem;
height: 2rem;
background: #FF4500;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.25rem;
}
.header-info {
display: flex;
gap: 3rem;
color: var(--color-primary-text);
}
.header-info div {
display: flex;
flex-direction: column;
gap: 2px;
}
.header-info .label {
font-size: var(--text-size-header-label);
opacity: 0.6;
}
.header-info .value {
font-size: var(--text-size-header-value);
}
@media (max-width: 1090px) {
.header {
padding: 0;
flex-direction: column;
justify-items: space-around;
}
.header-info {
margin-top: 1rem;
margin-bottom: 1rem;
}
}
@media (max-width: 768px) {
.header {
gap: .5rem;
text-align: center;
}
.header-info {
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
}
}
@media (max-width: 480px) {
.header {
margin: .5rem;
}
.header-info {
margin: .5rem;
}
} |