Widget:Заглавная страница.css: различия между версиями
Материал из Ролевой сервер "tales.pw"
Xunto (обсуждение | вклад) |
Xunto (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
<style> | <style> | ||
| − | + | h1 { | |
| − | + | display: none; | |
| − | + | font-size: 0; | |
| − | + | } | |
| − | + | ||
| − | + | .mw-body { | |
| − | + | padding: 0; | |
| − | + | margin-bottom: 0; | |
| − | + | } | |
| − | + | ||
| − | + | .container { | |
| − | + | padding: 0; | |
| − | + | margin-bottom: 0; | |
| − | + | } | |
| − | + | ||
| − | + | h3 a { | |
| − | + | color: black !important; | |
| − | + | } | |
| − | + | ||
| − | + | .external:hover { | |
| − | + | color: white; | |
| − | + | } | |
| − | + | ||
| − | + | #online { | |
| − | + | display: flex; | |
| − | + | align-items: center; | |
| − | + | justify-content: space-around; | |
| − | + | ||
| − | + | background: #f5f5f5; | |
| − | + | ||
| − | + | height: 100px; | |
| − | + | } | |
| − | + | ||
| − | + | #online > * { | |
| − | + | margin: 0; | |
| − | + | } | |
| − | + | ||
| − | + | #main_menu { | |
| − | + | box-shadow: inset 0px 10px 10px -10px rgba(0,0,0,0.75); | |
| − | + | padding: 15px; | |
| − | + | } | |
| − | + | ||
| − | + | #main_menu h3 { | |
| − | + | padding-top: 0; | |
| − | + | padding-bottom: 30px; | |
| − | + | margin: 0; | |
| − | + | } | |
| − | + | ||
| − | + | #community { | |
| − | + | background: #cecece; | |
| − | + | box-shadow: inset 0px 10px 10px -10px rgba(0,0,0,0.75); | |
| − | + | padding: 15px; | |
| − | + | } | |
| − | + | ||
| − | + | #community h3 { | |
| − | + | padding: 15px; | |
| − | + | } | |
| − | + | ||
| − | + | .main_page_menu img { | |
| − | + | background: #343A40; | |
| − | + | } | |
| − | + | ||
| − | + | .main_page_menu h3 { | |
| − | + | color: black !important; | |
| − | + | } | |
| − | + | ||
| − | + | .main_page_menu a { | |
| − | + | color: white !important; | |
| − | + | } | |
| − | + | ||
| − | + | ||
| − | + | .main_page_menu .text_block a { | |
| − | + | color: white; | |
| − | + | } | |
| − | + | ||
| − | + | .main_page_menu .text_block { | |
| − | + | display: flex; | |
| − | + | flex-direction: column; | |
| − | + | justify-content: center; | |
| − | + | margin:0 auto; | |
| − | + | ||
| − | + | color: white; | |
| − | + | background:#343A40; | |
| − | + | ||
| − | + | height: 55px; | |
| − | + | } | |
| − | + | ||
| − | + | .main_page_img { | |
| − | + | height: auto; | |
| − | + | width: 100%; | |
| − | + | min-width: 100px; | |
| − | + | max-width: 200px; | |
| − | + | } | |
| − | + | ||
| − | + | .main_page_img_wide { | |
| − | + | height: auto; | |
| − | + | width: 100%; | |
| − | + | min-width: 150px; | |
| − | + | max-width: 300px; | |
| − | + | } | |
| − | + | ||
| − | + | .tile_2 { | |
| − | + | margin-left: 20px; | |
| − | + | margin-right: 20px; | |
| − | + | } | |
| − | + | ||
| − | + | .tile .text_block { | |
| − | + | display: flex; | |
| − | + | flex-direction: column; | |
| − | + | justify-content: center; | |
| − | + | margin:0 auto; | |
| − | + | height: 55px; | |
| − | + | } | |
| − | + | ||
| − | + | .tile_icon { | |
| − | + | height: 75px; | |
| − | + | width: 75px; | |
| − | + | } | |
</style> | </style> | ||
Версия 22:19, 31 июля 2019
<style> h1 {
display: none; font-size: 0;
}
.mw-body {
padding: 0; margin-bottom: 0;
}
.container {
padding: 0; margin-bottom: 0;
}
h3 a { color: black !important; }
.external:hover {
color: white;
}
- online {
display: flex; align-items: center; justify-content: space-around;
background: #f5f5f5;
height: 100px;
}
- online > * {
margin: 0;
}
- main_menu {
box-shadow: inset 0px 10px 10px -10px rgba(0,0,0,0.75); padding: 15px;
}
- main_menu h3 {
padding-top: 0; padding-bottom: 30px; margin: 0;
}
- community {
background: #cecece; box-shadow: inset 0px 10px 10px -10px rgba(0,0,0,0.75); padding: 15px;
}
- community h3 {
padding: 15px;
}
.main_page_menu img {
background: #343A40;
}
.main_page_menu h3 {
color: black !important;
}
.main_page_menu a {
color: white !important;
}
.main_page_menu .text_block a {
color: white;
}
.main_page_menu .text_block {
display: flex; flex-direction: column; justify-content: center; margin:0 auto; color: white; background:#343A40; height: 55px;
}
.main_page_img {
height: auto; width: 100%; min-width: 100px; max-width: 200px;
}
.main_page_img_wide {
height: auto; width: 100%; min-width: 150px; max-width: 300px;
}
.tile_2 {
margin-left: 20px; margin-right: 20px; }
.tile .text_block {
display: flex; flex-direction: column; justify-content: center; margin:0 auto; height: 55px;
}
.tile_icon {
height: 75px; width: 75px;
} </style>