MediaWiki:Mobile.css: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(Ambig no longer a table)
m (Removed some unneeded things)
Line 1: Line 1:
html,
body {
display: block;
}
body,
body,
#footer {
#footer {
background: #0b284f none repeat scroll 0 0;
background: #0b284f none repeat scroll 0 0;
color: #d2d2d2;
color: #d2d2d2;
}
#localNotice > div {
margin-top: 0 !important;
}
}


Line 295: Line 286:
.thumbcaption {
.thumbcaption {
color: #fff !important;
color: #fff !important;
}
#localNotice > div {
margin-top: 0.25em !important;
}
}



Revision as of 09:39, 23 June 2017

body,
#footer {
	background: #0b284f none repeat scroll 0 0;
	color: #d2d2d2;
}

.mw-dismissable-notice-close {
	font-size: 12px !important;
	position: absolute;
	right: 32px;
	top: 24px;
}

.mw-dismissable-notice-body {
	font-size: 16px !important;
	margin: 0 !important;
	padding: 16px !important;
	text-align: left !important;
	width: 100vw !important;
}

.mw-dismissable-notice-body #localNotice div {
	margin: 0 !important;
	padding: 16px !important;
}

.mw-dismissable-notice-body #localNotice div p {
	font-size: 14px !important;
	text-align: left !important;
}

.mw-dismissable-notice-body #localNotice div p:first-of-type span:first-of-type {
	font-size: 12px !important;
}

.mw-dismissable-notice-body #localNotice div p:first-of-type span:last-of-type {
	display: block !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 21px !important;
	padding-bottom: 6px !important;
	padding-top: 16px !important;
}

.mw-dismissable-notice-body #localNotice div p:last-of-type {
	font-size: 12px !important;
	padding-top: 16px !important;
}

body.navigation-enabled .transparent-shield {
	background-color: rgba(18, 68, 111, 0.8) !important;
}

.primary-navigation-enabled {
	background-color: #001226;
}

#mw-mf-page-center,
.animations #mw-mf-page-center,
body.navigation-enabled #mw-mf-page-center {
	background: #17456e none repeat scroll 0 0 !important;
}

#mw-mf-viewport {
	background: #001226 none repeat scroll 0 0;
	height: auto;
	min-height: 100%;
}

#mw-mf-page-left {
	background: #082750 none repeat scroll 0 0 !important;
	border-left-color: #001226 !important;
}

#mw-mf-page-left ul {
	border-bottom-color: #001226 !important;
}

#mw-mf-page-left li {
	border-top-color: #001226 !important;
}

#mw-mf-page-left li:last-child {
	border-bottom-color: #001226 !important;
}

#mw-mf-page-left li:hover,
#mw-mf-page-left .hlist a:hover {
	background-color: #12446f !important;
}

.client-js #mw-mf-page-left .icon-secondary,
.client-js nav .icon-secondary {
	border-left-color: #001226 !important;
}

.header {
	background: #082750 none repeat scroll 0 0;
}

#mainpage div.center {
	text-align: center;
}

#mainpage div p a img {
	width: 49%;
	height: auto;
}

#mf-zw-logo {
	margin: 32px 16px 16px;
	text-align: center;
}

#mf-zw-logo img {
	height: auto;
	max-width: 400px;
	width: 100%;
}

#mf-welcome-text {
	margin: 16px 0;
	text-align: center;
}

#mf-maingames {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-flow: column-reverse wrap;
	justify-content: center;
	text-align: center;
	max-width: 1415px;
}

#mf-maingames .game {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 125px;
	font-size: 0;
	margin: 0 0 14px 0;
	padding: 0;
	overflow: hidden;
}

#mf-maingames .game p {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
}

#mf-maingames .game img {
	width: 100%;
	height: auto;
	position: absolute;
	top: -40px;
	left: 0;
}

#mf-maingames .game a {
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 125px;
	text-align: left;
	line-height: normal;
	box-sizing: border-box;
	padding: 16px;
	justify-content: flex-start;
	clip: auto;
	box-shadow: inset rgba(255, 255, 255, 0.1) 0 0 0 1px;
	display: inline-block;
	font-style: normal;
	color: white;
	position: absolute;
	font-size: 25px;
	text-decoration: none;
	background-color: rgba(0,0,0, 0.6);
	display: flex;
	flex-direction: column;
	z-index: 1;
}

