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...»)
 
 
(не показано 8 промежуточных версий этого же участника)
Строка 1: Строка 1:
−
<style>
+
<pre>
 +
<onlyinclude><style>
 
h1 {
 
h1 {
 
     display: none;
 
     display: none;
Строка 15: Строка 16:
 
}
 
}
  
−
h3 a {
+
.main_page_menu h3 a {
−
color: black !important;
+
    color: black !important;
 +
    text-decoration: underline;
 
}
 
}
  
−
.external:hover {
+
.main_page_menu a, .external:hover {
−
     color: white;
+
     color: white !important;
 
}
 
}
  
Строка 38: Строка 40:
  
 
#main_menu {
 
#main_menu {
 +
    background: #e7e7e7;
 
     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;
Строка 49: Строка 52:
  
 
#community {
 
#community {
−
    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;
Строка 60: Строка 62:
 
.main_page_menu img {
 
.main_page_menu img {
 
     background: #343A40;
 
     background: #343A40;
−
}
 
−
 
−
.main_page_menu h3 {
 
−
    color: black !important;
 
−
}
 
−
 
−
.main_page_menu a {
 
−
    color: white !important;
 
−
}
 
−
 
−
 
−
.main_page_menu .text_block a {
 
−
    color: white;
 
 
}
 
}
  
Строка 118: Строка 107:
 
     width: 75px;
 
     width: 75px;
 
}
 
}
−
</style>
+
 
 +
.mediawiki > .container {
 +
    background: #cecece;
 +
}
 +
</style></onlyinclude>
 +
</pre>

Текущая версия на 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>