MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 57: | Line 57: | ||
} | } | ||
/* AJAXPoll Dark Theme */ | |||
.ajaxpoll { | .ajaxpoll { | ||
background: # | background: #202122; | ||
border: 1px solid # | border: 1px solid #404244; | ||
border-radius: | border-radius: 4px; | ||
padding: 1em; | padding: 1em; | ||
color: #eaecf0; | |||
} | } | ||
.ajaxpoll-question { | .ajaxpoll-question { | ||
font-size: 1. | font-size: 1.2em; | ||
font-weight: bold; | font-weight: bold; | ||
margin-bottom: .75em; | color: #fff; | ||
margin-bottom: 0.75em; | |||
} | |||
.ajaxpoll-misc, | |||
.ajaxpoll-info { | |||
color: #a2a9b1; | |||
font-size: 0.9em; | |||
margin-bottom: 0.75em; | |||
} | } | ||
.ajaxpoll-answer { | .ajaxpoll-answer { | ||
padding: .75em 0; | position: relative; | ||
padding: 0.75em 0; | |||
} | } | ||
| Line 78: | Line 93: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: .5em; | gap: 0.5em; | ||
cursor: pointer; | cursor: pointer; | ||
color: #eaecf0; | |||
} | |||
.ajaxpoll-answer-name input[type="radio"] { | |||
margin: 0; | |||
} | } | ||
.ajaxpoll-answer-vote { | .ajaxpoll-answer-vote { | ||
position: relative; | position: relative; | ||
margin-top: | margin-top: 6px; | ||
padding-top: 18px; | |||
} | } | ||
.ajaxpoll-answer-vote | .ajaxpoll-answer-vote span { | ||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
color: #a2a9b1; | |||
font-size: 0.85em; | |||
} | } | ||
.ajaxpoll-answer-vote | .ajaxpoll-answer-vote > div { | ||
height: 8px; | |||
background: linear-gradient( | |||
to right, | |||
#d39636, | |||
#e5b25f | |||
); | |||
border-radius: 4px; | |||
box-shadow: 0 0 6px rgba(211,150,54,.35); | |||
} | } | ||
.ajaxpoll-our-vote label { | .ajaxpoll-our-vote label { | ||
color: #d39636; | |||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.ajaxpoll- | .ajaxpoll-our-vote > div { | ||
box-shadow: | |||
0 0 8px rgba(211,150,54,.5), | |||
0 0 16px rgba(211,150,54,.2); | |||
} | |||
.ajaxpoll-answer:not(:last-child) { | |||
border-bottom: 1px solid #303234; | |||
} | } | ||
Revision as of 05:38, 7 October 2026
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:[email protected]&display=swap');
#toc {
background: none !important;
}
li.gallerybox div.thumb {
background: none;
border: none;
}
figure[typeof~="mw:File/Thumb"],
figure[typeof~="mw:File/Frame"] {
background: none;
border: none;
}
figure[typeof~="mw:File/Thumb"] > figcaption,
figure[typeof~="mw:File/Frame"] > figcaption {
border: 0;
background: none;
}
figure[typeof~="mw:File/Thumb"] > :not(figcaption) .mw-file-element,
figure[typeof~="mw:File/Frame"] > :not(figcaption) .mw-file-element {
border: 0;
}
.main-flex-right {
max-width: 300px;
}
body.page-Main_Page li#ca-talk { display: none !important; }
body.page-Main_Page li#ca-nstab-main { display: none !important; }
body.page-Main_Page li#ca-history { display: none !important; }
body.page-Main_Page li#ca-viewsource { display: none !important; }
/* CSS Typing Text
*
* @author: Unknown
* current version crafted together by [[User:Christharp]].
*/
.typing{
margin: 10px 0 0 10px;
width: 1000px;
white-space:nowrap;
overflow:hidden;
animation: type 10s steps(100, end);
}
@keyframes type{
from { width: 0; }
}
/* AJAXPoll Dark Theme */
.ajaxpoll {
background: #202122;
border: 1px solid #404244;
border-radius: 4px;
padding: 1em;
color: #eaecf0;
}
.ajaxpoll-question {
font-size: 1.2em;
font-weight: bold;
color: #fff;
margin-bottom: 0.75em;
}
.ajaxpoll-misc,
.ajaxpoll-info {
color: #a2a9b1;
font-size: 0.9em;
margin-bottom: 0.75em;
}
.ajaxpoll-answer {
position: relative;
padding: 0.75em 0;
}
.ajaxpoll-answer-name label {
display: flex;
align-items: center;
gap: 0.5em;
cursor: pointer;
color: #eaecf0;
}
.ajaxpoll-answer-name input[type="radio"] {
margin: 0;
}
.ajaxpoll-answer-vote {
position: relative;
margin-top: 6px;
padding-top: 18px;
}
.ajaxpoll-answer-vote span {
position: absolute;
top: 0;
right: 0;
color: #a2a9b1;
font-size: 0.85em;
}
.ajaxpoll-answer-vote > div {
height: 8px;
background: linear-gradient(
to right,
#d39636,
#e5b25f
);
border-radius: 4px;
box-shadow: 0 0 6px rgba(211,150,54,.35);
}
.ajaxpoll-our-vote label {
color: #d39636;
font-weight: bold;
}
.ajaxpoll-our-vote > div {
box-shadow:
0 0 8px rgba(211,150,54,.5),
0 0 16px rgba(211,150,54,.2);
}
.ajaxpoll-answer:not(:last-child) {
border-bottom: 1px solid #303234;
}
.ajaxpoll-id-info {
display: none;
}