MediaWiki:Cologneblue.css: Difference between revisions
From the Audiovisual Identity Database, the motion graphics museum
Content deleted Content added
unbreaking header image link |
No edit summary |
||
Line 1: | Line 1: | ||
/* 'Wetpaint' modification for 'Cologne Blue' MediaWiki theme */ |
/* 'Wetpaint' modification for 'Cologne Blue' MediaWiki theme v1.1 */ |
||
/* intended for use on the |
/* intended for use on the Audiovisual Identity Database */ |
||
/* ---------- */ |
/* ---------- */ |
||
/* copy all of this and paste into your custom CSS for the 'cologne blue' theme, available under 'user preferences > theme'. */ |
/* copy all of this and paste into your custom CSS for the 'cologne blue' theme, available under 'user preferences > theme'. */ |
||
/* if you are looking to |
/* if you are looking to add positioning similar to the old site I would recommend you use the code in User:PajamaFrix/cologneblue.js */ |
||
body, #toplinks, #article, #article td, #article th, #article p, #quickbar {font-family: Arial, Verdana, Helvetica, sans-serif;} |
body, #toplinks, #article, #article td, #article th, #article p, #quickbar {font-family: Arial, Verdana, Helvetica, sans-serif;} |
||
Line 9: | Line 9: | ||
/* Background color */ |
/* Background color */ |
||
body.ns-0, body {background: #252525;} |
body.ns-0, body {background: #252525;} |
||
/* body.ns-0, body {background: #242424 url(https://park-city.club/~frix/css/clg/img/bg/CLG2017_bg.png) no-repeat right -30px;} */ |
|||
.image img, p img { |
.image img, p img { |
||
Line 19: | Line 17: | ||
/* Header */ |
/* Header */ |
||
#topbar {background: transparent;} |
#topbar {background: transparent;} |
||
/* #topbar {background: transparent url(https://park-city.club/~frix/css/clg/img/bg/CLG2017_itm_headerSite.png) no-repeat -15px 10px;} */ |
|||
#sitetitle { |
#sitetitle { |
||
Line 27: | Line 23: | ||
padding:0; |
padding:0; |
||
height: 200px; |
height: 200px; |
||
margin-bottom: |
margin-bottom: 40px; |
||
text-transform: capitalize; |
text-transform: capitalize; |
||
/* margin:-10px 0 0; */ |
/* margin:-10px 0 0; */ |
||
Line 36: | Line 32: | ||
font-family: "Times New Roman", Times, Georgia, serif; |
font-family: "Times New Roman", Times, Georgia, serif; |
||
position:relative; |
position:relative; |
||
/* background: transparent url(https://park-city.club/~frix/css/clg/img/bg/CLG2017_bg_headerSite.png) no-repeat right 50%; */ |
|||
} |
} |
||
Line 43: | Line 38: | ||
display: inline-block; |
display: inline-block; |
||
background: transparent url("https://static.miraheze.org/avidwiki/1/10/AVID-BANNER-CLASSIC.png") no-repeat center; |
background: transparent url("https://static.miraheze.org/avidwiki/1/10/AVID-BANNER-CLASSIC.png") no-repeat center; |
||
background-size: |
background-size:contain; |
||
width: 768px; |
width: 768px; |
||
height: 200px; |
height: 200px; |
||
padding:0 0 0 10px; |
padding:0 0 0 10px; |
||
margin:0; |
margin:0; |
||
margin-left: |
margin-left:8px; |
||
background-size: contain; |
|||
⚫ | |||
font-size:0; |
font-size:0; |
||
vertical-align: bottom; |
vertical-align: bottom; |
||
} |
} |
||
/* #sitetitle a, #sitetitle a:hover { |
|||
⚫ | |||
color:#8BD3E5; |
|||
⚫ | |||
} */ |
|||
/* Navigation bar */ |
/* Navigation bar */ |
||
Line 93: | Line 80: | ||
} |
} |
||
#sitetitle, #sitesub, #toplinks |
#sitetitle, #sitesub, #toplinks { |
||
margin-bottom:40px; |
margin-bottom:40px; |
||
⚫ | |||
#linkcollection { |
|||
⚫ | |||
} |
} |
||
Line 108: | Line 99: | ||
border: 1px solid #CDCDCD; |
border: 1px solid #CDCDCD; |
||
background: #fff; |
background: #fff; |
||
margin-left: |
margin-left: 220px; |
||
padding: 10px; |
padding: 10px; |
||
margin-right: 10px; |
margin-right: 10px; |
||
} |
} |
||
/* Quick bar */ |
|||
#quickbar { |
#quickbar { |
||
width: 170px; |
width: 170px; |
||
top: |
top:315px; |
||
background: #fff; |
background: #fff; |
||
font-weight:normal; |
font-weight:normal; |
||
border: 1px solid # |
border: 1px solid #000; |
||
font-size: 80%; |
font-size: 80%; |
||
color: #666; |
color: #666; |
||
padding: 2.5px 10px 5px 10px; |
padding: 2.5px 10px 5px 10px; |
||
left: |
left: 14px; |
||
height: |
height: 200px; |
||
overflow: auto; |
overflow: auto; |
||
box-shadow: 0 0 0 1px #666; |
|||
} |
} |
||
Line 134: | Line 128: | ||
} |
} |
||
#quickbar li {list-style: none !important;} |
|||
#quickbar li:before { |
|||
content: "\2022"; |
|||
color: #c2e1ff; |
|||
⚫ | |||
position: absolute; |
|||
width: 1em; |
|||
⚫ | |||
⚫ | |||
} |
|||
#quickbar li a { |
#quickbar li a { |
||
line-height: 1.25em; |
line-height: 1.25em; |
||
display: block; |
display: block; |
||
margin: 0 |
margin: 0 -10px 0 -100px; |
||
padding: 0.2em 0 0.2em 100px; |
|||
position: relative; |
position: relative; |
||
color: #497FB1; |
color: #497FB1; |
||
Line 146: | Line 152: | ||
#quickbar h3 { |
#quickbar h3 { |
||
font-weight:normal; |
font-weight:normal; |
||
font-family: 'AVID Sans'; |
|||
color: #497FB1; |
color: #497FB1; |
||
font-size: 13px; |
|||
margin |
margin: 0 -10px 0 -100px; |
||
padding: 0.2em 0 0.2em 100px; |
|||
cursor: default; |
|||
} |
} |
||
#quickbar li a:hover { |
#quickbar li a:hover, #quickbar h3:hover { |
||
background-color: #E3EEF9; |
background-color: #E3EEF9; |
||
color: #DE590A; |
color: #DE590A; |
||
} |
} |
||
a:link, a:visited, |
|||
a:hover { |
|||
.oo-ui-tabOptionWidget:not(.oo-ui-optionWidget-selected).oo-ui-widget-enabled .oo-ui-labelElement-label{ |
|||
⚫ | |||
color: #497FB1; |
|||
⚫ | |||
} |
} |
||
a:hover {color:#FF7F00;text-decoration:underline;} |
|||
#sitetitle, #sitesub, #toplinks, #linkcollection { |
|||
⚫ | |||
⚫ | |||
/* more page formatting */ |
|||
#linkcollection, #sitesub {visibility: hidden;} |
#linkcollection, #sitesub {visibility: hidden;} |
||
#ca-cb-mainpage {margin-left:5px;} |
#ca-cb-mainpage {margin-left:5px;} |
||
Line 210: | Line 220: | ||
#article p.subtitle, #article p.subpages, #article p.tagline {display:none;} |
#article p.subtitle, #article p.subpages, #article p.tagline {display:none;} |
||
#firstHeading {padding-bottom: 5px;margin-bottom: 5px;} |
#firstHeading {padding-bottom: 5px;margin-bottom: 5px;} |
||
#siteNotice {visibility: |
#siteNotice {visibility: visible;border:none;} |
||
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button { |
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button { |
Revision as of 23:51, 18 February 2023
/* 'Wetpaint' modification for 'Cologne Blue' MediaWiki theme v1.1 */
/* intended for use on the Audiovisual Identity Database */
/* ---------- */
/* copy all of this and paste into your custom CSS for the 'cologne blue' theme, available under 'user preferences > theme'. */
/* if you are looking to add positioning similar to the old site I would recommend you use the code in User:PajamaFrix/cologneblue.js */
body, #toplinks, #article, #article td, #article th, #article p, #quickbar {font-family: Arial, Verdana, Helvetica, sans-serif;}
/* Background color */
body.ns-0, body {background: #252525;}
.image img, p img {
max-width: 500px;
height: auto;
}
/* Header */
#topbar {background: transparent;}
#sitetitle {
background: #252525;
margin:0;
padding:0;
height: 200px;
margin-bottom: 40px;
text-transform: capitalize;
/* margin:-10px 0 0; */
min-height:100px;
/* padding: 5px; */
line-height:1em;
font-size:2.7em;
font-family: "Times New Roman", Times, Georgia, serif;
position:relative;
}
/* Header image */
#sitetitle a, #sitetitle a:hover {
display: inline-block;
background: transparent url("https://static.miraheze.org/avidwiki/1/10/AVID-BANNER-CLASSIC.png") no-repeat center;
background-size:contain;
width: 768px;
height: 200px;
padding:0 0 0 10px;
margin:0;
margin-left:8px;
font-size:0;
vertical-align: bottom;
}
/* Navigation bar */
#toplinks {
top: 200px; /* needs to be manually adjusted */
background: #666;
height: 40px;
right: 0;
text-transform: capitalize;
}
#toplinks a {
font-size: 14px;
}
#toplinks a:hover {
text-decoration: underline;
}
.cb-piped-list > li:not(:first-child)::before {
content: '⸽';
display: inline-block;
margin-right: 10px;
}
.cb-piped-list > li {
float: left;
white-space: nowrap;
position: relative;
display: block;
font-weight: bold;
line-height: 40px;
padding: 0 5px;
margin-bottom: 0;
}
#sitetitle, #sitesub, #toplinks {
margin-bottom:40px;
}
#linkcollection {
margin-bottom:10px;
}
h1 {font-size: 175%;}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
color: black;
font-family: Arial, Verdana, Helvetica, sans-serif;
}
#article {
border: 1px solid #CDCDCD;
background: #fff;
margin-left: 220px;
padding: 10px;
margin-right: 10px;
}
/* Quick bar */
#quickbar {
width: 170px;
top:315px;
background: #fff;
font-weight:normal;
border: 1px solid #000;
font-size: 80%;
color: #666;
padding: 2.5px 10px 5px 10px;
left: 14px;
height: 200px;
overflow: auto;
box-shadow: 0 0 0 1px #666;
}
#p-search {display:none;}
#quickbar .portlet ul, #quickbar .portlet li {
list-style-type: square;
margin: 0.3em 0 0 0.5em;
}
#quickbar li {list-style: none !important;}
#quickbar li:before {
content: "\2022";
color: #c2e1ff;
display: inline-block;
position: absolute;
width: 1em;
margin-left: -1em;
margin-top: 0.15em;
}
#quickbar li a {
line-height: 1.25em;
display: block;
margin: 0 -10px 0 -100px;
padding: 0.2em 0 0.2em 100px;
position: relative;
color: #497FB1;
text-decoration: none;
}
#quickbar h3 {
font-weight:normal;
font-family: 'AVID Sans';
color: #497FB1;
font-size: 13px;
margin: 0 -10px 0 -100px;
padding: 0.2em 0 0.2em 100px;
cursor: default;
}
#quickbar li a:hover, #quickbar h3:hover {
background-color: #E3EEF9;
color: #DE590A;
}
a:link, a:visited,
.oo-ui-tabOptionWidget:not(.oo-ui-optionWidget-selected).oo-ui-widget-enabled .oo-ui-labelElement-label{
color: #497FB1;
text-decoration:none;
}
a:hover {color:#FF7F00;text-decoration:underline;}
/* more page formatting */
#linkcollection, #sitesub {visibility: hidden;}
#ca-cb-mainpage {margin-left:5px;}
#footer {
font-family: Arial, Verdana, Helvetica, sans-serif;
text-align: left;
position: relative;
height: 80px;
margin: 20px 0 10px 0;
padding: 0px;
font-size: 75%;
color: #DDDDDD;
}
#footer li {line-height: 30px;}
#footer li a {color: #C5DBED;}
#footer li a:hover {color: #DDDDDD;}
#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
text-indent: -100px;
background: #fff;
background-image: none;
color: #497FB1;
text-decoration: none;
}
#pt-notifications-alert .mw-echo-notifications-badge li a:hover, #pt-notifications-notice .mw-echo-notifications-badge li a:hover{
text-indent: -100px;
background: #E3EEF9;
background-image: none;
color: #DE590A;
text-decoration: underline;
}
#p-personal li#pt-notifications-alert, #p-personal li#pt-notifications-notice {
display: list-item;
margin: 0.75em 0.5em 0.75em 6.5px;
}
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read::before, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read::before, #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {filter:none;}
#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {filter:none;}
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {opacity: 1;}
#pt-uls {display:none;}
#article p.subtitle, #article p.subpages, #article p.tagline {display:none;}
#firstHeading {padding-bottom: 5px;margin-bottom: 5px;}
#siteNotice {visibility: visible;border:none;}
.oo-ui-buttonElement-framed > .oo-ui-buttonElement-button {
background: #A9CEEE
url(https://i.imgur.com/feC4z6s.png)
repeat-x top left;
border: solid 1px #979797;
color: #333;
padding: .3em 1em .3em 1em;
margin: 0;
cursor: pointer;
font-weight: bold;
font-size: 90%;
overflow: visible;
width: auto;
}
.oo-ui-buttonElement > .oo-ui-buttonElement-button {min-height: 20px;}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
border-color: #a2a9b1;
background-color: #CCC;
color: #333;
font-weight: normal;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover{
color: #000;
background-color: #A9CEEE;
border-color: #a2a9b1;
font-weight: bold;
}
#p-search #searchInput {
width:166px;
border:1px solid #cdcdcd;
margin:0 3px;
padding:.1em 0 .1em .2em;
vertical-align:bottom;
line-height:1.4em;
height:1.7em;
color:#666;
text-align:left
}
#p-search input.mw-fallbackSearchButton {
vertical-align:top;
background:transparent url(https://i.imgur.com/1IFH14g.png) no-repeat top;
border:none;
height:17px;
width:17px;
margin:.2em 0 0 0;
padding:0;
color:transparent;
cursor:pointer
}