Разница между страницами «Заглавная страница» и «MediaWiki:Common.css»
(Различия между страницами)
VolgaIgor (обсуждение | вклад) |
VolgaIgor (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | + | /* Код главной страницы */ | |
− | + | .wt-index-main { | |
+ | position: relative; | ||
+ | line-height: 1.6; | ||
+ | } | ||
− | + | .wt-index-img-main img { | |
− | + | width: 100%; | |
− | + | min-width: 220px; | |
− | + | height: auto; | |
− | + | } | |
− | + | ||
− | + | .wt-index-img-main-text a { | |
− | ---- | + | position: absolute; |
+ | bottom: 0px; | ||
+ | left: 0px; | ||
+ | display: block; | ||
+ | padding: 9px 0; | ||
+ | font-size: 25px; | ||
+ | background-color: rgba(0,0,0,0.25); | ||
+ | width: 100%; | ||
+ | text-align: center; | ||
+ | text-transform: uppercase; | ||
+ | white-space: nowrap; | ||
+ | min-width: 220px; | ||
+ | color: #f7f7f7; | ||
+ | } | ||
+ | |||
+ | .wt-index-img-main-text:hover a { | ||
+ | color: #d50000; | ||
+ | } | ||
+ | |||
+ | .wt-index-img-main-text a:visited { | ||
+ | color: #d50000; | ||
+ | } | ||
+ | |||
+ | .wt-ul-container th { | ||
+ | color: #546e7a; | ||
+ | font-size: 18px; | ||
+ | margin: 5px; | ||
+ | font-weight: normal; | ||
+ | } |
Версия 19:07, 13 апреля 2018
/* Код главной страницы */ .wt-index-main { position: relative; line-height: 1.6; } .wt-index-img-main img { width: 100%; min-width: 220px; height: auto; } .wt-index-img-main-text a { position: absolute; bottom: 0px; left: 0px; display: block; padding: 9px 0; font-size: 25px; background-color: rgba(0,0,0,0.25); width: 100%; text-align: center; text-transform: uppercase; white-space: nowrap; min-width: 220px; color: #f7f7f7; } .wt-index-img-main-text:hover a { color: #d50000; } .wt-index-img-main-text a:visited { color: #d50000; } .wt-ul-container th { color: #546e7a; font-size: 18px; margin: 5px; font-weight: normal; }