MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 37: | Line 37: | ||
.welcome-image { | .welcome-image { | ||
width: 100%; | |||
float: none; | |||
padding-top: 0; | |||
} | |||
} | |||
.current-box { | |||
width: 100%; | |||
overflow: hidden; | |||
border: 1px solid #a2a9b1; | |||
background-color: #f0f0f0; | |||
} | |||
.current-header { | |||
font-weight: bold; | |||
font-size: 115%; | |||
} | |||
.current-text { | |||
width: 50%; | |||
float: left; | |||
text-align: center; | |||
background-color: #f0f0f0; | |||
} | |||
.current-media { | |||
width: 50%; | |||
float: left; | |||
padding-top: 2%; | |||
padding-bottom: 2%; | |||
background-color: #f0f0f0; | |||
} | |||
@media screen and (max-width: 768px) { | |||
.current-text { | |||
width: 100%; | |||
float: none; | |||
} | |||
.current-image { | |||
width: 100%; | width: 100%; | ||
float: none; | float: none; | ||
| Line 81: | Line 121: | ||
} | } | ||
@media screen and (max-width: | @media screen and (max-width: 768px) { | ||
.eras-table { | .eras-table { | ||
display: block; /* Switch to block for responsive layout */ | display: block; /* Switch to block for responsive layout */ | ||