MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Import-sysop (talk | contribs) (transformed) |
Import-sysop (talk | contribs) (transformed) |
||
Line 2: | Line 2: | ||
body { | body { | ||
margin: 0; | margin: 0; | ||
} | |||
/* hack: hide purge form to auto click it (is unhidden after 2s) */ | |||
.mw-htmlform-ooui-wrapper { | |||
display: none; | |||
} | } | ||
Line 104: | Line 109: | ||
#timeline, .timeline-tooltip { | #timeline, | ||
.timeline-tooltip { | |||
font-family: Helvetica | font-family: Helvetica | ||
} | } |
Revision as of 13:30, 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;
}
.hidden {
display: none;
}
.mw-headline {
font-family: "Fira Sans", sans-serif;
margin-bottom: 10px;
}
#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 {
padding: 30px;
padding-top: 10px;
background-color: #397ab8;
margin: 0px;
background-image: url(images/Thinker-crop.png);
background-size: 260px 260px;
background-repeat: no-repeat;
background-position: right 50px bottom 0;
}
.hero-section {
height: 230px;
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);
}
}