MediaWiki:Common.css: Difference between revisions
Content deleted Content added
dynamic boxes for image details on filepage |
m hide margin for responsive layout, change two column layout to 1000px |
||
(41 intermediate revisions by the same user not shown) | |||
Line 13:
******************************/
#siteSub {
display:
}
/*display:block;
font-weight:500;
font-size:90%;
padding-bottom: 1em;
}*/
/******************************
Line 26 ⟶ 28:
height:auto;
margin-bottom:0.2em;
text-align:center;
border-radius:10px;
}
.res-img-800 img {
display: block;
margin-left: auto;
margin-right: auto;
max-width:100%;
width:800px;
height:auto;
margin-bottom:0.2em;
text-align:center;
border-radius:10px;
}
.res-img-1000 img {
display: block;
margin-left: auto;
margin-right: auto;
max-width:100%;
width:1000px;
height:auto;
margin-bottom:0.2em;
text-align:center;
border-radius:10px;
}
.res-img-1200 img {
display: block;
margin-left: auto;
margin-right: auto;
max-width:100%;
width:1200px;
height:auto;
margin-bottom:0.2em;
text-align:center;
border-radius:10px;
}
Line 46 ⟶ 86:
}
}
/******************************
* Tabber, toolbar, main body
and heading fonts
******************************/
.tabber_tabs {
font-family:
font-weight:200;
font-variant:small-caps;
}
.mw-body .firstHeading {
font-family:
/*font-weight:300;8?
/*font-variant:small-caps;*/
}
.mw-body-content h2 {
font-family:avenir;
/*font-weight:300;*/
/*font-variant:small-caps;*/
font-size:1.6em;
}
.mw-body-content h3, .mw-body-content h4 {
font-family:avenir;
/*font-weight:300;*/
/*font-variant:small-caps;*/
font-size:1.4em;
}
.mw-article-toolbar-container {
font-family:
text-transform:uppercase;
}
.vector-sticky-header-context-bar-primary {
font-family:avenir;
font-weight:300;
}
/*.mw-body {
font-family:avenir;
font-weight:300;
font-size:115%;
}*/
/******************************
* Hide category header 3
Line 128 ⟶ 187:
position: relative;
overflow: hidden;
max-width:
height: auto;
margin-bottom: 0;
Line 135 ⟶ 194:
max-width: 100%;
height: auto;
/*width: auto\9;*/
border-radius:10px;
}
.banner-box-wide {
Line 195 ⟶ 255:
.mainpage_box h3 {
margin:0.1em 0;
}
Line 245 ⟶ 274:
table.plaintable > * > tr > td {
border: 2px solid #fff;
padding: 0.1em 0.4em 0.1em 0.6em;
text-align: left;
}
Line 259 ⟶ 288:
table.plaintable > caption {
font-weight: bold;
}
table.plaintable td:hover {
background: #e5e5e5;
}
Line 287 ⟶ 320:
/******************************
*
******************************/
.mw-footer-container {
Line 301 ⟶ 334:
/******************************
*
******************************/
div.gallerytext {
padding:0;
}
/******************************
* Upload description area
******************************/
textarea {
Line 318 ⟶ 347:
font-size:13px;
}
/******************************
Line 334 ⟶ 362:
flex: 1;
margin: 5px;
min-width:
/*border: 1px solid #CCC;
padding: 0 10px 10px 10px; Hiding these elements for timeb being
box-shadow: 0 2px 2px rgba(0,0,0,0.1); */
}
.mainpage_box h3 {
Line 355 ⟶ 383:
margin-right: 5px;
}
/*.mainpage_box .items {
border-top: 1px solid #CCC; Hiding this class for the time being
padding-top: 0.5em;
}*/
.mainpage_box p:last-child {
margin-bottom: 0;
Line 389 ⟶ 417:
/******************************
* FLEX FOR "THIS PHOTO" PAGES
******************************/
/* {
box-sizing: border-box;
}*/
/* Column container */
/*.row {
display: flex;
flex-wrap: wrap;
} */
.flex-container {
display: flex;
flex-direction: row;
}
/* Create two unequal columns that sits next to each other */
/* left column */
.left-side {
flex: 65%;
background-color: #f7f7f7;
border:1px solid #ccc;
padding: 10px;
margin: 5px;
box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}
/* right column */
.right-side {
flex: 25%;
background-color: #f7f7f7;
border:1px solid #ccc;
padding: 10px;
margin: 5px;
box-shadow: 0 4px 4px rgba(0,0,0,0.1);
}
/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 800px) {
.flex-container {
flex-direction: column;
}
}
/*********************************************************
* Styling for a responsive image gallery with 4 coloumns
*********************************************************/
.row {
display: flex;
flex-wrap: wrap;
padding: 0 5px;
}
/* Create four equal columns that sits next to each other */
.column {
flex: 25%; /*1*/
max-width: 25%; /*100%*/
/*background-color:var(--color-surface-1);*/
/*border:1px solid var(--border-color-base);*/
/*color:var(--color-base-emphasized);*/
/*border-radius: 8px;*/
/*box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575);*/
padding: 5px;
/*margin: 5px;*/
}
.column img {
margin-top: 8px;
vertical-align: middle;
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 1000px) {
.column {
flex: 50%;
max-width: 50%;
}
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
.column {
flex: 100%;
max-width: 100%;
}
}
/******************************
* FLEX FOR HORIZONTAL INFOBOXES
******************************/
/* Create two unequal columns that sits next to each other */
/* left column */
.left-side-infobox {
flex: 50%;
background-color: #fff;
/*padding: 10px;*/
margin: 10px;
}
/* right column */
.right-side-infobox {
flex: 50%;
background-color: #fff;
/*padding: 10px;*/
margin: 10px;
}
|