Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProleWiki:Main page/styles.css: Difference between revisions

From ProleWiki, the proletarian encyclopedia
m (1 revision imported)
No edit summary
 
(199 intermediate revisions by 4 users not shown)
Line 1: Line 1:
/* 用于首页 */
/*
/* 首页不显示红链 */
*
.new {
*
    color: inherit;
* NEW CSS FOR NEW HOMEPAGE
*
*
*/
.homepage-logo span a img{
filter:invert(0) contrast(70%);
}
}


#column-feature-more .column-feature-more-header a {
.mainpage-header-img {
    font-weight: bold;
display: inline-block;
    color: #474747;
width: 100%;
content: url("/pw-conf/img/mainpage/main_page_header.webp");
border-radius: 48px;
}
}


#column-feature-more {
.heading-hyperlink{
    margin-top: 1.2em;
display:none;
    clear: left;
}
}


#column-feature-more ul {
.new-homepage + p > .error.mw-ext-cite-error{ /*This might remove ALL errors from being displayed on the homepage, but necessary for the DPL inclusions*/
    list-style: none;
display:none;
    margin-left: 0;
}
}


#column-feature-more li {
/* header */
    font-size: .9em;
.frame-container.header-part{
    color: #474747;
text-align:center;
justify-content:center;
flex-flow:column nowrap;
gap:0;
}
}


.mp-2012-block-nav-footer {
/*search bar on homepage*/
    color: #666;
.search-bar{
    font-size: .85em;
justify-content:center;
    clear: both;
    text-align: right;
}
}


#mp-2012-banner a {
.search-bar .search-icon-homepage{
    color: #17b;
filter:contrast(10%); /*gray out the magnifying glass icon in the homepage search bar*/
}
}


#mp-2012-banner > div {
#homepage-search{
    line-height: 120px;
border:1px transparent solid;
border-radius:160px;
padding:1rem 0;
margin-top:1.5rem;
margin-bottom:1.2rem;
text-align:center;
cursor:pointer;
user-select:none;
}
}


#mp-2012-banner > div > div {
#homepage-search img{
    line-height: 1.5em;
user-select:none;
    vertical-align: middle;
}
}


#mp-2012-banner-title {
#homepage-search:hover{
    float: left;
/*background-color: variable placed in Common.css*/
    margin-left: 40px;
    width: 240px;
}
}


#mp-2012-banner-title > div {
/* homepage body */
    display: inline-block;
.new-homepage .mainpage-frame{
    font-family: sans-serif;
border-radius:8px;
}
.new-homepage .frame-header{
border-radius:8px 8px 0 0;
}
}


#mp-2012-banner-title h1 {
.new-homepage .frame-body{
    font-size: 2em;
max-height:500px;
    margin: 0;
overflow-y:scroll;
    padding: 0;
    line-height: 1.6em;
}
}


#mp-2012-banner-title p {
/*library infobox styling*/
    margin: 0;
.book-discovery .infobox.vcard{
    padding: 0;
width:100%!important;
    font-size: 90%;
padding:0;
    color: #457;
}
}


#mp-2012-banner-intro > div {
.book-discovery .infobox{
    display: inline-block;
border:transparent!important;
    text-align: center;
margin:0!important;
}
}


#mp-2012-banner-intro .number-of-articles a {
.book-discovery .infobox tbody tr .logo img{
    color: #113C86;
min-height:1px;
    font-size: 120%;
max-height:170px;
    font-family: sans-serif;
width:auto;
    font-weight: bold;
}
}


#mp-2012-banner-intro p {
/*join-us styling*/
    margin: 0;
.join-us .join-stats{
    padding-bottom: .3em;
box-shadow:none!important;
    letter-spacing: .1em;
line-height:1.5em;
    font-weight: bold;
text-align:center;
    color: #457;
}
}


#mp-2012-banner-intro table {
.join-us .join-stats > p{
    width: 100%;
text-align:center!important;
}
}