#mf-maingames .game a:hover {
	background-color: rgba(0,0,0, 0.3);
}

#mf-maingames .game .year {
	color: rgba(255, 255, 255, 0.9);
	position: absolute;
	bottom: 12px;
	right: 16px;
	left: auto;
	font-size: 12px;
	z-index: 10;
}

#mf-NIWAnav {
	text-align:center;
	box-sizing:border-box;
	max-width:1650px;
	margin:0 auto;
	padding: 0.5em;
	background: #1d578b;
	border:none;
	border-radius:2px;
}

#mf-NIWAnav .high-res {
	display:none; 
}
 
@media screen and (min-width: 700px) {
	#mf-NIWAnav .low-res {
		display:none;
	}
	#mf-NIWAnav .high-res {
		display:block;
	}
}

#mf-NIWAnav .low-res img { 
	max-width: 100%; 
	height: auto; 
	width: auto;
}

#mf-NIWAnav .header {
	font-size: 1.2em;
	display: table;
	width: 100%;
	height: 3.35em;
	white-space: nowrap;
	border-bottom: 1px solid #cccccc;
}

#mf-NIWAnav .header > div {
	vertical-align: middle;
	position: static;
	width: auto;
}

#mf-NIWAnav .header > div a {
	display: inline;
}

#mf-NIWAnav .body p:first-of-type {
	display:flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

#mf-NIWAnav .body p:last-of-type {
	margin: 16px;
}

#mf-NIWAnav .body p .cell {
	display:inline-block;
	background:#17456e;
	border:1px solid #426787;
	border-radius:5px;
	text-align:left;
	width:auto;
	padding:10px 16px 10px 16px;
	margin:3px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#mf-NIWAnav .body p .cell img {
	width: auto;
	margin-right: 4px;
	position: relative;
	top: -2px;
}

.thumbcaption {
	color: #fff !important;
}

.mw-dismissable-notice,
.header,
#page-actions,
.mw-mf-special #content_wrapper .content-header {
	border-color: #426787;
}

input.search {
	background: #082750 none repeat scroll 0 0 !important;
	color: #d2d2d2 !important;
}

.search-overlay {
	background-color: rgba(0, 0, 0, 0.8) !important;
}

.overlay,
.overlay-header-container,
.overlay-footer-container,
.search-overlay .overlay-header,
.search-overlay .results {
	background-color: #082750 !important;
}

.overlay-header {
	border-color: #426787 !important;
}

.overlay-content {
	background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0 !important;
}

.overlay-title h2 {
	border-bottom: medium none !important;
}

.search-content.overlay-header {
	background-color: #426787 !important;
}

.results .page-list li {
	background-color: #17456e !important;
	border-bottom: 1px solid #426787 !important;
	margin-bottom: 1px !important;
}

.overlay .panel,
.page-list li,
.topic-title-list li,
.site-link-list li {
	border-color: #426787 !important;
	color: #d2d2d2;
}

.page-list li > a,
.page-list li > a > h3,
.topic-title-list li > a,
.topic-title-list li > a > h3,
.site-link-list li > a,
.site-link-list li > a > h3 {
	border-bottom: medium none !important;
	color: #f4f26b;
}

.page-list li > a:active,
.page-list li > a:hover,
.page-list li > a:visited,
.topic-title-list li > a:active,
.topic-title-list li > a:hover,
.topic-title-list li > a:visited,
.site-link-list li > a:active,
.site-link-list li > a:hover,
.site-link-list li > a:visited {
	color: #e8e760;
}

.list-thumb.list-thumb-none {
	background-color: #17456e;
}

.mw-mobile-mode .searchresults ul.mw-search-results .mw-search-result-data {
	color: #808080;
}

.overlay.media-viewer img {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
}

.overlay.media-viewer div.details {
	background: #1d578b none repeat scroll 0 0;
}

.overlay input,
.overlay textarea {
	color: #d2d2d2;
}

div.editor-overlay .summary-request,
div.overlay .license {
	color: #b6b6b6;
}

#powerSearchText {
	background: #fff none repeat scroll 0 0 !important;
	width: 60vw !important;
}

#content_wrapper .last-modified-bar {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
	color: #d2d2d2;
}

