Template:Main page/styles.css: Difference between revisions
Wikivahdat (talk | contribs) (Created page with ".mp-topbanner { text-align: center; width: 90%; margin: 0 auto; margin-bottom: 20px; } .mp-welcome p, .mp-description p { margin: 0; display: inline-block; padding: 0 5px; } .mp-welcome { font-size: 31px; color: #999; } .mp-welcome .mp-welcome-title, .mp-description .colored a { color: #0181A7 !important; } .mp-description { font-size: 16px; color: #666; margin-bottom: 5px; border-bottom: 1px solid #e0e0e0; padding: 5px 0 10px 0; } .mp-welcome...") |
Wikivahdat (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
.mp-topbanner { | .mp-topbanner { | ||
text-align: center; | text-align: center; | ||
margin: 25px 0; | |||
text-shadow: 1px 1px 2px #f8f9fa; | |||
margin: 0; | |||
} | } | ||
.mp-welcome { | .mp-welcome { | ||
font-size: | font-size: 30px; | ||
color: # | font-weight: bold; | ||
color: #777; | |||
} | } | ||
.mp-welcome-title { | |||
color: #0181A7 | color: #0181A7; | ||
} | } | ||
.mp-description { | .mp-description { | ||
font-size: 16px; | font-size: 16px; | ||
margin-bottom: 5px; | margin-bottom: 5px; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #eaecf0; | ||
padding: 5px 0 10px 0; | padding: 5px 0 10px 0; | ||
} | } | ||
.mp-menu { | .mp-menu { | ||
border-bottom: 1px solid # | margin-bottom: 5px; | ||
border-bottom: 1px solid #eaecf0; | |||
padding: 5px 0 10px 0; | |||
} | } | ||
#mp-upper, #mp-bottom { | |||
display: | display: flex; | ||
} | } | ||
#mp-article, #mp-help { | |||
flex: 1 1 67%; | |||
margin-left: 2px; | |||
display: flex; | display: flex; | ||
flex-direction: column; | |||
} | } | ||
#mp- | #mp-article-box, #mp-help-box { | ||
margin-left: .3em; | |||
margin- | margin-bottom: 1em; | ||
padding: 0 | padding: 1em; | ||
border-radius: 0.25em; | |||
border: 1px solid #eee; | |||
box-shadow: 0 0 1rem #eee; | |||
} | } | ||
#mp- | #mp-article-box { | ||
background: #fff; | |||
} | } | ||
#mp- | #mp-help-box { | ||
background: #f8f9fa; | |||
} | } | ||
#mp- | #mp-sidebar { | ||
flex: 1 1 33%; | |||
} | } | ||
#mp-sidebar-box { | |||
margin-right: .3em; | |||
margin-bottom: 1em; | |||
padding: 1em; | |||
background: #f5faff; | |||
border-radius: 0.25em; | |||
border: 1px solid #eee; | |||
box-shadow: 0 0 1rem #eee; | |||
} | } | ||
.mp-h2 { | .mp-h2 { | ||
padding: 10px; | padding: 10px; | ||
border-radius: | border-radius: 0.25em; | ||
background: # | background: #c6defe; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } | ||
Line 102: | Line 80: | ||
font-size: 15px; | font-size: 15px; | ||
position: relative; | position: relative; | ||
padding- | padding-right: 45px; | ||
} | } | ||
.mp-h2 span:before { | |||
width: 43px; | width: 43px; | ||
height: 43px; | height: 43px; | ||
position: absolute; | position: absolute; | ||
right: -1px; | |||
top: - | top: -9px; | ||
content: " "; | content: " "; | ||
} | } | ||
#mp-more { | |||
float: | float: left; | ||
margin-left: 10px; | |||
margin- | |||
} | } | ||
#mp-new ol { | #mp-new ol { | ||
margin: 10px 10px 0 0; | margin: 10px 10px 0 0; | ||
padding: 0 | padding: 0; | ||
} | } | ||
Line 141: | Line 112: | ||
height: 5px; | height: 5px; | ||
background-color: #00528C; | background-color: #00528C; | ||
float: | float: right; | ||
margin: 7px 0 0 7px; | margin: 7px 0 0 7px; | ||
border-radius: 50%; | border-radius: 50%; | ||
} | |||
#badge { | |||
font-weight: bold; | |||
color: goldenrod; | |||
} | } | ||
@media (max-width: 875px) { | @media (max-width: 875px) { | ||
.mp-topbanner { | .mp-topbanner { | ||
margin | margin: 5px 0; | ||
} | } | ||
Line 156: | Line 132: | ||
.mp-menu { | .mp-menu { | ||
border-bottom: | border-bottom: 0; | ||
} | } | ||
.mp-menu .hlist > ul li { | |||
margin-left: 0; | |||
} | |||
#mp-upper { | #mp-upper, #mp-bottom { | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
#mp-article-box { | |||
margin-left: 0; | |||
margin | |||
} | } | ||
#mp-help-box { | |||
background: #f5faff; | |||
} | } | ||
} | } |
Revision as of 06:29, 2 June 2023
.mp-topbanner {
text-align: center;
margin: 25px 0;
text-shadow: 1px 1px 2px #f8f9fa;
}
.mp-welcome {
font-size: 30px;
font-weight: bold;
color: #777;
}
.mp-welcome-title {
color: #0181A7;
}
.mp-description {
font-size: 16px;
margin-bottom: 5px;
border-bottom: 1px solid #eaecf0;
padding: 5px 0 10px 0;
}
.mp-menu {
margin-bottom: 5px;
border-bottom: 1px solid #eaecf0;
padding: 5px 0 10px 0;
}
#mp-upper, #mp-bottom {
display: flex;
}
#mp-article, #mp-help {
flex: 1 1 67%;
margin-left: 2px;
display: flex;
flex-direction: column;
}
#mp-article-box, #mp-help-box {
margin-left: .3em;
margin-bottom: 1em;
padding: 1em;
border-radius: 0.25em;
border: 1px solid #eee;
box-shadow: 0 0 1rem #eee;
}
#mp-article-box {
background: #fff;
}
#mp-help-box {
background: #f8f9fa;
}
#mp-sidebar {
flex: 1 1 33%;
}
#mp-sidebar-box {
margin-right: .3em;
margin-bottom: 1em;
padding: 1em;
background: #f5faff;
border-radius: 0.25em;
border: 1px solid #eee;
box-shadow: 0 0 1rem #eee;
}
.mp-h2 {
padding: 10px;
border-radius: 0.25em;
background: #c6defe;
margin-bottom: 10px;
}
.mp-h2 span {
font-size: 15px;
position: relative;
padding-right: 45px;
}
.mp-h2 span:before {
width: 43px;
height: 43px;
position: absolute;
right: -1px;
top: -9px;
content: " ";
}
#mp-more {
float: left;
margin-left: 10px;
}
#mp-new ol {
margin: 10px 10px 0 0;
padding: 0;
}
#mp-new ol li {
list-style: none;
}
#mp-new ol li:before {
content: "";
line-height: 1em;
width: 5px;
height: 5px;
background-color: #00528C;
float: right;
margin: 7px 0 0 7px;
border-radius: 50%;
}
#badge {
font-weight: bold;
color: goldenrod;
}
@media (max-width: 875px) {
.mp-topbanner {
margin: 5px 0;
}
.mp-welcome {
font-size: 24px;
}
.mp-menu {
border-bottom: 0;
}
.mp-menu .hlist > ul li {
margin-left: 0;
}
#mp-upper, #mp-bottom {
flex-direction: column;
}
#mp-article-box {
margin-left: 0;
}
#mp-help-box {
background: #f5faff;
}
}