#mp-2012-banner-intro td {
.join-us .join-stats span{
    vertical-align: top;
color:gray;
    padding: 0 .5em;
}
}


#mp-2012 h1{
#homepage-testimonial{
    font-weight: bold;
text-align:justify;
    border: none;
text-justify:auto;
font-size:0.9em;
padding:2em;
padding-top:1em;
}
}
#mp-2012-links table {
 
    padding: .8em 1.6em;
#homepage-testimonial span{
    font-size: .95em;
color:#404040;
    width: 96%;
    border: 1px solid #EEE;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    margin: 0 auto;
}
}


#mp-2012-links td {
/*communist of the day styling*/
    width: 33.33%;
.cotd .infobox.vcard{
    vertical-align: top;
background-color:transparent!important;
border:none;
}
}


#mp-2012-links h3 {
.cotd .mw-parser-output.mbox,.cotd .frame-body > blockquote{
    font-size: .98em;
display:none;
    font-weight: bold;
    color: #6B6B6B;
    padding-bottom: .2em;
    border-bottom: 1px solid #EEE;
    margin-bottom: .8em;
}
}


#mp-2012-sisters {
/*cheesing infobox display on cotd*/
    margin-top: 50px;
.cotd .frame-body img {
    clear:both;
max-width:250px;
    padding-top: 15px;
width:250px;
    border-top: 3px double #CCC;
height:auto;
    color: #222;
border-radius:6px;
    line-height: 120%;
}
}
/* Scope your styles inside a media query. This means they will only apply on tablet or desktop.  */
/* 以下样式将不会在移动设备中应用  */
/* TODO: 表格可能需要转成<div> ,以适应移动设备 https://www.mediawiki.org/wiki/Mobile_Gateway/Mobile_homepage_formatting#MFSpecialCaseMainPage */


@media all and ( min-width: 720px ) {
.cotd .frame-body > p{ /*only display first lede paragraph in communist of the day*/
/* For the new main page design */
display:none;
}


#mp-2012-sisters > div {
.cotd .frame-body > p:last-of-type, .cotd .frame-body > p:nth-of-type(-n + 2)  { /*only display first lede paragraph in communist of the day and "read more" link*/
    background: white;
display:inline!important;
    width: 45px;
    margin: -40px auto 0;
}
}
#mp-2012-links {
 
    margin-bottom: .8em;
.cotd .frame-body table.infobox.vcard{
    /* Make it flow */
line-height:0;
    overflow: hidden;
width:unset!important;
    clear: left;
margin:0!important;
padding: 0 0 0 3em;
}
}


#mp-2012 #column-uptrends {
.cotd .frame-body table.infobox.vcard tr{
    margin-left: 1.6em;
font-size:0;
    color: #3B3B3B;
overflow:hidden;
}
}


#mp-2012 #column-participate {
.cotd .frame-body table.infobox.vcard img{
    margin-left: 1.6em;
display:block!important;
    color: #3B3B3B;
}
}


#mp-2012 #column-participate-button {
.cotd figcaption{
    text-align: center;
display:none;
    margin-top: 1.5em;
    white-space: nowrap;
    font-weight: bold;
}
}


#mp-2012 #column-tips {
.catlinks.catlinks{
    margin-left: 1.6em;
display:none;
    color: #494949;
}
}


#mp-2012-column-tips-header {
/*featured essay styling*/
    font-weight: bold;
.featured-essay .frame-body{
    color: #444;
max-height:unset!important;
}
}


/* For the new main page design */
.featured-essay .essay-content p{
#mp-2012,
margin-top:0;
#mp-2012-body {
    clear: both;
}
}


#mp-2012 h2 {
/* Need to bring back the "disappear" classes from the essays homepage
    font-weight: bold;
so we don't have to import the entire {{essays homepage}} template*/
    border: none;
.essay-disappear{
display:block!important;
}
}


