css: refactor notice box css.
* Remove .ui-corner-all, .ui-state-highlight, .ui-state-error classes from notice boxes. * Use .notice, .notice-info, .notice-error classes instead. * Replace <p> elements in notices with <div>'s so that we don't have to work around the `margin-bottom: 1em` from <p> elements. * Replace <h1> elements in notices with <h2>. * Standardize info notices to use the same shade of light yellow in the light theme.
This commit is contained in:
@@ -232,12 +232,10 @@ div#c-posts {
|
||||
}
|
||||
|
||||
.post-notice {
|
||||
font-size: 0.8em;
|
||||
margin: 0.5em 0;
|
||||
padding: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
overflow: hidden;
|
||||
border: var(--post-notice-border);
|
||||
border-radius: 3px;
|
||||
|
||||
ul.post-flag-reasons, ul.post-appeal-reasons {
|
||||
list-style: inside;
|
||||
@@ -260,7 +258,7 @@ div#c-posts {
|
||||
&.post-notice-deleted { background: var(--post-deleted-notice-background); }
|
||||
&.post-notice-appealed { background: var(--post-appealed-notice-background); }
|
||||
&.post-notice-resized { background: var(--post-resized-notice-background); }
|
||||
&.post-notice-search { background: var(--post-search-notice-background); font-size: 1em; }
|
||||
&.post-notice-search { background: var(--post-search-notice-background); }
|
||||
}
|
||||
|
||||
aside#sidebar #tag-list h2 {
|
||||
|
||||
@@ -1,13 +1,3 @@
|
||||
div#c-wiki-pages {
|
||||
#a-new {
|
||||
div.notice {
|
||||
font-size: 0.8em;
|
||||
padding: 1em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wiki-other-name {
|
||||
background-color: var(--wiki-page-other-name-background-color);
|
||||
padding: 3px;
|
||||
|
||||
Reference in New Issue
Block a user