MediaWiki:Common.css
Материал из CryWiki Russia
(Различия между версиями)
DCamer (Обсуждение | вклад) |
DCamer (Обсуждение | вклад) |
||
(26 промежуточных версий не показаны.) | |||
Строка 7: | Строка 7: | ||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
+ | } | ||
+ | .crytable { | ||
+ | border: 2px #aaa solid; | ||
+ | border-collapse: collapse; | ||
+ | margin: 5px; | ||
+ | background: #d4d4d4; | ||
+ | } | ||
+ | .crytable th { | ||
+ | border: 1px solid black; /* Граница вокруг ячеек */ | ||
+ | background-color: #c0c0c0; | ||
+ | color: #ffffff; | ||
+ | text-shadow: black 1px 1px 2px, red 0 0 1em; | ||
+ | } | ||
+ | .crytable td, .crytable tr { | ||
+ | border: 1px solid black; /* Граница вокруг ячеек */ | ||
+ | background-color: #f5f5f5; | ||
+ | color:#181818; | ||
+ | padding: 5px; | ||
+ | } | ||
+ | |||
+ | .ce3table { | ||
+ | position: relative; | ||
+ | left: 10px; | ||
+ | background-image: url('http://crymod.net/wcf/images/CRYMOD/9.jpg'); | ||
+ | height:230px; | ||
+ | } | ||
+ | |||
+ | .ce3table div.freesdk-button { | ||
+ | position: relative; | ||
+ | left: 13px; | ||
+ | background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small.jpg"); | ||
+ | height:34px; | ||
+ | width:240px; | ||
+ | } | ||
+ | |||
+ | .ce3table div.freesdk-button:hover { | ||
+ | position: relative; | ||
+ | left: 13px; | ||
+ | background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small_hover.jpg"); | ||
+ | height:34px; | ||
+ | width:240px; | ||
+ | } | ||
+ | |||
+ | .ce3table div.modsdk-button { | ||
+ | position: relative; | ||
+ | left: 13px; | ||
+ | background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small_mod.jpg"); | ||
+ | height:34px; | ||
+ | width:240px; | ||
+ | } | ||
+ | |||
+ | .ce3table div.modsdk-button:hover { | ||
+ | position: relative; | ||
+ | left: 13px; | ||
+ | background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small_mod_hover.jpg"); | ||
+ | height:34px; | ||
+ | width:240px; | ||
} | } |
Текущая версия на 21:14, 14 июня 2012
/** Размещённый здесь CSS будет применяться ко всем темам оформления */ .center { text-align: center; width: 100%; } .center * { margin-left: auto; margin-right: auto; } .crytable { border: 2px #aaa solid; border-collapse: collapse; margin: 5px; background: #d4d4d4; } .crytable th { border: 1px solid black; /* Граница вокруг ячеек */ background-color: #c0c0c0; color: #ffffff; text-shadow: black 1px 1px 2px, red 0 0 1em; } .crytable td, .crytable tr { border: 1px solid black; /* Граница вокруг ячеек */ background-color: #f5f5f5; color:#181818; padding: 5px; } .ce3table { position: relative; left: 10px; background-image: url('http://crymod.net/wcf/images/CRYMOD/9.jpg'); height:230px; } .ce3table div.freesdk-button { position: relative; left: 13px; background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small.jpg"); height:34px; width:240px; } .ce3table div.freesdk-button:hover { position: relative; left: 13px; background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small_hover.jpg"); height:34px; width:240px; } .ce3table div.modsdk-button { position: relative; left: 13px; background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small_mod.jpg"); height:34px; width:240px; } .ce3table div.modsdk-button:hover { position: relative; left: 13px; background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small_mod_hover.jpg"); height:34px; width:240px; }