#mp-2012 h2 {
.essay-disappear2{
    font-size: 1.16em;
display:none;
    margin-bottom: .8em;
}
    letter-spacing: .16em;
 
/*changing layout of featured essay infobox*/
.featured-essay .essay-template-title{
border-bottom:none;
}
}


#mp-2012-body {
.featured-essay .frame-body .infobox-essay .essay-flex{
    min-width: 695px; /* 182 + 40 + 240 + 245 + 20 - 32 */
flex-direction:row;
justify-content:flex-start;
align-items:flex-start;
}
}


#mp-2012-column-left {
.featured-essay .frame-body .infobox-essay .essay-flex .essay-picture{
    float: left;
width:35%;
    width: 64.9%;
height:100%;
max-height:350px;
margin-right:25px;
margin-top:0!important;
overflow:hidden;
}
}


#mp-2012-column-left > div {
.featured-essay .frame-body .infobox-essay .essay-flex .essay-picture img{
    margin-right: 1.5em;
object-fit:contain;
height:inherit;
width:auto;
max-height:350px;
}
}


.mp-2012-column-left-block {
.featured-essay .essay-offset{
    margin-top: .8em;
margin-left:0;
    padding: .8em 1.6em 1.8em;
    line-height: 1.5em;
}
}


.mp-2012-column-left-block + .mp-2012-column-left-block {
/*contributions*/
    margin-top: .4em;
.contributions-homepage .frame-body{
    border-top: 1px solid #EEE;
max-height:unset!important;
}
}


#mp-2012-column-right {
/*support us*/
    float: right;
.support-us .frame-body{
    width: 35%;
max-height:unset!important;
}
}


/*new pillboxes*/
.pills-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
grid-auto-rows:3em;
gap: 0.7em 0.5em;
margin:2em 0;
}


#mp-2012-column-left h2,
.pill{
#mp-2012-column-left h2 a {
overflow:hidden;
    color: #259;
border-radius:6px;
position:relative;
}
}


#mp-2012-column-right h2,
.pill-image{
#mp-2012-column-right h2 a {
position:absolute;
    color: #5c5c5c;
top:0;
left:0;
bottom:0;
right:0;
}
}


#column-feature img, #mp-2012 #column-good img {
.pill-image::after {
    margin: 0.4em 0.9em 0.3em 0;
content: "";
position: absolute;
top:0;
left:0;
bottom:0;
right:0;
background: linear-gradient(to right,#000 -30%,transparent);
transition: transform 250ms ease;
/*pointer-events:none; IN COMMON.CSS*/
}
}


#column-feature p img, #mp-2012 #column-good p img {
.pill-image:hover:after{
    margin: 0;
transform:translateX(-100%);
}
}


#column-feature p, #mp-2012 #column-good p {
.pill-image img{
    line-height: 1.6em;
width:100%;
    text-align: justify;
height:100%;
    text-justify: auto;
object-fit:cover;
transition:150ms cubic-bezier(0.215,0.61,0.355,1);
transition-property:transform;
}
}


#column-dyk li {
.pill-image img:hover{
    margin-bottom: 0.5em;
transform:scale(1.05);
}
}


#mp-2012-column-left .mp-2012-text {
.pill > p{
    color: #1A1A1A;
position: absolute;
display: flex;
align-items:center;
top:0;
bottom:0;
left:0;
right:0;
padding-left:1rem;
margin:0;
color: white;
height: 100%;
font-size:0.9em;
color:white;
text-shadow:-1px 0 .2em #000,0 1px .2em #000,1px 0 .2em #000,0 -1px .2em #000;
}
}


#mp-2012-column-right .mp-2012-text {
.pill > p:hover{
    font-size: .98em;
color:white;
}
}


#mp-2012-column-right > div {
/*fix references being carried over to homepage from DPL transclusions*/
    margin-top: 1.6em;
.mw-references-wrap, .reference,sup.pw-helper{
display:none;
}
}