#content_wrapper .last-modified-bar a {
	color: #d2d2d2;
}

#content_wrapper .last-modified-bar a:nth-child(2) {
	color: #f4f26b;
}

#footer {
	border-top-color: #1d578b !important;
}

#footer ul,
#footer ul li {
	color: #b6b6b6;
	text-align: left !important;
}

.footer-places li:first-of-type {
	padding-left: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	border-bottom: 1px solid #426787 !important;
	color: #d2d2d2;
	padding-top: 0;
	width: auto;
}

.mw-headline {
	display: inline-block;
	font-family: "Helvetica Neue",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
}

.mw-body h1,
.mw-body h2 {
	font-family: "Linux Libertine",Georgia,Times,serif;
}

.section-heading .icon {
	margin-top: 0.2em;
}

a {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	color: #f4f26b;
	text-decoration: none;
}

a:visited {
	color: #e7ea12;
}

a:active {
	color: #f4f26b;
}

a:hover {
	text-decoration: underline;
}

a.stub {
	color: #f4f26b;
}

#bodyContent a.new {
	color: #ff8581;
}

a.new,
#p-personal a.new {
	color: #ff8581;
}

a.new:visited,
#p-personal a.new:visited {
	color: #ff8581;
}

a.mw-ui-button,
a.mw-ui-button.mw-ui-progressive,
a.mw-ui-button.mw-ui-primary {
	background: #0b284f none repeat scroll 0 0;
	color: #d2d2d2;
}

a.mw-ui-button:hover,
a.mw-ui-button.mw-ui-progressive:hover,
a.mw-ui-button.mw-ui-primary:hover {
	color: #b6b6b6;
}

a.mw-ui-button:active,
a.mw-ui-button.mw-ui-progressive:active,
a.mw-ui-button.mw-ui-primary:active {
	background: #17315a none repeat scroll 0 0;
	color: #d2d2d2;
}

a.mw-ui-button:focus,
a.mw-ui-button.mw-ui-progressive:focus,
a.mw-ui-button.mw-ui-primary:focus {
	border-color: rgba(204, 204, 204, 0.75);
}

.content table.wikitable,
.content table.prettytable {
	background-color: #17456e;
	border: 1px solid #426787;
	border-collapse: collapse;
	color: #d2d2d2;
	margin: 1em 1em 1em 0;
}

.content table.wikitable th,
.content table.wikitable td,
.content table.prettytable th,
.content table.prettytable td {
	background: #17456e none repeat scroll 0 0;
	border: 1px solid #426787;
}

.content table.wikitable th,
.content table.prettytable th {
	background: #1d578b none repeat scroll 0 0;
	text-align: center;
}

.content table.wikitable > tr > th,
.content table.wikitable > tr > td,
.content table.wikitable > * > tr > th,
.content table.wikitable > * > tr > td {
	border: 1px solid #426787;
	padding: 0.4em;
}

.content table.wikitable > tr > th,
.content table.wikitable > * > tr > th {
	background: #1d578b none repeat scroll 0 0;
}

.content table.wikitable caption,
.content table.prettytable caption {
	font-weight: bold;
	margin-left: inherit;
	margin-right: inherit;
}

/* Alt table */
table.altrow,
table.altcol {
	background: #17456e;
	border: 1px solid #426787;
	border-collapse: collapse;
	margin: 1em 1em 1em 0;
}

table.altrow td,
table.altcol td {
	border: 1px solid #426787;
	padding: 0.4em;
}

table.altrow tr:nth-child(even) {
	background: #17456e;
}

table.altrow tr:nth-child(odd) {
	background: #163d5f;
}

table.altcol td:nth-child(even) {
	background: #17456e;
}

table.altcol td:nth-child(odd) {
	background: #163d5f;
}

table.altrow th,
table.altcol th {
	background: #1d578b;
	border: 1px solid #426787;
	padding: 0.4em;
	text-align: center;
}

table.altrow caption,
table.altcol caption {
	font-weight: bold;
	margin-left: inherit;
	margin-right: inherit;
}

table.altrow code,
table.altcol code {
	background-color: transparent;
}

div.toc-mobile,
.client-js div.toc-mobile {
	background-color: #1d578b;
	border: 1px solid #426787;
	min-width: 250px;
}

