MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary |
||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
/* Import fonts */ | |||
@import url('https://fonts.cdnfonts.com/css/raleway-5'); | |||
@font-face { | |||
font-family: 'Desmon'; | |||
src: url('/images/1/17/Desmon.ttf') format('truetype'); | |||
} | |||
@font-face { | |||
font-family: 'Cinzel Decorative Bold'; | |||
src: url('/images/6/64/CinzelDecorative-Bold.ttf') format('truetype'); | |||
} | |||
body { | |||
background-color: white; | |||
font-family: 'Raleway', sans-serif; | |||
} | |||
h1, h2, h3, h4, h5 { | |||
color: #174345; | |||
} | |||
a, a:visited, .toctogglelabel { | |||
color: #29878C!important; | |||
} | |||
a.new, .vector-menu-tabs-legacy .new a, .vector-menu-tabs-legacy .new a:visited { | |||
color: #FC6543; | |||
} | |||
*:focus-visible { | |||
outline: 1px solid #174345; | |||
} | |||
/*Take off "Main Page" from the home page */ | /*Take off "Main Page" from the home page */ | ||
Revision as of 12:10, 16 December 2023
/* All CSS here will be loaded for users of the mobile site */
/* Import fonts */
@import url('https://fonts.cdnfonts.com/css/raleway-5');
@font-face {
font-family: 'Desmon';
src: url('/images/1/17/Desmon.ttf') format('truetype');
}
@font-face {
font-family: 'Cinzel Decorative Bold';
src: url('/images/6/64/CinzelDecorative-Bold.ttf') format('truetype');
}
body {
background-color: white;
font-family: 'Raleway', sans-serif;
}
h1, h2, h3, h4, h5 {
color: #174345;
}
a, a:visited, .toctogglelabel {
color: #29878C!important;
}
a.new, .vector-menu-tabs-legacy .new a, .vector-menu-tabs-legacy .new a:visited {
color: #FC6543;
}
*:focus-visible {
outline: 1px solid #174345;
}
/*Take off "Main Page" from the home page */
body.page-Main_Page h1 { display: none; }
body {
background: url("/images/TexturedBackground.jpg");
background-size: cover;
background-attachment: fixed;
}
h2.section-heading div.mw-ui-icon-small {
margin-left: 5px;
}
/* TABLES */
table {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width:40em;
max-width:40em;
}
th{
background-color: #059862;
}
td, th {
border: 1px solid #ddd;
padding: 8px;
}
tr:nth-child(even){background-color: #f2f2f2;}
tr:hover {background-color: #ddd;}
th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
}
.wikitable > * > tr > td:has(img) {
padding: 0;
}
.wikitable > * > tr > td img {
height: auto;
max-width: 100%
}
table.wikitable:has(img) {
display: table;
table-layout: fixed;
}