MediaWiki:Mobile.css

@import url('https://fonts.googleapis.com/css?family=Archivo:400,500,700');

body { background-color: #F2F2F2; }

body, .mw-body-content { font-family: 'Archivo', sans-serif !important; font-size: 16px !important; color: #012169 !important; line-height: 1.6em !important; }

.mw-wiki-logo { background-image: url(https://static.miraheze.org/cyberlawwiki/3/39/Cyber-logo.png); width: 114px !important; height: 114px !important; background-size: cover; margin-top: 32px !important; }

width: 216px; background-color: #F2F2F2; padding: 0; }
 * 1) mw-panel {

width: 216px; height: auto; }
 * 1) p-logo {

margin: 0 auto; margin-left: 25px; }
 * 1) p-logo .mw-wiki-logo {

margin: 0 24px; }
 * 1) mw-panel .portal {

margin: 0; margin-top: 24px; font-size: 16px; color: #82868B; border-bottom: 1px solid #979797; }
 * 1) mw-panel .portal h3 {

.sidebar-banners { padding: 24px; padding-top: 40px; }

.sidebar-banners__img { display: block; margin-bottom: 24px; }

.sidebar-banners__img img { width: 100%; height: auto; }

background-color: #fff; }
 * 1) mw-head {

.page-Main_Page #mp-topbanner { display: none; }

.mw-body { border: 0; }

.navigation-wrapper { background: #f2f2f2; display: flex; }

margin: 0; }
 * 1) left-navigation {

display: flex; align-items: center; margin: 0; margin-left: auto; }
 * 1) right-navigation {

.mw-parser-output .res-img .image > img { border-radius: 4px; width: 100%; max-width: 1920px; height: auto; }

margin: 0 !important; }
 * 1) mw-panel .portal .body {

padding: 0; }
 * 1) mw-panel .portal .body li {

color: #012169; font-size: 16px; font-weight: 500; display: block; padding: 8px 0; line-height: 1.1; -webkit-transition: color 0.3s ease; transition: color 0.3s ease; }
 * 1) mw-panel .portal .body li a,
 * 2) mw-panel .portal .body li a:visited {

color: #00B5E2; text-decoration: none; }
 * 1) mw-panel .portal .body li a:hover,
 * 2) mw-panel .portal .body li a:focus {

margin: 0 8px; }
 * 1) p-personal li {

font-size: 16px; font-weight: 500; color: #012169; padding: 8px 0; line-height: 1.1; -webkit-transition: color 0.3s ease; transition: color 0.3s ease; }
 * 1) p-personal li a,
 * 2) p-personal li a.new,
 * 3) p-personal li a.new:visited {

color: #00B5E2; text-decoration: none; }
 * 1) p-personal li a:hover,
 * 2) p-personal li a:focus,
 * 3) p-personal li a.new:visited:hover {

color: #00B5E2; }
 * 1) p-personal li.active a {

height: 56px; display: flex; flex-direction: row-reverse; position: static; }
 * 1) p-personal {

display: flex; align-items: center; margin-right: 18px; }
 * 1) p-personal ul {

background-position: left center; padding-left: 24px !important; }
 * 1) pt-userpage a,
 * 2) pt-anonuserpage {

.vectorTabs { background: transparent; height: auto; }

.vectorTabs span { display: block; }

.vectorTabs ul { display: flex; align-items: center; background: transparent; height: auto; margin-left: -1px; border-top: 1px solid #f2f2f2; }

.vectorTabs ul li { background: #F2F2F2; }

.vectorTabs li.selected { background: #fff; }

.vectorTabs ul li span { background: transparent; }

.vectorTabs li a, .vectorTabs li.new a, .vectorTabs li.new a:visited { color: #012169; font-size: 16px; padding: 12px 16px; display: flex; align-items: center; -webkit-transition: color 0.3s ease; transition: color 0.3s ease; }

.vectorTabs li a:hover, .vectorTabs li.selected a { color: #00B5E2 !important; text-decoration: none; }

.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a { background-position: 50% 50%; height: 54px; text-indent: -999999px; padding: 0 8px; }

height: 100%; display: flex; align-items: center; }
 * 1) p-cactions {

display: none; }
 * 1) p-cactions.emptyPortlet {

background: transparent; height: auto; }
 * 1) mw-head .vectorMenu h3 {

color: #012169; font-size: 16px; padding: 8px 16px; -webkit-transition: color 0.3s ease; transition: color 0.3s ease; }
 * 1) mw-head .vectorMenu h3 span {

color: #00B5E2; }
 * 1) mw-head #p-cactions.vectorMenu:hover h3 span {

top: 0; }
 * 1) mw-head .vectorMenu h3 span:after {

.vectorMenu .menu { top: 100%; background: #f2f2f2; border: 0; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); }

.vectorMenu .menu ul li { text-align: center; }

.vectorMenu .menu li a { color: #012169; font-size: 14px; padding: 8px; -webkit-transition: color 0.3s ease; transition: color 0.3s ease; }

.vectorMenu .menu li a:hover { color: #00B5E2; text-decoration: none; }

height: 110px; }
 * 1) mw-head-base {

a.feedlink { padding-left: 16px !important; }

/* --- Search input --- */

display: flex; height: 100%; margin-right: 24px; }
 * 1) p-search {

margin: 0; height: 100%; display: flex; align-items: center;
 * 1) p-search form,
 * 2) p-search input {

}

