MediaWiki:Timeless.css: Difference between revisions
From The Joe Frank Wiki
var(--primary-color) |
var(--primary-color);} |
||
| Line 17: | Line 17: | ||
*/ | */ | ||
a:link {color: var(--primary-color);} | |||
a:link { color: var(--primary-color);} | a:visited {color: var(--primary-color);} | ||
a:visited { color: | a:hover {color: var(--primary-color);} | ||
a:hover { color: | a:active {color: var(--primary-color); text-decoration: underline;} | ||
a:active { color: | |||
#p-logo-text { | #p-logo-text { | ||
Revision as of 11:43, 28 October 2024
:root {
--primary-color: #154169; /* Navy blue */
--secondary-color: #2a4b8d; /* Pale blue */
--tertiary-color: #64a1dc; /* red */
--background-color: #f0f4f8; /* Example background color */
}
#mw-header-container {
background: var(--primary-color);
}
/* ///////// commented out
#mw-content-container {
var(--secondary-color);
}
*/
a:link {color: var(--primary-color);}
a:visited {color: var(--primary-color);}
a:hover {color: var(--primary-color);}
a:active {color: var(--primary-color); text-decoration: underline;}
#p-logo-text {
min-width: 16em;
padding-top:6px;
}
#p-logo-text a {
font-family: 'Courier New','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
color:#FFFFFF;
font-variant: normal; /* Ensures no small-caps */
font-weight: Bold; /* Ensures weight is bold */
font-style: normal; /* Ensures no italics */
letter-spacing: -0.02em;
word-spacing: -0.3em;
}
#p-logo-text a.long {
font-size: 1.6em;}
.tools-inline li.selected {
border-bottom-color:var(--secondary-color);
}
.color-left{
background: var(--secondary-color);
}
.color-right{
background:var(--secondary-color);
}
.color-middle{
background: #var(--secondary-color);
}
/* Top bar font modernization */
#mw-header *,
#mw-site-navigation *,
#mw-related-navigation * {
font-family: 'Courier New', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
font-weight: Bold;
}
/* ////// username */
#mw-header{
#user-tools {
padding-top: 5px;
color:white;
}
}
/* ////////// Avoid cutting off letters with descenders: g,j,p,q,y */
#personal h2 span {
height: 1.5em;
position:relative;
bottom:0.1em
}
/* Triangle position patch */
#personal h2::after {
position: relative;
bottom: 0.5em;
}
.mw-wiki-logo.timeless-logo img {
width: 230px;
height: auto;
margin: 0 0 0
/* margin: 0.75em 0 0.5em */
}
/* Change body font to Courier New for the Timeless skin
body {
font-family: 'Georgia', 'serif';
font-weight:bold;
font-size:1em;
}
*/
body.page-Main_Page {
#firstHeading {
border-bottom: 0px;
height:1px;
}
}
body.page-Main_Page .mw-body h1.firstHeading {
margin: 0.25em 0 0.5em;
border-bottom: none;
display: block;
}
#firstHeading {
font-family: 'Courier New', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
border-bottom: solid 3px var(--secondary-color);
}
.mw-body .mw-heading, .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
font-family:'Courier New', 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
font-size: 1.4em;
font-weight: Bold;
}
#mw-content-container {
border-bottom: solid 4px var(--secondary-color);
}
#p-logo-text a.long {
font-size: 1.4em;
padding: 0 0.15em 0 0;
line-height: 0.8;
letter-spacing: -0.02em;
word-spacing: -0.3em;
margin-top: 9px
}
.th {
background: var(--tertiary-color);
}
#mw-site-navigation {
flex: 0 0 16em;
}
#user-tools #personal h2::after {
display: none;
}
/* //// usertools / username */
@media screen and (min-width: 861px) {
#personal {
padding-left: 0em;
} }
#personal .dropdown label, #personal .dropdown h3 {
color: var(--primary-color)
}
/* //////////////////////// new */
/* Ensure the logo container has full width and is centered */
#p-logo {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin: 0 auto;
}
/* Adjust the logo image for proper spacing */
#p-logo img {
max-width: 100%;
height: auto;
display: block;
}
/* Optional: Ensure the navigation bar sits immediately below the logo */
#site-navigation {
margin-top: 0;
padding-top: 0px; /* Adjust as needed */
border-top: 1px solid #ccc; /* Optional: Add a visual separation */
}