.mp-2012-column-right-block {
@media screen and (max-width:768px){
    margin: 0 0 1.6em;
.new-homepage .frame-body{
    padding: .8em 1.6em 1.6em;
max-height:unset!important;
}
.frame-container.header-part{
flex-flow:row wrap;
}
.cotd .frame-body table.infobox.vcard{
padding:0;
}
.featured-essay .frame-body .infobox-essay .essay-flex .essay-picture{
width:auto;
max-height:250px;
margin-right:0;
}
}
}


#mp-2012-column-right-block-a {
/*
    border: 1px solid #E8E8E8;
*
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
*
    background: #FFF;
* LEGACY - DO NOT TOUCH
*
*
*/
.mainpage-body {
margin:auto;
}
}


#mp-2012-column-right-block-b {
.firstHeading, #siteSub {
    border: 1px solid #CADEED;
  display:none
    box-shadow: 0px 1px 3px #DDE6ED;
    background: #FFF;
    background: linear-gradient(#fff 65%,#EFF6FA 100%);
    clear: both;
}
}


#mp-2012-column-right-block-c {
#mainpage-banner span
    border: 1px solid transparent;
{
    margin-bottom: .4em;
display: inline-block;
    clear: both;
width: 100%;
content: url(/pw-conf/img/mainpage/en.png);
border-radius:12px;
}
.mainpage-banner-overlay {
position: absolute;
top: 65px;
width: 100%;
}
}


#column-itn li {
.contrib-table{
    margin-bottom: .8em;
overflow:scroll;
}
}


#column-otd img {
/*adding icons to new quick links*/
    margin-left: .6em;
.mainpage-articles>:after{
    margin-bottom: .6em;
content:"";}
.mainpage-library{
content:"";
}
}
.mainpage-essays{
content:"";}
.mainpage-categories{
content:"";}


#column-otd dl {
.mainpage-header {
     padding-left: 1em;
     display: flex;
margin: 2em 5em;
align-items:baseline;
}
}


#column-otd dt {
.header-intro {
     float: left;
     flex: 2;
    width: 4.2em;
}
}


#column-otd dd {
.header-intro h1 {
     margin-bottom: .8em;
     font-size: 2.5em;
     margin-left: 4.5em;
    border: none;
     margin: 0 0 .15em;
}
}


#mp-2012-banner-logo {
.header-intro p {
     float: left;
     font-size: 1.1em;
    width: 182px;
     line-height: 1.7em;
    height: 119px;
    margin-bottom: 1px;
     background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/8/80/Wikipedia-logo-v2.svg/300px-Wikipedia-logo-v2.svg.png");
    background-position: -118px 8px;
    background-repeat: no-repeat;
}
}
#mp-2012-banner {
 
    clear: both;
.header-stats {
    display: flex;
    align-items: center;
    margin:auto;
}
.header-stats ul {
        list-style: none;
}
}


#mp-2012-banner {
@media screen and (max-width: 800px) {
    /* [[File:Zhwp blue banner.png]] */
.mainpage-header {
    background-image: url("//upload.wikimedia.org/wikipedia/commons/0/0a/Zhwp_blue_banner.png");
flex-direction: column;
    background-repeat: repeat-x;
margin:2em;
    height: 120px;
}
    min-width: 727px; /* 182 + 40 + 240 + 245 + 20 */
}
 
.mainpage-frame {
box-shadow: 0 0 .3em #999;
border-radius: 1em;
width:100%;
}
.mainpage-frame:after {
display: block;
content: "";
clear: both;
}
.separator {
width:5%;
margin:1em auto;
}
.frame-header {
background-color:#b50014;
border-radius: 1em 1em 0.25em 0.25em;
color: #fff;
padding: .2em .8em;
font-weight: bold;
}
.frame-header:before {
display: inline-block;
/* Add some content in order to get normal line height, then make it transparent */
content: "x";
color: transparent;
width: 20px;
margin-right:5px;
opacity: .7;
/*[[File:Hamsickwhite.svg]]*/
background-image: url(https://shared.prolewiki.org/uploads/3/3d/Hamsickwhite.svg);
background-size: contain;
background-repeat: no-repeat;
background-position: left center;
}
.frame-body {
padding: 1em;
}
}


