Foreground.css: Difference between revisions
From Mark Twain in the German Language Press
mNo edit summary |
mNo edit summary |
||
| Line 84: | Line 84: | ||
background-color: #e7e7e7; | background-color: #e7e7e7; | ||
margin: 0 5px; | margin: 0 5px; | ||
border-radius: 3px; | border-radius: 3px; | ||
} | } | ||
Revision as of 13:53, 11 September 2025
/* All CSS here will be loaded for users of the Foreground skin */
body {
background: #fff2e6;
color: #222;
font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
font-style:normal;
font-weight:normal;
text-align: justify;
line-height:1.5;
margin:0;
padding:0;
position:relative
}
/*Add fixed page background for main pages, category pages, and file pages */
.ns-0,
.ns-6,
.ns-14 {
background: fixed no-repeat center / cover url("images/d/d6/MT-splash.jpg");
}
#page-content > .row {
background: #fff2e6;
padding: 2em;
}
/*Create gap between page body and category links at the bottom*/
.catlinks {
margin: 50px 0 0;
}
/*Style footer to be more consistent and same size*/
#footer ul {
font-size: 85%;
text-align: left !important;
}
#footer-right-icons li {
margin: 0;
}
/*Style toc*/
.toc {
background-color: transparent !important;
border: none !important;
}
.toc .toctitle {
text-align: left;
}
.toc h2 {
font-size: 1.5em;
}
/*Styling blockquotes*/
blockquote {
border-left: 5px solid #ccc;
margin: 1em 0;
padding: 0.7em 1.25em;
}
blockquote,
blockquote p {
color: #222;
}
/*Table styling for .wikitables to fit the colour scheme*/
table.wikitable > * > tr > td,
table.wikitable > * > tr > th {
background: #fff2e6;
border: 1px solid #fff2e6;
text-align: left;
}
/*Table styling for .datatables*/
.datatable input {
padding: 5px;
}
.datatable input::placeholder {
font-weight: normal;
}
/* Styling for Foreground built-in tab function */
.tabs .tab-title > a {
background-color: #e7e7e7;
margin: 0 5px;
border-radius: 3px;
}
.tabs .tab-title.active > a {
color: inherit;
background-color: #e7e7e7;
font-weight: bold;
}