MediaWiki:Common.css
From KB42
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*
==This is for all the skins==
Remember no preview
*/
:root{
--line_color: rgba(255, 255, 255, 0.4);
--header_grade: 90deg, rgba(0,0,0,1), rgba(0, 0, 0, .90), rgba(0, 0, 0,0), rgba(0,0,0,0);
}
blockquote {
border-left-style: solid;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
}
div.centered, table.centered, ul.centered, .centered {
margin-left: auto;
margin-right: auto;
}
/*dpl column layout - avoid header orphans */
.dplcategory {
-webkit-column-count:3;
column-count:3;
}
.dplcategory .mw-category .mw-category-group {
display:block
}
.dplcategory .mw-category-group {
margin:0 2em 2em 2em;
}
.dplcategory .mw-category-group h3 {
break-after:avoid
}
.dplcategory .mw-category-group h3 {
margin:0 0 0.3em;
border-bottom:1px
solid #e2e2e2
}
/* Main Page Infobox templates */
.infobox {
border: 1px solid #000;
background-color: #333;
color: #aaa;
width: 350px;
margin: 0 0 1em 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox th {
color: #ddd;
text-align: left;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
text-align:left;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox-title {
font-size: 1em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #000;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0 solid #aaa;
}
footer-poweredbyico { display: none; }
.archive-box {
border: 1px solid #aaf;
background-color: #f2f2f9;
color: #000;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: center;
}
/* [[Template:Lead 2.0]] */
.l_table {
border: 0px;
height: 100%;
width: 100%;
}
.l_table tr {
height: 100%;
}
.l_table td {
width: 100%;
}
.l_box {
}
.l_image {
vertical-align:top;
padding-bottom: 5px;
padding-right: 8px;
float: left;
}
.l_title {
font-size: 150%;
font-style: bold;
vertical-align: top;
padding-bottom: 5px;
}
.l_title a:link {
/*color: #faa700;*/
text-decoration: none;
}
.l_title a:visited {
/*color: #000000;*/
text-decoration: none;
}
.l_title a:hover {
/* color: #000000;*/
text-decoration: underline;
}
.l_title a:active {
/*color: #000000;*/
text-decoration: none;
}
.l_summary {
vertical-align: top;
font-size: 100%;
}
.l_tail {
font-size: 90%;
height:15px;
}
.l_img_type {
/*float: left;*/
padding-bottom: 3px;
}
.l_edit {
clear: left;
float: right;
}
/*end lead stuff */
/* float in the title bar (Ex little FA icons in top-right corner) */
/*! important is to overide legacy inline stuff */
/*Vector.css overides this for vector! */
/*This assumes that the page body is not relatively positioned (aka in everything but vector)*/
.float_in_title { position: absolute; z-index: 100; right: 20px; top: 20px !important;}
/* For main page, but used elsewhere so moved here */
/* [[Template:Main page header]] */
/* DO NOT USE common.css/Main Page */
/* i got annoyed this only worked on main page - bawolff */
.mp_header {
background-image:url('//kb42.info/images/5/55/KB42_Header_Dark.png');
background-repeat: no-repeat;
background-size: cover;
/*background-position: top right;*/
height: 225px;
width: 100%;
clear: both;
background-color: #333;
border: 0px solid #000;
padding: 1px 10px 1px 10px;
}
.mp_header_left {
width: 50%;
text-align: left;
white-space: nowrap;
vertical-align: middle;
border: 0px
}
.welcome_to_wn {
font-size: 200%;
font-weight: bold;
padding-top: 3px;
padding-bottom: 8px;
letter-spacing: 1px;
}
.freenews {
font-size: 120%;
}
.mp_header_center {
width: 2px;
align: center;
white-space: nowrap;
border: 0px
}
.mp_header_right {
width: 50%;
text-align: right;
white-space: nowrap;
vertical-align: top;
border: 0px
}
.header_left_text {
font-size: 90%;
margin-bottom: -4px;
}
/* Misc Headers based on subject matter. */
.page_header {
background-repeat: no-repeat;
background-size: cover;
background-position: top right;
height: 225px;
width: 100%;
clear: both;
#background-color: #333;
border: 0px solid #000;
padding: 1px 10px 1px 10px;
}
.page_header_text {
position: absolute;
font-size: 3em;
color:rgb(226, 226, 226);
margin-top: -1em
}
.kb42_bk {
background-image: linear-gradient(var(--header_grade)),url("/images/5/55/KB42_Header_Dark.png");
}
.abduction_bk {
background-image: linear-gradient(var(--header_grade)),url("/images/5/59/Header_Abductions.png");
}
.ufo_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/5/5e/Header_UFO.png");
}
.roswell_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/6/6b/Header_Roswell.png");
}
.bbs_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/5/5a/UFO_BBS_Main_Page.png");
}
.black_project_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/f/f1/Header_Black_Projects.png");
}
.mind_control_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/5/58/Mind_Control_Header.png");
}
.bio_weapon_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/e/e2/Header_Bio_Weapon.png");
}
.secret_societies_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/7/76/Header_SecretSocieties.png");
}
.ai_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/6/62/AI_Header.png");
}
.psyops_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/5/5e/Header_PSYops.png");
}
.politics_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/5/51/Header_Politics.png");
}
.paranet_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/7/7b/Header_ParaNet.png");
}
.conspiracy_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/2/23/Header_Conspiracy.png");
}
.conspiracy_nation_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/1/12/Header_Conspiracy_Nation.png");
}
.privacy_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/7/76/Header_Privacy.png");
}
.CIA_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/6/67/Header_CIA.png");
}
.Area51_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/a/af/Header_Area_51.png");
}
.NWO_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/0/01/Header_New_World_Order.png");
}
.Shadow_Gov_Header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/3/3e/Header_Shadow_Government.png");
}
.sightings_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/8/82/Header_Sightings.png");
}
.time_travel_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/6/61/Time_Travel_Header.png");
}
.personal_preparedness_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/3/36/Header_Personal_Preparedness.png");
}
.covid19_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/c/c4/Header_Covid19.png");
}
.paranormal_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/d/d9/Header_Paranormal.png");
}
.technology_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/9/93/Header_Technology.png");
}
.WEF_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/c/ca/WEF_Header.png");
}
.WHO_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/b/ba/Header_WHO.png");
}
.rendlesham_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/c/c2/Header_Rendlesham_Forest.png");
}
.montauk_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/b/bf/Header_Montauk.png");
}
.philadelphia_experiment_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/c/c8/Header_Philadelphia_Experiment.png");
}
.haarp_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/c/c0/Header_Project_HAARP.png");
}
.jfk_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/9/9e/Header_JFK_Assassination.png");
}
.john_titor_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/8/87/Header_John_Titor.png");
}
.chemtrails_header_bk {
background-image: linear-gradient(var(--header_grade)), url("/images/f/ff/Header_Chemtrails.png");
}
.black_triangles_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/e/ec/Header_Black_Triangles.png");
}
.Phoenix_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/0/09/Header_Phoenix_Lights.png");
}
.Ancient_Aliens_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/a/a3/Header_Ancient_Aliens.png");
}
.ufo_sightings_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/8/82/Header_Sightings.png");
}
.the_moon_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/6/6e/Header_The_Moon.png");
}
.hanger18_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/0/00/Header_Hanger18.png");
}
.whistleblower_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/7/75/Header_Whistleblower.png");
}
.kecksburg_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/0/05/Header_Kecksburg.png");
}
.MIB_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/9/9a/Header_MIB.png");
}
.Majestic12_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/7/70/Header_Majestic_12.png");
}
.Ancient_Archaeology_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/3/35/Header_Ancient_Archaeology.png");
}
.black_helicopters_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/e/e2/Header_Black_Helicopters.png");
}
.Illuminati_header_bk{
background-image: linear-gradient(var(--header_grade)), url("images/f/fc/Header_Illuminati.png");
}
/* Stuff only for main page. Do not use common.css/Main_Page (Flash of unstyled content). */
body.page-Main_Page #firstHeading, #footer-info-lastmod {
display: none;
}
/*this is also in [[mediawiki:monobook.css]] for some reason... */
body.page-Main_Page #mw-revisiontag, #mw-fr-revisiontag {
display: none;
}
body.page-Main_Page #catlinks {
display: none;
}
/*edit links for leads that are semi-protected. The js for this only works on main page. */
body.notAutoconfirmed .hideFromNewbies {
visibility: hidden;
}
/* [[Main Page]] */
body.page-Main_Page .mw-js-message-readyArticles {
display: none !important;
}
.the_table {
width: 100%;
border: 0px solid #000;
-border-radius: 6px;
background: #333;
padding: 0px;
vertical-align: top;
}
.lead_big {
padding: 3px 3px 3px 3px;
vertical-align: top;
width: 66%;
}
.lead_normal {
padding: 3px 6px 3px 6px;
border-top: 1px solid #cfcfbf;
vertical-align: top;
width: 33%;
}
.upper_lead {
height: 100%; /* fixes stretching of table (in firefox anyways)*/
}
.l_box {
vertical-align: top;
}
.latest_news {
vertical-align: top;
padding: 3px 3px 3px 3px;
width: 33%;
}
.portals {
padding: 5px 8px 5px 8px;
}
.main_popular {
padding: 5px 8px 5px 8px;
vertical-align: top;
width: 33%;
}
.recent_interviews {
border-left: 1px solid #cfcfbf;
border-right: 1px solid #cfcfbf;
padding: 5px 8px 5px 8px;
vertical-align: top;
width: 33%;
}
.original_stories {
padding: 5px 8px 5px 8px;
vertical-align: top;
width: 33%;
}
.main_about {
padding: 5px 8px 5px 8px;
vertical-align: top;
width: 33%;
font-size: small;
}
.main_write {
border-left: 1px solid #cfcfbf;
border-right: 1px solid #cfcfbf;
padding: 5px 8px 5px 8px;
vertical-align: top;
width: 33%;
font-size:small;
}
.main_write input.createboxInput {
width: 100%;
}
.main_devel {
padding: 5px 8px 5px 8px;
vertical-align: top;
width: 33%;
}
.breaker {
padding: 5px 8px 5px 8px;
}
/* [[Template:Main headlines]] */
.more_news {
font-size: 125%;
font-weight: bold;
}
.latest_news_text {
text-align: left;
font-size: 90%;
color: gray;
padding-left: 0px;
padding-right: 0px;
}
.latest_news_unchecked {
text-align: left;
font-size: 85%;
color: #111111;
padding-left: 0px;
padding-right: 0px;
}
/* [[Template:Main about]] */
.about_floater {
float: right;
padding-left: 5px;
padding-bottom: 5px;
text-align: center;
font-size: small;
width: 75px;
}
/* This is for edit the templates, not the leads. */
body.page-Main_Page .editor a {
background: none !important;
padding: 0 !important;
display: none;
/* To turn the edit links back on, add the following to your personal CSS:
.editor a { display: inline !important; }
*/
}
.minihead {
font-size: 125%;
font-weight: bold;
}
.more {
font-size: 75%;
float: right;
}
/*Make a border when write an article is linked to */
body.page-Main_Page #writeAnArticleCell:target {border: black medium solid}
/* end stuff for main page only */
/* Annoying flagged revs "you have unreviewed pages on your watchlist" */
#mw-fr-watchlist-pending-notice { display: none }
/* Make the flagged box not be a PITA for non-js clients */
div#mw-fr-revisiondetails {position:static; border-top: none}
div#mw-fr-revisiontag { border: none}
div.flaggedrevs_short_basic { text-align:right; border: 1px solid #CCCCCC;padding:1px;}
/* Clean images' borders */
div.thumbinner { background:#FFFFFF; border:0; }
html body div.thumbcaption { font-size:90%; padding-left:0 !important; padding-right:0 !important; padding-top:0.5em !important; }
div.magnify { display:none; }
/* make redirect categories appear as red links at bottom of the page */
#catlinks a.mw-redirect {color: #BA0000}
/* Content below blatantly copied from en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=414986853 - licensed under CC-BY-SA 3.0 , until specified */
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
border: none;
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}