#mp-2012-banner-intro {
/*bringing some of the bootstrap framework*/
    float: right;
.frame-container{ /* ideally this should be the first <div> tag on the page and EVERYTHING is contained in it */
    margin-right: 20px;
display:flex;
    width: 245px;
align-self:flex-start;
    text-align: right;
flex-flow:row wrap;
gap:15px;
margin-bottom:2rem;
}
}
.col-1{flex:0 0 auto;width:8%}
.col-2{flex:0 0 auto;width:15%}
.col-3{flex:0 0 auto;width:24%}
.col-4{flex:0 0 auto;width:32%}
.col-5{flex:0 0 auto;width:40%}
.col-6{flex:0 0 auto;width:49%}
.col-7{flex:0 0 auto;width:57%}
.col-8{flex:0 0 auto;width:65%}
.col-9{flex:0 0 auto;width:76%}
.col-10{flex:0 0 auto;width:84%}
.col-11{flex:0 0 auto;width:90%}
.col-12{flex:0 0 auto;width:100%}
@media only screen and (max-width:768px){
.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12{
width:100%;
}
.frame-container{
margin-bottom:15px; /* should be same as flex gap */
}
.quick-links-table tbody tr td{
padding-right:10px;
}
.quick-links-table tbody tr td:last-child{
padding-right:0;
}
}
}

Latest revision as of 11:29, 15 November 2024

/*
*
*
* NEW CSS FOR NEW HOMEPAGE
*
*
*/
.homepage-logo span a img{
	filter:invert(0) contrast(70%);
}

.mainpage-header-img {
	display: inline-block;
	width: 100%;
	content: url("/pw-conf/img/mainpage/main_page_header.webp");
	border-radius: 48px;
}

.heading-hyperlink{
	display:none;
}

.new-homepage + p > .error.mw-ext-cite-error{ /*This might remove ALL errors from being displayed on the homepage, but necessary for the DPL inclusions*/
	display:none;
}

/* header */
.frame-container.header-part{
	text-align:center;
	justify-content:center;
	flex-flow:column nowrap;
	gap:0;
}

/*search bar on homepage*/
.search-bar{
	justify-content:center;
}

.search-bar .search-icon-homepage{
	filter:contrast(10%); /*gray out the magnifying glass icon in the homepage search bar*/
}

#homepage-search{
	border:1px transparent solid;
	border-radius:160px;
	padding:1rem 0;
	margin-top:1.5rem;
	margin-bottom:1.2rem;
	text-align:center;
	cursor:pointer;
	user-select:none;
}

#homepage-search img{
	user-select:none;
}

#homepage-search:hover{
	/*background-color: variable placed in Common.css*/
}

/* homepage body */
.new-homepage .mainpage-frame{
	border-radius:8px;
}
.new-homepage .frame-header{
	border-radius:8px 8px 0 0;
}

.new-homepage .frame-body{
	max-height:500px;
	overflow-y:scroll;
}

/*library infobox styling*/
.book-discovery .infobox.vcard{
	width:100%!important;
	padding:0;
}

.book-discovery .infobox{
	border:transparent!important;
	margin:0!important;
}

.book-discovery .infobox tbody tr .logo img{
	min-height:1px;
	max-height:170px;
	width:auto;
}

/*join-us styling*/
.join-us .join-stats{
	box-shadow:none!important;
	line-height:1.5em;
	text-align:center;
}

.join-us .join-stats > p{
	text-align:center!important;
}

.join-us .join-stats span{
	color:gray;
}