background: #fff; margin: 0; height: 38px; border: 1px solid #F2F2F2; border-radius: 3px; }
 * 1) simpleSearch {

border-color: #012169; }
 * 1) simpleSearch:hover {

padding: 8px; font-size: 16px; color: #82868B; }
 * 1) simpleSearch #searchInput {

padding: 16px; }
 * 1) simpleSearch #searchButton {

outline: 0; }
 * 1) simpleSearch #searchButton:focus {

/* --- Content --- */ background-color: #fff !important; border: 1px solid #E6E6E6 !important; padding: 16px !important; padding-bottom: 16px !important; border-radius: 3px !important; }
 * 1) mp-left,
 * 2) mp-right,
 * 3) mp-lower {

border: 0 !important; padding-left: 10px !important; padding-right: 0 !important; padding-top: 0 !important; }
 * 1) mp-right {

border: 0 !important; padding-left: 0 !important; padding-right: 10px !important; padding-bottom: 4px !important; }
 * 1) mp-left {

div#content h1, div#content h2 { font-family: 'Archivo', sans-serif; }

color: #012169 !important; font-size: 34px !important; background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; margin-bottom: 16px !important; font-weight: normal !important; }
 * 1) mp-tfa-h2,
 * 2) mp-itn-h2,
 * 3) mp-dyk-h2,
 * 4) mp-otd-h2,
 * 5) mp-other {

color: #012169; }
 * 1) mp-tfa {

padding: 0 !important; }
 * 1) mp-itn,
 * 2) mp-tfa,
 * 3) mp-dyk,
 * 4) mp-otd,
 * 5) mp-other-content {

.mw-parser-output a.external, a.new, color: #00B5E2; }
 * 1) bodyContent a,
 * 1) p-personal a.new {

a.new, color: #ff6666; }
 * 1) bodyContent a.new,
 * 1) p-personal a.new {

display: none; }
 * 1) mp-other-content + p {

margin: 0; padding: 0; list-style: none; }
 * 1) mp-other-content ul {

margin-bottom: 6px; }
 * 1) mp-other-content ul li {

font-weight: 500; }
 * 1) mp-other-content ul li b {

.page-Main_Page .firstHeading { margin-top: -8px !important; }

.firstHeading { border: 0; }

.mw-parser-output table.wikitable { background-color: #f2f2f2; }

.mw-parser-output table.wikitable tr td, .mw-parser-output table.wikitable tr th { border: 1px solid #E6E6E6; padding: 8px; }

div.floatleft { margin: 0 16px 16px 0; }

div.floatright { margin: 0 0 16px 16px; }

.fileinfo-paramfield { background: #f2f2f2; }

/* --- Card --- */ .card-wrapper { padding: 16px; border: 1px solid #E6E6E6; border-radius: 3px; }

.card-wrapper--gray { background-color: #F2F2F2; }

.card-wrapper + .card-wrapper, margin-top: 24px !important; }
 * 1) mp-upper .card-wrapper + h2 {

/* --- Front-page table --- */ background: transparent; table-layout: fixed; width: 100%; }
 * 1) mp-dyk .wikitable {

border: 2px solid #fff; border-radius: 3px; background-color: #F2F2F2; padding: 12px; vertical-align: top; }
 * 1) mp-dyk .wikitable > * > tr > td {

background-color: transparent; padding: 0 !important; border: 0; }
 * 1) mp-dyk .wikitable > * > tr > td.is-empty-cell {

color: #012169; line-height: 24px; -webkit-transition: color 0.3s ease; transition: color 0.3s ease; }
 * 1) mp-dyk .wikitable > * > tr > td a {

color: #00B5E2; text-decoration: none; }
 * 1) mp-dyk .wikitable > * > tr > td a:hover {

width: 100%; max-width: 120px; height: auto; border-radius: 3px; margin-bottom: 4px; }
 * 1) mp-dyk .wikitable > * > tr > td a > img {

table.wikitable.mw-collapsible { background-color: #f2f2f2 !important; width: 100%; }

table.wikitable.mw-collapsible tr td, table.wikitable.mw-collapsible tr th { padding: 16px; }

table.wikitable.mw-collapsible tr th { background-color: #f2f2f2 !important; }

table.wikitable.mw-collapsible tr th, table.wikitable.mw-collapsible tr th > a { font-size: 24px; line-height: 28px; font-weight: 400; -webkit-transition: color 0.3s ease; transition: color 0.3s ease; }

table.wikitable.mw-collapsible tr th > a:hover { color: #012169 !important; text-decoration: none; }

table.wikitable.mw-collapsible .mw-collapsible-toggle { font-size: 16px; }

table.wikitable.mw-collapsible .mw-collapsible-toggle.mw-collapsible-toggle-default a { -webkit-transition: color 0.3s ease; transition: color 0.3s ease; }

table.wikitable.mw-collapsible .mw-collapsible-toggle.mw-collapsible-toggle-default a:hover { text-decoration: none; color: #012169 !important; }

table.wikitable.mw-collapsible .mw-collapsible-toggle.mw-collapsible-toggle-default:focus { outline: 0; }

/* --- Footer --- */ .catlinks { border: 1px solid #E6E6E6; background-color: #F2F2F2; border-radius: 3px; padding: 16px 24px; margin-top: 24px; }

padding-left: 0; }
 * 1) footer {

color: #82868B; font-size: 14px; line-height: 24px; }
 * 1) footer #footer-info li {

color: #012169; }
 * 1) footer #footer-info li a {

color: #00B5E2; }
 * 1) footer #footer-info li a:hover {

color: #012169; font-size: 14px; line-height: 24px; }
 * 1) footer #footer-places li,
 * 2) footer #footer-places li a {

display: none; }
 * 1) footer-copyrightico,
 * 2) footer-poweredbyico {

/* --- Single page --- */ .mw-body .firstHeading { color: #012169; font-size: 46px; line-height: 56px; margin-top: 24px; }

padding: 24px; background-color: #F2F2F2; border-radius: 3px; border: 1px solid #E6E6E6; margin: 24px 0; }
 * 1) toc {

.toc .toctitle { text-align: left; }

.toc .toctitle + ul { margin-top: 16px !important; }

.toc .toctitle h2 { display: initial; font-size: 34px; font-weight: 400; color: #012169; line-height: 48px; border: 0; }

.toc .toctitle .toctogglespan { color: #00B5E2; margin-left: 8px; }

.toc .toctitle .toctogglelabel { color: #012169; }

.toc .toctitle .toctogglespan:focus, .toc .toctitle .toctogglelabel:focus { outline: none; }

.mw-content-ltr .toc ul { margin: 0; }

.mw-content-ltr .toc ul li { margin-bottom: 6px; }

.mw-content-ltr .toc ul li .tocnumber { color: #012169; font-size: 16px; line-height: 24px; }

.mw-content-ltr .toc ul li .toctext { color: #00B5E2; font-size: 16px; line-height: 24px; -webkit-transition: color 0.3s ease; transition: color 0.3s ease; }

.mw-content-ltr .toc ul li a:hover, .mw-content-ltr .toc ul li a:hover .toctext { text-decoration: none; color: #012169; }

.thumb .thumbinner { border: 1px solid #E6E6E6; border-radius: 3px; background-color: #fff; padding: 16px; }

.thumb .thumbinner .thumbimage { border: 0; margin-bottom: 16px; }

.mw-content-ltr .thumbcaption { color: #82868B; font-size: 14px; line-height: 20px; }

.mw-body-content h2 { font-size: 34px; line-height: 48px; }

.mw-body-content h3 { font-size: 24px; line-height: 32px; }

.mw-body-content h4 { font-size: 20px; }

.mw-body-content h5 { font-size: 16px; }

.mw-body-content h1, .mw-body-content h2, .mw-body-content h3, .mw-body-content h4, .mw-body-content h5 { color: #012169; font-weight: 400; display: flex; align-items: center; border-bottom: 1px solid #E6E6E6; padding-bottom: 8px; margin-bottom: 16px; }

.mw-content-ltr .mw-editsection { margin-top: 4px; }

.mw-content-ltr .mw-editsection .mw-editsection-bracket { display: none; }

.mw-content-ltr .mw-editsection a { font-size: 14px; text-transform: capitalize; }

/* --- Buttons --- */

.oo-ui-buttonElement-button { font-weight: 500 !important; color: #072365!important; }

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: #fff !important; }

/* --- Notifications --- */ .mw-notification-area-layout { top: 8em; }

.mw-notification-area { right: 10px; }

.mw-notification { padding: 16px; border: 1px solid #E6E6E6; box-shadow: 0 4px 10px 0 rgba(0,0,0,0.15); border-radius: 3px; }

.mw-notification .mw-notification-content { color: #012169; }

.mw-notification .mw-notification-content a { color: #00B5E2; }

/* --- Responsive --- */ @media only screen and (max-width: 1200px) { #simpleSearch { width: 150px; } }

/* --- To make images responsive --- */ .res-img img { max-width: 100%; height: auto; }

/* --- Mobile styles --- */ .page-Main_Page #section_0 { font-family: 'Archivo', sans-serif; }

.header .branding-box h1 span, header .branding-box a span { text-indent: -9999px; background-image: url(https://static.miraheze.org/cyberlawwiki/3/39/Cyber-logo.png); width: 32px !important; height: 32px !important; background-size: cover; }

.page-Main_Page .heading-holder { padding: 16px 0; }

.page-Main_Page:not(.is-authenticated) .mf-section-0 > .res-img { margin-top: 20px; }

overflow: hidden; }
 * 1) mp-upper tr td {

width: 100% !important; float: left; clear: left; padding-left: 0 !important; padding-right: 0 !important; }
 * 1) mp-upper tr td {

font-size: 26px !important; }
 * 1) mp-tfa-h2,
 * 2) mp-itn-h2,
 * 3) mp-dyk-h2,
 * 4) mp-otd-h2,
 * 5) mp-other {

.mw-body-content h2 { font-size: 26px; line-height: 34px; }

.mw-body-content h3 { font-size: 20px; line-height: 26px; }

.mw-body-content h4 { font-size: 18px; }

.mw-body-content h5 { font-size: 16px; }

.pre-content h1, .content h1, .content h2 { font-family: 'Archivo', sans-serif; }

table.wikitable.mw-collapsible tr th { font-size: 16px; padding: 8px; font-weight: bold; line-height: 1.2em; }

table.wikitable.mw-collapsible tr td { padding: 8px; line-height: 1.5em; font-size: 14px; }

border: 0; }
 * 1) mp-dyk .wikitable {

display: flex; flex-wrap: wrap; }
 * 1) mp-dyk .wikitable > * > tr {

align-items: center; padding: 8px !important; display: flex; flex: 1 1 50%; clear: none; float: none; }
 * 1) mp-dyk .wikitable > * > tr > td {

width: auto; margin-right: 8px; }
 * 1) mp-dyk .wikitable > * > tr > td > .center {

text-align: left; line-height: 1.3em; }
 * 1) mp-dyk .wikitable > * > tr > td a {

width: 90px; max-width: 100px !important; margin: 0; }
 * 1) mp-dyk .wikitable > * > tr > td a > img {

overflow: hidden; }
 * 1) mp-upper {

.content figure .thumbinner, .content .thumb .thumbinner { width: auto !important; padding: 8px; }

.content p { font-family: 'Archivo',sans-serif !important; }

blockquote { margin: 16px 0; padding: 0 16px; }