MediaWiki:Common.css: Difference between revisions
m
Cumbersome css
-u ndefined- (talk | contribs) m (The images go out-of-bounds) |
-u ndefined- (talk | contribs) m (Cumbersome css) |
||
Line 95: | Line 95: | ||
} | } | ||
.main- | .main-column-box { | ||
border: 3px solid #000; | border: 3px solid #000; | ||
border-radius: 20px; | border-radius: 20px; | ||
Line 102: | Line 102: | ||
margin-bottom: 0.4em; | margin-bottom: 0.4em; | ||
padding: 0.4em 0.4em 1em; | padding: 0.4em 0.4em 1em; | ||
} | |||
.main-welcome-box { | |||
border: 3px solid #000; | |||
border-radius: 20px; | |||
box-shadow: 0px -10px #0004 inset; | |||
margin-bottom: 0.4em; | |||
padding: 0.4em 0.4em 1em; | |||
display: grid; | |||
grid-template-columns: auto auto; | |||
grid-column-gap: 0.4em; | |||
} | |||
.main-image { | |||
margin: auto; | |||
border-right: inherit; | |||
} | |||
@media only screen and (max-width: 600px) { | |||
.main-welcome-box { | |||
grid-template-columns: auto; | |||
} | |||
.main-image { | |||
margin: auto; | |||
border-right: none; | |||
border-bottom: inherit; | |||
} | |||
} | } |