MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 128: | Line 128: | ||
.home-section-intro { | .home-section-intro { | ||
margin: 0 0 | margin: 0 0 28px 0; | ||
font-size: 1.25em; | font-size: 1.25em; | ||
line-height: 1.65; | line-height: 1.65; | ||
| Line 200: | Line 200: | ||
width: 100%; | width: 100%; | ||
align-items: start; | align-items: start; | ||
margin-bottom: | margin-bottom: 12px; | ||
} | } | ||
.grid-four .grid-item { | .grid-four .grid-item { | ||
display: | display: flex; | ||
flex-direction: column; | |||
align-items: | align-items: stretch; | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
| Line 215: | Line 215: | ||
line-height: 1.1; | line-height: 1.1; | ||
text-align: left; | text-align: left; | ||
margin: 0 0 | margin: 0 0 6px 0; | ||
height: | min-height: 2.2em; | ||
max-height: 2.2em; | |||
overflow: hidden; | |||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
word-break: normal; | |||
display: -webkit-box; | |||
-webkit-line-clamp: 2; | |||
-webkit-box-orient: vertical; | |||
} | } | ||
| Line 227: | Line 230: | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
margin: 0 | margin: 0; | ||
border: 1px solid #777; | border: 1px solid #777; | ||
} | } | ||
.grid-four .grid-text { | .grid-four .grid-text { | ||
margin-top: | margin-top: 12px; | ||
font-size: 1.1em; | font-size: 1.1em; | ||
line-height: 1. | line-height: 1.6; | ||
text-align: left; | text-align: left; | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
} | } | ||
| Line 244: | Line 246: | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: 20px; | gap: 20px; | ||
} | } | ||
.grid-four .grid-title { | .grid-four .grid-title { | ||
font-size: 24px; | font-size: 24px; | ||
height: | min-height: 2.2em; | ||
max-height: 2.2em; | |||
} | } | ||
} | } | ||
| Line 269: | Line 267: | ||
.grid-three .grid-item { | .grid-three .grid-item { | ||
display: | display: flex; | ||
flex-direction: column; | |||
align-items: | align-items: stretch; | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
.grid-three .grid-title { | .grid-three .grid-title { | ||
font-weight: bold; | |||
font-size: 26px; | |||
font-size: | |||
line-height: 1.1; | line-height: 1.1; | ||
text-align: left; | text-align: left; | ||
margin: 0 0 | margin: 0 0 6px 0; | ||
min-height: 2.2em; | |||
max-height: 2.2em; | |||
overflow: hidden; | |||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
display: -webkit-box; | |||
-webkit-line-clamp: 2; | |||
-webkit-box-orient: vertical; | |||
} | |||
.grid-three .grid-item img { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
margin: 0; | |||
border: 1px solid #777; | |||
} | } | ||
.grid-three .grid-text { | .grid-three .grid-text { | ||
font-size: 1. | margin-top: 12px; | ||
font-size: 1.08em; | |||
line-height: 1.6; | line-height: 1.6; | ||
text-align: left; | text-align: left; | ||
| Line 296: | Line 307: | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: 20px; | gap: 20px; | ||
} | } | ||
.grid-three .grid-title { | .grid-three .grid-title { | ||
font-size: 24px; | |||
font-size: | |||
} | } | ||
} | } | ||