@DeletedUser40466173 (talk | contribs) (Reset margin for tables, otherwise they get displayed with a big top offset) Tags: Mobile edit Mobile web edit |
@DeletedUser40466173 (talk | contribs) (Added class "vertical-row-header") |
||
Line 511: | Line 511: | ||
.mw-body a.extiw:visited { |
.mw-body a.extiw:visited { |
||
color: #d16500; |
color: #d16500; |
||
+ | } |
||
+ | |||
+ | /* vertical row headers */ |
||
+ | .vertical-row-header { |
||
+ | text-align: center; |
||
+ | white-space: nowrap; |
||
+ | vertical-align: middle; |
||
+ | width: 1.5em; |
||
+ | } |
||
+ | |||
+ | .vertical-row-header div { |
||
+ | -webkit-transform: rotate(-90deg); |
||
+ | -moz-transform: rotate(-90deg); |
||
+ | -ms-transform: rotate(-90deg); |
||
+ | -o-transform: rotate(-90deg); |
||
+ | -transform: rotate(-90deg); |
||
+ | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083); |
||
+ | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; |
||
+ | margin-left: -10em; |
||
+ | margin-right: -10em; |
||
} |
} |
||
Revision as of 08:00, 8 June 2017
/* CSS placed here will affect users of the mobile site */
@font-face {
font-family: 'OpenSans-Bold';
src: local('OpenSans-Bold'), local('OpenSans-Bold'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-Bold.ttf) format('truetype');
}
@font-face {
font-family: 'OpenSans-BoldItalic';
src: local('OpenSans-BoldItalic'), local('OpenSans-BoldItalic'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-BoldItalic.ttf) format('truetype');
}
@font-face {
font-family: 'OpenSans-ExtraBold';
src: local('OpenSans-ExtraBold'), local('OpenSans-ExtraBold'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-ExtraBold.ttf) format('truetype');
}
@font-face {
font-family: 'OpenSans-ExtraBoldItalic';
src: local('OpenSans-ExtraBoldItalic'), local('OpenSans-ExtraBoldItalic'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-ExtraBoldItalic.ttf) format('truetype');
}
@font-face {
font-family: 'OpenSans-Italic';
src: local('OpenSans-Italic'), local('OpenSans-Italic'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-Italic.ttf) format('truetype');
}
@font-face {
font-family: 'OpenSans-Light';
src: local('OpenSans-Light'), local('OpenSans-Light'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-Light.ttf) format('truetype');
}
@font-face {
font-family: 'OpenSans-LightItalic';
src: local('OpenSans-LightItalic'), local('OpenSans-LightItalic'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-LightItalic.ttf) format('truetype');
}
@font-face {
font-family: 'OpenSans-Regular';
src: local('OpenSans-Regular'), local('OpenSans-Regular'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-Regular.ttf) format('truetype');
}
@font-face {
font-family: 'OpenSans-Semibold';
src: local('OpenSans-Semibold'), local('OpenSans-Semibold'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-Semibold.ttf) format('truetype');
}
@font-face {
font-family: 'OpenSans-SemiboldItalic';
src: local('OpenSans-SemiboldItalic'), local('OpenSans-SemiboldItalic'), url(https://hydra-media.cursecdn.com/hydra/fonts/OpenSans-SemiboldItalic.ttf) format('truetype');
}
p {
font-family: "OpenSans-Regular";
}
.nomobile {
display: none;
}
.client-js .toc-mobile {
background-color: rgba(0, 0, 0, 0) !important;
border: 1px solid #505050 !important;
}
.mw-ui-button,
.last-modified-bar #mw-mf-last-modified {
background-color: rgba(0, 0, 0, 0);
/*
color: #e0e0e0;
*/
}
body.mediawiki #mw-mf-page-center {
background: url("https://hydra-media.cursecdn.com/ashesofcreation.gamepedia.com/e/e9/Scr2.jpg");
background-position: center top;
background-attachment: fixed;
background-repeat: no-repeat;
background-color: gray;
background-size: cover;
color: black;
}
a,
a:visited,
a.external {
color: #5a93cc;
}
#content {
background: rgba(255, 255, 255, 0.9);
}
.thumb,
#content_wrapper .thumb,
li.gallerybox div.thumb {
background-color: rgba(0, 0, 0, 0);
border: 1px solid #505050;
}
.content table th {
background-color: rgba(0, 0, 0, 0);
}
.content table td,
.content table th {
border: 1px solid #505050;
padding: 3px;
}
.content table.wikitable {
background-color: rgba(0, 0, 0, 0);
margin: auto;
margin-bottom: 1em;
}
.content table.wikitable > tr > th,
.content table.wikitable > tr > td,
.content table.wikitable > * > tr > th,
.content table.wikitable > * > tr > td {
border: 1px solid #505050;
}
.content table.wikitable > tr > th,
.content table.wikitable > * > tr > th {
background-color: inherit;
padding: 3px;
}
/* Responsive main page stuff */
/********************
/* Main menu styles *
/********************/
.primary-navigation-enabled {
border-left: 12px solid #505050 !important;
background: #101010 !important;
}
#mw-mf-page-left {
border-left: 12px solid #505050;
background: transparent;
}
#mw-mf-page-left ul {
background: transparent;
}
#mw-mf-page-left ul:first-child {
border-bottom: 12px solid #505050;
}
#mw-mf-page-left ul li {
border-top: 1px solid #505050;
border-bottom: 1px solid #505050;
background: transparent;
text-shadow: none;
}
#mw-mf-page-left ul li a,
#mw-mf-page-left ul.hlist li a {
border: none;
color: #3674b3;
}
#mw-mf-page-left ul li:hover {
border-left: 12px solid #aaaaaa;
background: #505050;
}
#mw-mf-page-left ul.hlist li:hover {
border: none;
}
#mw-mf-page-left ul li:hover a,
#mw-mf-page-left ul.hlist li:hover a {
color: #ffffff;
}
/*********************
/* Front page styles *
/*********************/
.fpbox {
border-radius: 5px;
border: 2px solid #505050;
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) inset;
background: transparent;
color: inherit;
margin: 5px;
padding: 5px;
}
.fpbox .welcome {
border-bottom: 1px solid #505050;
background: transparent;
/* color: #e0e0e0; */
font-size: 150%;
text-transform: uppercase;
text-align: center;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
}
.fpbox .heading {
border-bottom: 1px solid #505050;
background: transparent;
/* color: #e0e0e0; */
font-size: 132%;
font-variant: small-caps;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
}
.fpbox .heading .smalllink {
color: #3674b3;
font-weight: bold;
font-size: 75%;
}
.fpbox hr {
border: none;
border-bottom: 2px solid #505050;
}
.fpplainbox {
padding: 5px 8px 10px 8px;
margin: 0 5px 10px 5px;
vertical-align: top;
}
.fplinks {
margin: -2px -3px;
}
.fplinks .linkslabel {
border-bottom: 2px solid #505050;
margin: 6px 3px 0 3px;
}
.fplink {
display: inline-block;
vertical-align: middle;
width: 100%;
}
/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */
.fplink .box {
display: table;
width: 100%;
border-spacing: 2px 3px;
border-collapse: separate;
}
.fplink .box .row {
display: table-row;
}
.fplink .box .row .cell {
background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
border: 2px solid #505050;
border-radius: 2px;
box-shadow: 0 0 0 2px #505050 inset;
/* color: #e0e0e0; */
display: table-cell;
font-weight: bold;
position: relative;
text-align: center;
text-transform: uppercase;
vertical-align: middle;
}
.fplink.wide .box .row .cell {
padding: 0 5px;
}
.fplink.image {
width: 78px;
height: 78px;
}
.fplink.image .box .row .cell {
width: 70px;
height: 70px;
vertical-align: bottom;
}
.fplink.image .box .row .cell .image img {
width: 70px;
height: 70px;
}
@media (min-width: 188px) {
.fplink {
width: 50%;
}
.fplink.wide {
width: 100%;
}
}
@media (min-width: 294px) {
.fplink {
width: 33.333%;
}
.fplink.wide {
width: 66.666%;
}
}
@media (min-width: 400px) {
.fplink {
width: 25%;
}
.fplink.wide {
width: 50%;
}
.fplink.image {
width: 108px;
height: 108px;
}
.fplink.image .box .row .cell {
width: 100px;
height: 100px;
}
.fplink.image .box .row .cell .image img {
width: 100px;
height: 100px;
}
}
@media (min-width: 506px) {
.fplink {
width: 20%;
}
.fplink.wide {
width: 40%;
}
}
@media (min-width: 612px) {
.fplink {
width: 16.666%;
}
.fplink.wide {
width: 33.333%;
}
}
@media (min-width: 718px) {
.fplink {
width: 14.285%;
}
.fplink.wide {
width: 28.571%;
}
}
@media (min-width: 824px) {
.fplink {
width: 12.5%;
}
.fplink.wide {
width: 25%;
}
}
@media (min-width: 930px) {
.fplink {
width: 11.111%;
}
.fplink.wide {
width: 22.222%;
}
}
@media (min-width: 1036px) {
.fplink {
width: 10%;
}
.fplink.wide {
width: 20%;
}
.fplink.image {
width: 128px;
height: 128px;
}
.fplink.image .box .row .cell {
width: 120px;
height: 120px;
}
.fplink.image .box .row .cell .image img {
width: 120px;
height: 120px;
}
}
.fplink.image .image {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
font-size: 75%;
z-index: 1;
}
.fplink.image a {
z-index: 2;
}
.fplink a {
display: block;
position: relative;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 3px 5px;
}
.fplink.image .image a {
padding: 0;
}
.fplink.image .link a {
border-top: 2px solid #505050;
background: #ddddb7 !important;
}
.fplink.wide a {
margin: 0 -5px;
}
.fplink.image a {
top: auto;
}
.fpvideos {
margin: 0 auto;
overflow: hidden;
text-align: center;
max-width: 480px;
}
.fpvideo {
position: relative;
padding-top: 25px;
padding-bottom: 56.25%;
height: 0;
}
.fpvideo iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.header {
background: #505050;
text-align: center;
color: #FFFFFF;
font-size: 130%;
padding: 4px;
font-family: "OpenSans-ExtraBold";
height:20px;
}
/* links */
a.new,
#p-personal a.new,
div#content a.new:visited,
a.new:visited {
color: red;
}
div#content a:visited,
a:visited {
color: #d16500;
}
a,
.mw-body a.extiw,
.mw-body a.extiw:active {
color: #F78103;
}
div#footer ul li a {
color: #F78103;
text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black;
}
a:visited,
a:focus,
a:active,
.mw-body a.extiw:visited {
color: #d16500;
}
/* vertical row headers */
.vertical-row-header {
text-align: center;
white-space: nowrap;
vertical-align: middle;
width: 1.5em;
}
.vertical-row-header div {
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083);
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)";
margin-left: -10em;
margin-right: -10em;
}
/* front page groups */
div.front-page-group {
width: 222px;
height: 115px;
display: inline-block;
margin: 8px;
border:3px solid #505050;
font-size:12px;
background-repeat: no-repeat;
background-size: 100%;
}
table.front-page-table {
width:100%;
height:100%;
border:none;
margin:0px;
}
table.front-page-table tr:first-child {
height: 40px;
}
table.front-page-table th, table.front-page-table td {
text-align:center;
vertical-align:middle;
min-width:111px;
border:none;
}
table.front-page-table a {
color:#FFFFFF !important; /* Need to do this in order to prevent the color being changed by the wiki engine for existing and non-existing pages */
}
table.front-page-table a:hover {
color:#CCCCCC !important; /* Need to do this in order to prevent the color being changed by the wiki engine for existing and non-existing pages */
}
table.front-page-table th a {
font-size:16px;
}
#front-page-generalinformation-group {
background-image:url('https://hydra-media.cursecdn.com/ashesofcreation.gamepedia.com/a/a9/Front-page-group-background-general_information.png');
}
#front-page-pve-group {
background-image:url('https://hydra-media.cursecdn.com/ashesofcreation.gamepedia.com/f/fc/Front-page-group-background-pve.png');
}
#front-page-pvp-group {
background-image:url('https://hydra-media.cursecdn.com/ashesofcreation.gamepedia.com/1/17/Front-page-group-background-pvp.png');
}
#front-page-characteroptions-group {
background-image:url('https://hydra-media.cursecdn.com/ashesofcreation.gamepedia.com/7/78/Front-page-group-background-character_options.png?version=b42530c3bbb8fedc2556281bb64ca5ef');
}
#front-page-social-group {
background-image:url('https://hydra-media.cursecdn.com/ashesofcreation.gamepedia.com/a/aa/Front-page-group-background-social.png');
}
#front-page-economics-group {
background-image:url('https://hydra-media.cursecdn.com/ashesofcreation.gamepedia.com/3/37/Front-page-group-background-economics.png');
}
#front-page-transportation-group {
background-image:url('https://hydra-media.cursecdn.com/ashesofcreation.gamepedia.com/9/9c/Front-page-group-background-transportation.png');
}
#front-page-world-group {
background-image:url('https://hydra-media.cursecdn.com/ashesofcreation.gamepedia.com/7/71/Front-page-group-background-world.png');
}
@media (min-width: 276px) {
div.front-page-group {
width:267px;
height:138px;
font-size:14px;
}
table.front-page-table th, table.front-page-table td {
min-width:127px;
}
table.front-page-table tr:first-child {
height:48px;
}
table.front-page-table th a {
font-size:19px;
}
}
@media (min-width: 322px) {
div.front-page-group {
width:311px;
height:161px;
font-size:16px;
}
table.front-page-table th, table.front-page-table td {
min-width:149px;
}
table.front-page-table tr:first-child {
height:56px;
}
table.front-page-table th a {
font-size:22px;
}
}
@media (min-width: 368px) {
div.front-page-group {
width:356px;
height:184px;
font-size:19px;
}
table.front-page-table th, table.front-page-table td {
min-width:172px;
}
table.front-page-table tr:first-child {
height:64px;
}
table.front-page-table th a {
font-size:25px;
}
}
@media (min-width: 414px) {
div.front-page-group {
width:400px;
height:207px;
font-size:21px;
}
table.front-page-table th, table.front-page-table td {
min-width:194px;
}
table.front-page-table tr:first-child {
height:72px;
}
table.front-page-table th a {
font-size:28px;
}
}
@media (min-width: 460px) {
div.front-page-group {
width:444px;
height:230px;
font-size:24px;
}
table.front-page-table th, table.front-page-table td {
min-width:216px;
}
table.front-page-table tr:first-child {
height:80px;
}
table.front-page-table th a {
font-size:32px;
}
}