Widget:Заглавная страница.css: различия между версиями

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

Версия 22:18, 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>