MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap'); | @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'); | @import url('https://fonts.googleapis.com/css2?family=Quicksand:[email protected]&display=swap'); | ||
| Line 56: | Line 55: | ||
@keyframes type{ | @keyframes type{ | ||
from { width: 0; } | from { width: 0; } | ||
} | |||
/* @author: KhangND */ | |||
.d-poll { | |||
--color-primary: #008aff8c; | |||
--space: 0.6em 1em; | |||
--round: 4px; | |||
} | |||
.d-poll { | |||
background: #f3f3f32e; | |||
border: 1px solid var(--color-primary); | |||
border-radius: var(--round); | |||
} | |||
.d-poll__question { | |||
background: var(--color-primary); | |||
padding: var(--space); | |||
} | |||
.d-poll__answer { | |||
background: var(--color-white); | |||
border-bottom: 1px solid #919191; | |||
position: relative; | |||
} | |||
.d-poll__answer-alt { | |||
font-style: italic; | |||
opacity: .5; | |||
} | |||
.d-poll__answerName { | |||
display: block; | |||
padding: var(--space); | |||
cursor: pointer; | |||
} | |||
.d-poll__answerVotes { | |||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
padding: var(--space); | |||
} | |||
.d-poll__info { | |||
padding: var(--space); | |||
text-align: center; | |||
} | |||
.d-poll input[type="submit"] { | |||
background: var(--color-primary); | |||
border: #357ebd; | |||
padding: 0.5em; | |||
margin: 0 var(--space); | |||
display: block; | |||
width: calc(100% - 1.3em); | |||
height: unset; | |||
line-height: unset; | |||
} | |||
.d-poll input[type="submit"]:hover { | |||
background: #3276b1; | |||
} | } | ||
Revision as of 05:23, 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; }
}
/* @author: KhangND */
.d-poll {
--color-primary: #008aff8c;
--space: 0.6em 1em;
--round: 4px;
}
.d-poll {
background: #f3f3f32e;
border: 1px solid var(--color-primary);
border-radius: var(--round);
}
.d-poll__question {
background: var(--color-primary);
padding: var(--space);
}
.d-poll__answer {
background: var(--color-white);
border-bottom: 1px solid #919191;
position: relative;
}
.d-poll__answer-alt {
font-style: italic;
opacity: .5;
}
.d-poll__answerName {
display: block;
padding: var(--space);
cursor: pointer;
}
.d-poll__answerVotes {
position: absolute;
top: 0;
right: 0;
padding: var(--space);
}
.d-poll__info {
padding: var(--space);
text-align: center;
}
.d-poll input[type="submit"] {
background: var(--color-primary);
border: #357ebd;
padding: 0.5em;
margin: 0 var(--space);
display: block;
width: calc(100% - 1.3em);
height: unset;
line-height: unset;
}
.d-poll input[type="submit"]:hover {
background: #3276b1;
}