div.toc-mobile .collapsible-heading,
.client-js div.toc-mobile .collapsible-heading {
	border-bottom: medium none !important;
	margin-bottom: 0 !important;
}

div.toc-mobile .collapsible-heading .indicator,
.client-js div.toc-mobile .collapsible-heading .indicator {
	margin-right: 5px !important;
}

div.toc-mobile .collapsible-block,
.client-js div.toc-mobile .collapsible-block {
	margin-left: 15px;
	margin-right: 15px;
}

hr {
	background-color: #426787;
	color: #426787;
}

.list-header {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	color: inherit;
}

.mw-mf-special #content_wrapper .content-header {
	padding-top: 1em;
}

.mw-mf-special #content_wrapper .content-header h2 {
	border-bottom: medium none !important;
}

.mw-mf-user {
	color: #d2d2d2;
}

.page-list .info,
.page-list .component,
.topic-title-list .info,
.topic-title-list .component,
.site-link-list .info,
.site-link-list .component {
	color: #b6b6b6;
}

.page-list.side-list .list-thumb,
.topic-title-list.side-list .list-thumb,
.site-link-list.side-list .list-thumb {
	color: #b6b6b6;
}

.minoredit {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
}

.page-summary h2,
.page-summary h3 {
	color: #d2d2d2;
}

.page-summary h2 a,
.page-summary h3 a {
	color: #f4f26b;
}

#mw-mf-diffview #mw-mf-userinfo {
	background: #0b284f none repeat scroll 0 0;
}

#mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count {
	color: #b6b6b6;
}

#mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count div {
	color: #d2d2d2;
}

.mw-mf-special .content h2 {
	color: #d2d2d2;
}
.profile .card {
	background-color: #1d578b;
	border-color: #426787;
	color: #d2d2d2;
}

.profile a {
	color: #f4f26b;
}

.profile .footer {
	color: #d2d2d2;
}

.tabcontainer .tab {
	background-color: #1d578b;
	background-image: -moz-linear-gradient(center top , #1d679b, #1a4e7d);
	border: 2px solid #426787;
	border-radius: 2px;
	cursor: pointer;
	float: left;
	margin: 0 1px -2px;
	padding: 3px;
	text-align: center;
	white-space: nowrap;
}

.tabcontainer .tab:hover {
	background-color: #24527c;
	background-image: -moz-linear-gradient(center top , #305f89, #17456e);
	color: #f4f26b;
}

.tabcontainer .tab.active {
	background-color: #17456e !important;
	background-image: -moz-linear-gradient(center top , #1d578b, #17456e);
	border-bottom: 2px solid #17456e;
	color: #f4f26b;
}

.icon-back,
.icon-cancel,
.icon-cancel-light,
.icon-citation,
.icon-edit,
.icon-edit-enabled,
.icon-mainmenu,
.icon-photo,
.icon-search-white,
.icon-talk,
.icon-toc,
.icon.watch-this-article,
#ca-upload.icon {
	filter: brightness(10) opacity(0.65);
}

.icon-arrow-down,
.icon-arrow-up {
	filter: invert(1) brightness(10) opacity(0.65);
}

.content table.wikitable,
.content table.prettytable,
.content [style*="width"] {
	width: auto !important;
}

button.icon.cancel {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
}

button.icon.cancel::before,
button.icon.cancel::after {
	background: #cfcfd0 none repeat scroll 0 0;
	content: "";
	height: 5px;
	left: 0;
	position: absolute;
	top: 50%;
	width: 100%;
}

button.icon.cancel::before {
	transform: rotate(45deg);
}

button.icon.cancel::after {
	transform: rotate(-45deg);
}

.content table[style*="border:1px"][style*="padding:2px"] td {
	padding: 1em;
}

td[style*="font-size:11px"],
td[style*="font-size: 11px"],
span[style*="font-size:6pt"],
span[style*="font-size: 6pt"] {
	font-size: inherit;
}

/* Gallery image boxes */
li.gallerybox div.thumb {
	background-color: #1D578B;
	border: 1px solid #426787
}

/* gradient for mobile */
.gradient {
	background-image: linear-gradient(to bottom, #2D679B, #1A4E7D);
	background-image: -webkit-linear-gradient(top, #2D679B, #1A4E7D); /* Android Browser <= 4.3 */
}