MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Import-sysop (talk | contribs) (transformed) |
Import-sysop (talk | contribs) (transformed) |
||
Line 7: | Line 7: | ||
.mw-htmlform-ooui-wrapper { | .mw-htmlform-ooui-wrapper { | ||
display: none; | display: none; | ||
} | |||
div.hero-sections a.mw-selflink.selflink { | |||
background-color: white; | |||
color: #1c3c67; | |||
padding: 6px 4px 6px 4px; | |||
} | } | ||
Line 13: | Line 19: | ||
} | } | ||
.mw-headline { | h1 .mw-headline { | ||
font-family: | font-family: sans-serif; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
} | } | ||
h2, h3 { | |||
font-family: Georgia, Times, serif; | |||
} | |||
#firstHeading { | #firstHeading { | ||
Line 42: | Line 53: | ||
.hero-background-right { | .hero-background-right { | ||
min-height: 200px; | |||
padding: 30px; | padding: 30px; | ||
padding-top: 10px; | padding-top: 10px; | ||
Line 47: | Line 59: | ||
margin: 0px; | margin: 0px; | ||
background-image: url(images/Thinker-crop.png); | background-image: url(images/Thinker-crop.png); | ||
background-size: | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: right | background-position: right 0 bottom 0; | ||
} | } | ||
.hero-section { | .hero-section { | ||
background-color: #2e598e; | background-color: #2e598e; | ||
} | } |
Revision as of 21:12, 28 November 2022
/* CSS placed here will be applied to all skins */
body {
margin: 0;
}
/* hack: hide purge form to auto click it (is unhidden after 2s) */
.mw-htmlform-ooui-wrapper {
display: none;
}
div.hero-sections a.mw-selflink.selflink {
background-color: white;
color: #1c3c67;
padding: 6px 4px 6px 4px;
}
.hidden {
display: none;
}
h1 .mw-headline {
font-family: sans-serif;
margin-bottom: 10px;
}
h2, h3 {
font-family: Georgia, Times, serif;
}
#firstHeading {
display: none;
}
.for-missing {
font-weight: bold;
}
#timeline {
width: 100%;
}
#timeline .vis-item-content {
font-size: 80%;
padding: 2px;
}
.formtable th {
width: 7em;
}
.hero-background-right {
min-height: 200px;
padding: 30px;
padding-top: 10px;
background-color: #397ab8;
margin: 0px;
background-image: url(images/Thinker-crop.png);
background-size: contain;
background-repeat: no-repeat;
background-position: right 0 bottom 0;
}
.hero-section {
background-color: #2e598e;
}
.hero-sections {
background-color: #1c3c67;
padding: 10px;
color: white;
}
.hero-sections a,
.hero-sections a:link,
.hero-sections a:visited {
white-space: nowrap;
text-decoration: none;
color: white;
}
.hero-background-right ul {
margin: 0px;
}
.hero-background-right li {
list-style-type: none;
list-style-image: none;
}
.hero-background-right a,
.hero-background-right a:link,
.hero-background-right a:visited {
text-decoration: underline;
}
.hero-background-right h1,
.hero-background-right a {
color: white;
}
.hero-background-right a,
.hero-background-right a:link,
.hero-background-right a:visited {
text-decoration: underline;
}
.hero-background-right h1 {
font-weight: bold;
border-bottom: none;
}
main,
header {
padding: 30px;
font-family: Helvetica
}
#timeline,
.timeline-tooltip {
font-family: Helvetica
}
header {
position: sticky;
top: 0;
background: #2196F3;
}
main {
min-height: 1000vh;
background: #E3F2FD;
line-height: 2;
font-size: 2em;
}
.col-container {
display: flex;
}
.col-container>div {
width: 50%;
margin-right: 10px;
}
.loading-text {
background: white;
color: black;
font-weight: bold;
padding-left: 2em;
}
/**
* ==============================================
* Dot Elastic
* from https://codepen.io/nzbin/pen/GGrXbp
* ==============================================
*/
.dot-elastic {
position: relative;
width: 10px;
height: 10px;
border-radius: 5px;
background-color: #9880ff;
color: #9880ff;
animation: dotElastic 1s infinite linear;
}
.dot-elastic::before,
.dot-elastic::after {
content: '';
display: inline-block;
position: absolute;
top: 0;
}
.dot-elastic::before {
left: -15px;
width: 10px;
height: 10px;
border-radius: 5px;
background-color: #9880ff;
color: #9880ff;
animation: dotElasticBefore 1s infinite linear;
}
.dot-elastic::after {
left: 15px;
width: 10px;
height: 10px;
border-radius: 5px;
background-color: #9880ff;
color: #9880ff;
animation: dotElasticAfter 1s infinite linear;
}
@keyframes dotElasticBefore {
0% {
transform: scale(1, 1);
}
25% {
transform: scale(1, 1.5);
}
50% {
transform: scale(1, 0.67);
}
75% {
transform: scale(1, 1);
}
100% {
transform: scale(1, 1);
}
}
@keyframes dotElastic {
0% {
transform: scale(1, 1);
}
25% {
transform: scale(1, 1);
}
50% {
transform: scale(1, 1.5);
}
75% {
transform: scale(1, 1);
}
100% {
transform: scale(1, 1);
}
}
@keyframes dotElasticAfter {
0% {
transform: scale(1, 1);
}
25% {
transform: scale(1, 1);
}
50% {
transform: scale(1, 0.67);
}
75% {
transform: scale(1, 1.5);
}
100% {
transform: scale(1, 1);
}
}