MediaWiki:Common.css
Материал из CryWiki Russia
(Различия между версиями)
DCamer (Обсуждение | вклад) |
DCamer (Обсуждение | вклад) |
||
Строка 30: | Строка 30: | ||
} | } | ||
- | .ce3table div. | + | .ce3table div.freesdk-button { |
position: relative; | position: relative; | ||
- | left: | + | 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"); | background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small_mod.jpg"); | ||
height:34px; | height:34px; | ||
Строка 38: | Строка 54: | ||
} | } | ||
- | .ce3table div. | + | .ce3table div.modsdk-button:hover { |
position: relative; | position: relative; | ||
- | left: | + | left: 13px; |
background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small_mod_hover.jpg"); | background: url("http://crymod.net/wcf/images/CRYMOD/button_gear_small_mod_hover.jpg"); | ||
height:34px; | height:34px; | ||
width:240px; | width:240px; | ||
} | } |
Версия 17:16, 16 октября 2011
/** Размещённый здесь CSS будет применяться ко всем темам оформления */ .center { text-align: center; width: 100%; } .center * { margin-left: auto; margin-right: auto; } table.crytable { border: 2px solid #f2f2f2; border-collapse: collapse; } .crytable th { border: 1px solid black; /* Граница вокруг ячеек */ background-color: #c0c0c0; color: #ffffff; text-shadow: black 1px 1px 2px, red 0 0 1em; } .crytable td, tr { border: 1px solid black; /* Граница вокруг ячеек */ } .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; }