MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 76: | Line 76: | ||
/* What Do I Want Infobox */ | /* What Do I Want Infobox */ | ||
.infobox-idea { | .infobox-idea { | ||
clear: both; | |||
float: right; | |||
max-width: 300px; | |||
width: 100%; | |||
margin: 1em 0 1em 1em; | |||
background-color: var(--background-color, #f9f9f9); | background-color: var(--background-color, #f9f9f9); | ||
border: 1px solid #ccc; | |||
border-radius: 8px; | border-radius: 8px; | ||
max-width: | padding: 0.5em; | ||
box-sizing: border-box; | |||
} | |||
@media (max-width: 768px) { | |||
.infobox-idea { | |||
float: none; | |||
width: 100%; | |||
margin: 1em 0; | |||
} | |||
} | } | ||
| Line 135: | Line 145: | ||
.infobox-note { | .infobox-note { | ||
background-color: var(--infobox-note-bg, #f0f0f0); | |||
margin: 1em 0; | border-left: 4px solid #bbb; | ||
padding: 0.5em; | |||
margin: 1em 0 0.5em; | |||
font-size: 0.95em; | |||
} | } | ||
.infobox-list { | .infobox-list { | ||
padding-left: 1. | padding-left: 1.2em; | ||
margin-top: 0; | |||
font-size: 0.95em; | |||
list-style-type: disc; | |||
} | } | ||