#homepage-testimonial{
	text-align:justify;
	text-justify:auto;
	font-size:0.9em;
	padding:2em;
	padding-top:1em;
}

#homepage-testimonial span{
	color:#404040;
}

/*communist of the day styling*/
.cotd .infobox.vcard{
	background-color:transparent!important;
	border:none;
}

.cotd .mw-parser-output.mbox,.cotd .frame-body > blockquote{
	display:none;
}

		/*cheesing infobox display on cotd*/
.cotd .frame-body img {
	max-width:250px;
	width:250px;
	height:auto;
	border-radius:6px;
}

.cotd .frame-body > p{ /*only display first lede paragraph in communist of the day*/
	display:none;
}

.cotd .frame-body > p:last-of-type, .cotd .frame-body > p:nth-of-type(-n + 2)  { /*only display first lede paragraph in communist of the day and "read more" link*/
	display:inline!important;
}

.cotd .frame-body table.infobox.vcard{
	line-height:0;
	width:unset!important;
	margin:0!important;
	padding: 0 0 0 3em;
}

.cotd .frame-body table.infobox.vcard tr{
	font-size:0;
	overflow:hidden;
}

.cotd .frame-body table.infobox.vcard img{
	display:block!important;
}

.cotd figcaption{
	display:none;
}

.catlinks.catlinks{
	display:none;
}

/*featured essay styling*/
.featured-essay .frame-body{
	max-height:unset!important;
}

.featured-essay .essay-content p{
	margin-top:0;
}

/* Need to bring back the "disappear" classes from the essays homepage
so we don't have to import the entire {{essays homepage}} template*/
.essay-disappear{
	display:block!important;
}

.essay-disappear2{
	display:none;
} 

/*changing layout of featured essay infobox*/
.featured-essay .essay-template-title{
	border-bottom:none;
}

.featured-essay .frame-body .infobox-essay .essay-flex{
	flex-direction:row;
	justify-content:flex-start;
	align-items:flex-start;
}

.featured-essay .frame-body .infobox-essay .essay-flex .essay-picture{
	width:35%;
	height:100%;
	max-height:350px;
	margin-right:25px;
	margin-top:0!important;
	overflow:hidden;
}

.featured-essay .frame-body .infobox-essay .essay-flex .essay-picture img{
	object-fit:contain;
	height:inherit;
	width:auto;
	max-height:350px;
}

.featured-essay .essay-offset{
	margin-left:0;
}

/*contributions*/
.contributions-homepage .frame-body{
	max-height:unset!important;
}

/*support us*/
.support-us .frame-body{
	max-height:unset!important;
}

/*new pillboxes*/
.pills-grid{
	display:grid;
	grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
	grid-auto-rows:3em;
	gap: 0.7em 0.5em;
	margin:2em 0;
}

.pill{
	overflow:hidden;
	border-radius:6px;
	position:relative;
}

.pill-image{
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
}

.pill-image::after {
	content: "";
	position: absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	background: linear-gradient(to right,#000 -30%,transparent);
	transition: transform 250ms ease;
	/*pointer-events:none; IN COMMON.CSS*/
}

.pill-image:hover:after{
	transform:translateX(-100%);
}

.pill-image img{
	width:100%;
	height:100%;
	object-fit:cover;
	transition:150ms cubic-bezier(0.215,0.61,0.355,1);
	transition-property:transform;
}

.pill-image img:hover{
	transform:scale(1.05);
}

.pill > p{
	position: absolute;
	display: flex;
	align-items:center;
	top:0;
	bottom:0;
	left:0;
	right:0;
	padding-left:1rem;
	margin:0;
	color: white;
	height: 100%;
	font-size:0.9em;
	color:white;
	text-shadow:-1px 0 .2em #000,0 1px .2em #000,1px 0 .2em #000,0 -1px .2em #000;
}

.pill > p:hover{
	color:white;
}

/*fix references being carried over to homepage from DPL transclusions*/
.mw-references-wrap, .reference,sup.pw-helper{
	display:none;
}

@media screen and (max-width:768px){
	.new-homepage .frame-body{
		max-height:unset!important;
	}
	
	.frame-container.header-part{
		flex-flow:row wrap;
	}
	
	.cotd .frame-body table.infobox.vcard{
		padding:0;
	}
	
	.featured-essay .frame-body .infobox-essay .essay-flex .essay-picture{
		width:auto;
		max-height:250px;
		margin-right:0;
	}
}

/*
*
*
* LEGACY - DO NOT TOUCH
*
*
*/
.mainpage-body {
	margin:auto;
}

.firstHeading, #siteSub {
  display:none
}

