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

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

Текущая версия на 01:18, 25 октября 2021

<onlyinclude><style>
h1 {
    display: none;
    font-size: 0;
}

.mw-body {
    padding: 0;
    margin-bottom: 0;
}

.container {
    padding: 0;
    margin-bottom: 0;
}

.main_page_menu h3 a {
    color: black !important;
    text-decoration: underline;
}

.main_page_menu a, .external:hover {
    color: white !important;
}

#online {
    display: flex;
    align-items: center;
    justify-content: space-around;

    background: #f5f5f5;

    height: 100px;
}

#online > * {
    margin: 0;
}

#main_menu {
    background: #e7e7e7;
    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 {
    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 .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;
}

.mediawiki > .container {
    background: #cecece;
}
</style></onlyinclude>