#mainpage-banner span
{
	display: inline-block;
	width: 100%;
	content: url(/pw-conf/img/mainpage/en.png);
	border-radius:12px;
	
}
.mainpage-banner-overlay {
	position: absolute;
	top: 65px;
	width: 100%;
}

.contrib-table{
	overflow:scroll;
}

/*adding icons to new quick links*/
.mainpage-articles>:after{
	content:"";}
.mainpage-library{
	content:"";
}
.mainpage-essays{
	content:"";}
.mainpage-categories{
	content:"";}

.mainpage-header {
    display: flex;
	margin: 2em 5em;
	align-items:baseline;
}

.header-intro {
    flex: 2;
}

.header-intro h1 {
    font-size: 2.5em;
    border: none;
    margin: 0 0 .15em;
}

.header-intro p {
    font-size: 1.1em;
    line-height: 1.7em;
}

.header-stats {
    display: flex;
    align-items: center;
    margin:auto;
}
.header-stats ul {
        list-style: none;
}

@media screen and (max-width: 800px) {
	.mainpage-header {
		flex-direction: column;
		margin:2em;
	}
}

.mainpage-frame {
	box-shadow: 0 0 .3em #999;
	border-radius: 1em;
	width:100%;
}
.mainpage-frame:after {
	display: block;
	content: "";
	clear: both;
}
.separator {
	width:5%;
	margin:1em auto;
}
.frame-header {
	background-color:#b50014;
	border-radius: 1em 1em 0.25em 0.25em;
	color: #fff;
	padding: .2em .8em;
	font-weight: bold;
}
.frame-header:before {
	display: inline-block;
	/* Add some content in order to get normal line height, then make it transparent */
	content: "x";
	color: transparent;
	width: 20px;
	margin-right:5px;
	opacity: .7;
	/*[[File:Hamsickwhite.svg]]*/
	background-image: url(https://shared.prolewiki.org/uploads/3/3d/Hamsickwhite.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left center;
}
.frame-body {
	padding: 1em;
}

/*bringing some of the bootstrap framework*/
.frame-container{ /* ideally this should be the first <div> tag on the page and EVERYTHING is contained in it */
	display:flex;
	align-self:flex-start;
	flex-flow:row wrap;
	gap:15px;
	margin-bottom:2rem;
}

.col-1{flex:0 0 auto;width:8%}
.col-2{flex:0 0 auto;width:15%}
.col-3{flex:0 0 auto;width:24%}
.col-4{flex:0 0 auto;width:32%}
.col-5{flex:0 0 auto;width:40%}
.col-6{flex:0 0 auto;width:49%}
.col-7{flex:0 0 auto;width:57%}
.col-8{flex:0 0 auto;width:65%}
.col-9{flex:0 0 auto;width:76%}
.col-10{flex:0 0 auto;width:84%}
.col-11{flex:0 0 auto;width:90%}
.col-12{flex:0 0 auto;width:100%}

@media only screen and (max-width:768px){
	.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12{
		width:100%;
	}
	.frame-container{
		margin-bottom:15px; /* should be same as flex gap */
	}
	.quick-links-table tbody tr td{
		padding-right:10px;
	}
	.quick-links-table tbody tr td:last-child{
		padding-right:0;
	}
}