2019-08-15 17:40:13 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Common Styles
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import 'mediawiki.mixins';
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Framework
|
|
|
|
*/
|
|
|
|
|
|
|
|
html {
|
|
|
|
font-size: @html-font-size;
|
|
|
|
scroll-padding-top: @header-height + @margin-side; // fixed header offset, supported by major browsers
|
|
|
|
scroll-behavior: smooth; // not supported by IE, Edge, Safari, and Opera, use JQuery as fallback
|
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
2019-11-19 00:43:44 +00:00
|
|
|
min-height: 100%;
|
2019-08-15 17:40:13 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2019-12-02 15:16:19 +00:00
|
|
|
background: @base-100;
|
|
|
|
color: @color-content-text;
|
2019-08-15 17:40:13 +00:00
|
|
|
font-family: @fonts;
|
|
|
|
// font-smoothing: antialiased;
|
|
|
|
// -webkit-font-smoothing: antialiased; /* Chrome, Safari */
|
|
|
|
// -moz-osx-font-smoothing: grayscale; /* Firefox */
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
// TEMP solution to fix overflow
|
|
|
|
display: block;
|
|
|
|
max-width: 100vw;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: square;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p,
|
2019-12-10 18:38:02 +00:00
|
|
|
ul,
|
|
|
|
ol,
|
2019-12-04 03:51:50 +00:00
|
|
|
dl {
|
2019-12-10 18:31:25 +00:00
|
|
|
margin: @content-margin-top 0 0 0;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
tt,
|
|
|
|
kbd,
|
|
|
|
samp,
|
|
|
|
.mw-code {
|
|
|
|
font-family: @fonts-monospace;
|
|
|
|
font-size: @content-monospace-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
.mw-code {
|
|
|
|
color: @base-0;
|
|
|
|
background-color: @base-90;
|
|
|
|
border: 1px solid @base-80;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
padding: 1px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
.mw-code {
|
|
|
|
padding: 1rem;
|
|
|
|
/* Wrap lines in overflow. T2260, T103780 */
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2019-11-26 07:06:36 +00:00
|
|
|
cite {
|
|
|
|
font-style: inherit;
|
|
|
|
}
|
|
|
|
|
2019-12-11 21:04:26 +00:00
|
|
|
input {
|
|
|
|
font-family: @fonts;
|
|
|
|
}
|
|
|
|
|
2019-12-10 20:32:34 +00:00
|
|
|
fieldset {
|
|
|
|
border: 1px solid @base-80;
|
|
|
|
color: @base-30;
|
|
|
|
font-size: @content-monospace-size;
|
|
|
|
margin: @content-margin-top 0;
|
|
|
|
padding: @content-margin-top / 2 @margin-side;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset>table {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
legend {
|
|
|
|
font-weight: bold;
|
|
|
|
color: @base-20;
|
|
|
|
margin: 0 -@margin-side / 2;
|
|
|
|
padding: @margin-side / 2;
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-11-19 00:43:44 +00:00
|
|
|
dd {
|
2019-12-10 18:31:25 +00:00
|
|
|
margin-left: @content-margin-top * 2;
|
2019-12-04 04:02:18 +00:00
|
|
|
margin-bottom: 0.1rem;
|
2019-11-19 00:43:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
2019-12-04 04:02:18 +00:00
|
|
|
margin-bottom: 0.1rem;
|
2019-11-19 00:43:44 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
td {
|
|
|
|
|
|
|
|
>p,
|
|
|
|
>ul,
|
|
|
|
>ol {
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0; // Remove margin for the first element in td
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: @color-link;
|
|
|
|
text-decoration: none !important;
|
|
|
|
|
|
|
|
&:not([ href]) {
|
|
|
|
cursor: pointer;
|
|
|
|
/* Always cursor:pointer even without href */
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @color-link-active;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
color: @color-link-new !important; // Override visited
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @color-link-new-active !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:visited {
|
|
|
|
color: @color-link;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @color-link-active;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-selflink {
|
|
|
|
color: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: inherit;
|
|
|
|
text-decoration: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:visited {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.error {
|
|
|
|
padding: 2px 4px;
|
|
|
|
background-color: @red-90;
|
|
|
|
font-size: unset;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
2019-12-11 05:53:49 +00:00
|
|
|
.nowrap {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2019-12-11 21:38:01 +00:00
|
|
|
.screen-reader-text {
|
|
|
|
.mixin-screen-reader-text;
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
/*
|
|
|
|
* Content
|
|
|
|
*/
|
|
|
|
|
2019-10-29 05:49:49 +00:00
|
|
|
#mw-wrapper {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2019-11-18 07:51:55 +00:00
|
|
|
#siteNotice {
|
2019-11-19 00:43:44 +00:00
|
|
|
margin: -@margin-side -@margin-side @margin-side -@margin-side;
|
2019-11-21 05:22:07 +00:00
|
|
|
padding: @margin-side / 2 @margin-side;
|
2019-11-20 20:39:15 +00:00
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
2019-11-21 05:22:07 +00:00
|
|
|
width: ~'calc(100vw - 40px)';
|
2019-11-18 07:51:55 +00:00
|
|
|
background: @red-30;
|
|
|
|
color: @base-100;
|
|
|
|
font-size: @content-monospace-size;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
.mw-body,
|
|
|
|
.parsoid-body {
|
|
|
|
margin-top: @header-height + @margin-side;
|
|
|
|
padding: 0 @margin-side;
|
|
|
|
min-height: 80vh; // avoid footer being in the middle of the page
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-wiki-title {
|
|
|
|
font-family: @fonts-secondary !important;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
a& {
|
|
|
|
color: @base-50;
|
|
|
|
transition: @transition-opacity;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
color: @base-30;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-body {
|
|
|
|
|
|
|
|
// h1's can exist outside of mw-body-content so some heading styles
|
|
|
|
// need to be defined in mw-body as well
|
|
|
|
& h1,
|
|
|
|
&-content h1,
|
|
|
|
&-content h2,
|
|
|
|
&-content h3,
|
|
|
|
&-content h4 {
|
|
|
|
font-family: @fonts-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
& h1,
|
|
|
|
&-content h1 {
|
|
|
|
font-size: @content-h1-size;
|
|
|
|
}
|
|
|
|
|
2019-11-12 20:40:11 +00:00
|
|
|
&-content h1,
|
|
|
|
&-content h2 {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
.firstHeading {
|
|
|
|
margin: 0;
|
2019-11-19 03:56:40 +00:00
|
|
|
padding-top: 1.2rem;
|
|
|
|
color: @base-10;
|
2019-08-15 17:40:13 +00:00
|
|
|
overflow: inherit; // black magic to wrap in small screen devices
|
2019-11-21 05:22:07 +00:00
|
|
|
line-height: 1.2;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#siteSub {
|
|
|
|
display: block;
|
|
|
|
margin: .4rem 0 1.6rem;
|
|
|
|
color: @base-30;
|
|
|
|
font-size: @content-caption-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-indicators {
|
|
|
|
float: right;
|
|
|
|
line-height: @content-line-height;
|
|
|
|
font-size: @content-body-size;
|
|
|
|
/* Ensure that this is displayed on top of .mw-body-content and clickable */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-indicator {
|
|
|
|
display: inline-block;
|
|
|
|
zoom: 1;
|
|
|
|
*display: inline; // stylelint-disable declaration-block-no-duplicate-properties
|
|
|
|
}
|
|
|
|
|
|
|
|
.firstHeading,
|
|
|
|
#siteSub {
|
|
|
|
.content-center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-body-content {
|
|
|
|
position: relative;
|
|
|
|
.content-center;
|
|
|
|
line-height: @content-line-height;
|
|
|
|
font-size: @content-body-size;
|
|
|
|
z-index: 0;
|
|
|
|
|
2019-11-18 02:17:35 +00:00
|
|
|
#contentSub,
|
|
|
|
#contentSub2 {
|
2019-11-18 05:17:42 +00:00
|
|
|
color: @base-30;
|
2019-11-18 02:17:35 +00:00
|
|
|
font-size: @content-caption-size;
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
#mw-content-text {
|
|
|
|
|
|
|
|
.mw-parser-output {
|
|
|
|
|
|
|
|
.mw-headline {
|
|
|
|
order: -1; // Make sure that header is the first
|
|
|
|
}
|
|
|
|
|
|
|
|
&>h1,
|
|
|
|
&>h2,
|
|
|
|
&>h3,
|
|
|
|
&>h4,
|
|
|
|
&>h5,
|
|
|
|
&>h6 {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:not(.external):not(.selflink) {
|
|
|
|
.link-content-text(@color-link-active);
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
background-image: linear-gradient(to right, @color-link-new-active 0, @color-link-new-active 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Doesn't work for some reason
|
2019-08-16 07:14:37 +00:00
|
|
|
&:visited {
|
|
|
|
background-image: linear-gradient(to right, @color-link-visited 0, @color-link-visited 100%)!important;
|
|
|
|
}
|
|
|
|
*/
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-editsection {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
margin: 0;
|
|
|
|
left: 0;
|
|
|
|
transform:~'translateX(calc(-100% - @{margin-side}))';
|
|
|
|
|
|
|
|
a {
|
|
|
|
.resource-loader-icon-link-small;
|
|
|
|
padding: @margin-side / 4;
|
|
|
|
opacity: @opacity-icon;
|
|
|
|
transition: @transition-opacity;
|
|
|
|
text-indent: -9999px; // Hide text
|
|
|
|
background: 0 !important; // Cancel above styles
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
.resource-loader-icon;
|
|
|
|
background-size: contain;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
opacity: @opacity-icon-active;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
>span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#toc {
|
|
|
|
position: fixed;
|
|
|
|
max-width: 450px;
|
|
|
|
height:~'calc( 100vh - @{header-height} * 2 - @{margin-side} * 4 )';
|
|
|
|
top: @header-height;
|
|
|
|
right: 0;
|
|
|
|
padding: @margin-side * 2 @margin-side;
|
2019-11-28 00:55:58 +00:00
|
|
|
color: @base-70;
|
2019-08-15 17:40:13 +00:00
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 0; // Hide bar on toc
|
|
|
|
}
|
|
|
|
|
|
|
|
@top: linear-gradient(white, rgba(255, 255, 255, 0.001));
|
|
|
|
@bottom: linear-gradient(rgba(255, 255, 255, 0.001), white);
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
top: @header-height;
|
|
|
|
.gradient-overflow(@top);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
2019-10-08 19:20:52 +00:00
|
|
|
bottom: @header-height - @margin-side;
|
2019-08-15 17:40:13 +00:00
|
|
|
.gradient-overflow(@bottom);
|
|
|
|
}
|
|
|
|
|
|
|
|
.toctitle {
|
|
|
|
h2 {
|
|
|
|
margin: 0;
|
|
|
|
color: @base-50;
|
|
|
|
font-size: @ui-menu-text-big;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toctoggle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toctext {
|
|
|
|
max-width: 250px;
|
|
|
|
display: flex;
|
2019-12-09 22:15:46 +00:00
|
|
|
direction: ltr;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
color: @base-50;
|
|
|
|
}
|
|
|
|
|
|
|
|
li.active {
|
|
|
|
color: @accent-50 !important;
|
|
|
|
|
|
|
|
>a {
|
|
|
|
color: inherit !important;
|
2019-11-28 04:08:20 +00:00
|
|
|
border-color: currentColor;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: @content-margin-top;
|
2019-11-28 04:08:20 +00:00
|
|
|
padding-right: 17px;
|
2019-08-15 17:40:13 +00:00
|
|
|
color: @base-50;
|
|
|
|
background: 0;
|
2019-11-28 04:08:20 +00:00
|
|
|
border-right: 3px solid transparent;
|
2019-08-15 17:40:13 +00:00
|
|
|
transition-duration: 0s !important; // Turn off transitions
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @base-30 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&level {
|
|
|
|
|
|
|
|
&-1 {
|
|
|
|
font-size: @content-h2-size * @toc-scaling;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-2 {
|
|
|
|
font-size: @content-h3-size * @toc-scaling;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-3 {
|
|
|
|
font-size: @content-h4-size * @toc-scaling;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-4 {
|
|
|
|
font-size: @content-h5-size * @toc-scaling;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-5 {
|
|
|
|
font-size: @content-h6-size * @toc-scaling;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tocnumber {
|
|
|
|
.mixin-screen-reader-text;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.tochidden {
|
|
|
|
>ul {
|
|
|
|
display: block !important; // Force display
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
>ul {
|
|
|
|
direction: rtl; // Hack to force right alignment, need to fix for RTL
|
2019-11-28 03:51:30 +00:00
|
|
|
margin: @content-margin-top / 2 0 0 0;
|
2019-08-15 17:40:13 +00:00
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
border-right: 1px dashed;
|
2019-11-28 01:27:58 +00:00
|
|
|
max-height:~'calc( 100vh - @{header-height} * 2 - @{margin-side} * 4 )';
|
2019-11-28 02:36:01 +00:00
|
|
|
overflow: visible auto;
|
2019-12-04 08:20:56 +00:00
|
|
|
overscroll-behavior: contain;
|
2019-08-15 17:40:13 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2019-11-28 04:08:20 +00:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
ul,
|
|
|
|
.toctitle {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
line-height: inherit;
|
2019-12-02 21:55:35 +00:00
|
|
|
overflow-wrap: break-word;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: @content-h2-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: @content-h3-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: @content-h4-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: @content-h5-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: @content-h6-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
color: @color-content-header;
|
|
|
|
}
|
|
|
|
|
2019-11-12 21:09:13 +00:00
|
|
|
h3 {
|
2019-11-18 02:17:35 +00:00
|
|
|
font-weight: 400;
|
2019-11-12 21:09:13 +00:00
|
|
|
}
|
|
|
|
|
2019-11-18 02:17:35 +00:00
|
|
|
h1,
|
2019-11-12 21:09:13 +00:00
|
|
|
h2,
|
2019-08-15 17:40:13 +00:00
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
margin-top: @content-margin-top * 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
p+p {
|
|
|
|
margin-top: @content-margin-top * 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1+h2,
|
|
|
|
h2+h3,
|
|
|
|
h3+h4,
|
|
|
|
h4+h5,
|
|
|
|
h5+h6,
|
|
|
|
p,
|
|
|
|
table {
|
|
|
|
margin-top: @content-margin-top;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2019-11-26 05:51:02 +00:00
|
|
|
margin: @content-margin-top 0 0 @content-margin-top * 2;
|
2019-11-18 05:17:42 +00:00
|
|
|
|
|
|
|
ul {
|
2019-11-26 05:51:02 +00:00
|
|
|
margin: 0 0 0 @content-margin-top * 2;
|
2019-11-18 05:17:42 +00:00
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-12-10 18:38:02 +00:00
|
|
|
ol {
|
|
|
|
margin: @content-margin-top 0 0 @content-margin-top * 3;
|
|
|
|
|
|
|
|
ol {
|
|
|
|
margin: 0 0 0 @content-margin-top * 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
img {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2019-08-16 04:58:08 +00:00
|
|
|
|
2019-12-11 05:56:47 +00:00
|
|
|
sub,
|
|
|
|
sup,
|
|
|
|
span.reference {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
|
2019-08-17 06:31:04 +00:00
|
|
|
.mw-references-wrap {
|
2019-11-26 05:51:02 +00:00
|
|
|
margin: @content-margin-top 0 0 0;
|
2019-08-17 06:31:04 +00:00
|
|
|
color: @base-30;
|
|
|
|
font-size: @content-small-text-size;
|
|
|
|
|
2019-11-26 05:51:02 +00:00
|
|
|
&.mw-references-columns {
|
|
|
|
margin: @content-margin-top @negative-margin 0 @negative-margin;
|
|
|
|
}
|
|
|
|
|
2019-08-17 06:31:04 +00:00
|
|
|
.references {
|
2019-11-26 05:51:02 +00:00
|
|
|
margin: 0 @content-margin-top * 2;
|
2019-11-26 07:04:19 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: @content-margin-top / 4;
|
|
|
|
}
|
2019-08-17 06:31:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-17 01:48:16 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
2019-08-16 04:58:08 +00:00
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft,
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
|
|
|
z-index: 2;
|
|
|
|
position: relative;
|
|
|
|
margin: 0.6rem 1.4rem;
|
|
|
|
transition: @transition-margin;
|
|
|
|
}
|
|
|
|
|
2019-08-17 01:48:16 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
>* {
|
|
|
|
width: 100% !important;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbinner {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
2019-08-16 04:58:08 +00:00
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft {
|
2019-08-19 04:06:20 +00:00
|
|
|
margin-left: @negative-margin / 2;
|
2019-08-16 04:58:08 +00:00
|
|
|
}
|
|
|
|
|
2019-08-17 01:48:16 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
2019-08-16 04:58:08 +00:00
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
2019-08-19 04:06:20 +00:00
|
|
|
margin-right: @negative-margin / 2;
|
2019-08-16 04:58:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
figcaption,
|
|
|
|
.thumbcaption {
|
|
|
|
margin: @content-margin-top / 2 0 0;
|
|
|
|
color: @base-30;
|
|
|
|
font-size: @content-caption-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumb {
|
2019-08-21 23:44:08 +00:00
|
|
|
overflow: hidden;
|
2019-11-18 02:17:35 +00:00
|
|
|
|
2019-08-16 04:58:08 +00:00
|
|
|
>.thumbinner {
|
|
|
|
>a {
|
|
|
|
transition: @transition-box-shadow-quick !important;
|
|
|
|
|
2019-08-16 07:14:37 +00:00
|
|
|
&:hover:not(.lazy):not(.new) {
|
2019-08-16 04:58:08 +00:00
|
|
|
background: 0 !important;
|
|
|
|
.boxshadow(2);
|
2019-08-16 07:14:37 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
2019-08-16 04:58:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
padding: @margin-side / 2;
|
2019-08-16 07:14:37 +00:00
|
|
|
display: block;
|
2019-08-16 04:58:08 +00:00
|
|
|
background-color: @base-80;
|
|
|
|
font-size: @content-caption-size;
|
2019-08-16 07:14:37 +00:00
|
|
|
transition: @transition-background-quick,
|
2019-08-17 01:48:16 +00:00
|
|
|
@transition-color-quick !important;
|
2019-08-16 04:58:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.image {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
width: fit-content; // Get rid of extra pixels from thumbinner
|
|
|
|
|
|
|
|
img {
|
|
|
|
filter: none;
|
2019-08-16 07:14:37 +00:00
|
|
|
transition: @transition-filter, @transition-transform-quick;
|
2019-08-16 04:58:08 +00:00
|
|
|
|
|
|
|
&.lazy {
|
|
|
|
display: block;
|
|
|
|
background-color: @base-90;
|
2019-08-16 07:14:37 +00:00
|
|
|
filter: blur(8px);
|
2019-12-02 21:07:02 +00:00
|
|
|
overflow: hidden;
|
2019-08-16 04:58:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Namespace button
|
|
|
|
#p-namespaces {
|
2019-08-16 02:48:10 +00:00
|
|
|
position: relative;
|
2019-08-15 17:40:13 +00:00
|
|
|
float: right;
|
|
|
|
margin: 0 @negative-margin;
|
|
|
|
padding: @margin-side;
|
|
|
|
|
|
|
|
&-label {
|
|
|
|
.mixin-screen-reader-text;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 1.6rem 0 0 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end; // Right align
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0.4rem 0.8rem;
|
|
|
|
border: 1px solid @base-80;
|
|
|
|
background-color: @base-90;
|
|
|
|
transition: @transition-background-quick, @transition-box-shadow-quick;
|
|
|
|
.boxshadow(1);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @base-80;
|
|
|
|
.boxshadow(2);
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: @base-20;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
order: -1;
|
|
|
|
content: "";
|
|
|
|
position: relative;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
margin-right: 8px;
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.catlinks {
|
|
|
|
margin: 0 @negative-margin;
|
|
|
|
padding: @margin-side;
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
|
|
.mw-normal-catlinks {
|
|
|
|
font-size: 0; // Hide colon
|
|
|
|
|
|
|
|
>a {
|
|
|
|
display: block;
|
|
|
|
color: @color-content-caption;
|
|
|
|
font-size: @content-caption-size;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
>ul {
|
|
|
|
margin: 0;
|
|
|
|
padding-top: @content-margin-top;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
font-size: @content-caption-size; // Reset font
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
margin: 0 @margin-side / 2 @margin-side / 2 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: @margin-side / 4 @margin-side / 2;
|
|
|
|
display: block;
|
|
|
|
border: 1px solid @base-90;
|
|
|
|
background-color: @base-90;
|
|
|
|
color: @color-content-caption !important; // Override other styles
|
|
|
|
.boxshadow(1);
|
|
|
|
transition: @transition-background-quick,
|
|
|
|
@transition-color-quick,
|
|
|
|
@transition-border-quick,
|
|
|
|
@transition-transform-quick,
|
|
|
|
@transition-box-shadow-quick;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @color-link-active;
|
|
|
|
border-color: @color-link-active;
|
|
|
|
color: @base-100 !important;
|
|
|
|
transform: translateY(-2px);
|
|
|
|
.boxshadow(2);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new:hover {
|
|
|
|
background-color: @color-link-new-active;
|
|
|
|
border-color: @color-link-new-active;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-17 03:59:04 +00:00
|
|
|
.plainlist ol,
|
|
|
|
.plainlist ul {
|
2019-08-17 01:48:16 +00:00
|
|
|
line-height: inherit;
|
|
|
|
list-style: none none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2019-08-16 00:39:40 +00:00
|
|
|
// Hide edit button when user is not logged in
|
|
|
|
.not-logged .mw-editsection {
|
2019-08-16 02:48:10 +00:00
|
|
|
display: none !important;
|
2019-08-16 00:39:40 +00:00
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
@media only screen and (max-width: @screen0) {
|
|
|
|
|
2019-08-17 01:48:16 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
2019-08-15 17:40:13 +00:00
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft,
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
2019-11-18 02:17:35 +00:00
|
|
|
margin: 0.6rem -@margin-side !important;
|
2019-08-17 03:59:04 +00:00
|
|
|
width: 100vw !important;
|
2019-08-15 17:40:13 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
float: unset;
|
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption,
|
|
|
|
.thumbcaption {
|
|
|
|
text-align: center !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: @screen1) {
|
|
|
|
|
|
|
|
.catlinks,
|
|
|
|
#p-namespaces {
|
|
|
|
margin: 0 !important; // somehow got overrided
|
|
|
|
padding: @margin-side 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: @screen2) {
|
|
|
|
.mw-editsection {
|
|
|
|
position: relative !important;
|
|
|
|
transform: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.catlinks,
|
|
|
|
#p-namespaces {
|
|
|
|
margin: 0~"calc((100vw - @{page-width}) / -2)";
|
|
|
|
}
|
2019-08-17 03:59:04 +00:00
|
|
|
|
2019-08-17 01:48:16 +00:00
|
|
|
.mw-body-content {
|
2019-08-17 03:59:04 +00:00
|
|
|
|
2019-11-26 05:51:02 +00:00
|
|
|
.mw-references-wrap {
|
|
|
|
&.mw-references-columns {
|
|
|
|
margin: @content-margin-top 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-17 03:59:04 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone {
|
|
|
|
margin: 0.6rem~"calc((100vw - @{page-width}) / -2)";
|
|
|
|
|
|
|
|
a.image,
|
|
|
|
a.image>img {
|
|
|
|
width: 100% !important;
|
|
|
|
height: auto !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: @screen3) {
|
|
|
|
.webfonts-changed #toc {
|
|
|
|
display: block !important; // Hide until everything is loaded
|
|
|
|
}
|
|
|
|
|
2019-08-16 07:14:37 +00:00
|
|
|
.mw-body-content {
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2019-08-16 07:14:37 +00:00
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2019-08-16 07:14:37 +00:00
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
|
|
|
margin-right: 0;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-08-16 07:14:37 +00:00
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft,
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
|
|
|
z-index: 0; // Reset so it doesn't cover ToC
|
|
|
|
position: relative;
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2019-08-16 07:14:37 +00:00
|
|
|
#mw-content-text .mw-parser-output #toc {
|
|
|
|
display: none;
|
|
|
|
background: @base-100;
|
|
|
|
z-index: 2;
|
|
|
|
height: 100vh;
|
|
|
|
margin-top: -@header-height;
|
|
|
|
padding: 0;
|
|
|
|
.boxshadow(3);
|
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
content: unset; // Disable fade
|
|
|
|
}
|
|
|
|
|
|
|
|
.toctoggle {
|
2019-08-15 17:40:13 +00:00
|
|
|
display: block;
|
2019-08-16 07:14:37 +00:00
|
|
|
font-size: 0;
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2019-08-16 07:14:37 +00:00
|
|
|
a {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 7;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
margin: @margin-side;
|
|
|
|
padding: 0 @margin-side / 2;
|
|
|
|
width: 39px;
|
|
|
|
height: 56px;
|
|
|
|
display: block;
|
|
|
|
background-color: @base-90;
|
|
|
|
border-radius: 100%;
|
|
|
|
.boxshadow(4);
|
|
|
|
transform: translate(0px, @header-height + @margin-side);
|
|
|
|
transition: @transition-opacity, @transition-transform, @transition-box-shadow-quick;
|
|
|
|
transition-duration: 0.5s !important; // Override duration 0 for ToC
|
|
|
|
|
|
|
|
&:hover {
|
2019-11-28 00:24:34 +00:00
|
|
|
background-color: @menu-item-link-hover;
|
2019-08-16 07:14:37 +00:00
|
|
|
.boxshadow(5);
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
opacity: @opacity-icon-active;
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2019-11-28 00:24:34 +00:00
|
|
|
&:focus {
|
|
|
|
background-color: @menu-item-link-active;
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
&:before {
|
2019-08-16 07:14:37 +00:00
|
|
|
.resource-loader-icon;
|
|
|
|
display: block;
|
|
|
|
opacity: @opacity-icon;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
}
|
2019-08-16 07:14:37 +00:00
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2019-08-16 07:14:37 +00:00
|
|
|
.toctitle h2 {
|
|
|
|
display: none;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-08-16 07:14:37 +00:00
|
|
|
&.tochidden {
|
|
|
|
>ul {
|
|
|
|
display: none !important; // Reset hide
|
|
|
|
transform: translateX(300px + @margin-side);
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
|
|
|
|
>ul {
|
2019-11-28 00:20:35 +00:00
|
|
|
display: none; // Hide until interacted
|
2019-08-16 07:14:37 +00:00
|
|
|
margin: 0 @margin-side;
|
|
|
|
padding: @header-height + @margin-side 0 @header-height + @margin-side * 2; // More scroll spaces
|
2019-11-28 01:18:45 +00:00
|
|
|
max-height: ~"calc( 100vh - "@header-height * 2 + @margin-side * 3 ~")";
|
2019-08-16 07:14:37 +00:00
|
|
|
transform: none;
|
|
|
|
transition: @transition-transform;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-up {
|
|
|
|
~.mw-body .mw-body-content #mw-content-text .mw-parser-output #toc .toctoggle a {
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-19 05:30:24 +00:00
|
|
|
@media only screen and (min-width: @screen4) {
|
2019-11-18 02:17:35 +00:00
|
|
|
|
2019-08-19 04:33:07 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft {
|
2019-11-18 05:17:42 +00:00
|
|
|
margin-left: @negative-margin !important;
|
2019-08-19 04:33:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
2019-11-18 05:17:42 +00:00
|
|
|
margin-right: @negative-margin !important;
|
2019-08-19 04:33:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
/*
|
|
|
|
// Logged in styles
|
|
|
|
.not-logged {
|
2019-08-16 07:14:37 +00:00
|
|
|
.mw-editsection {
|
|
|
|
display: none!important; // Hide edit icons when not logged in
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
*/
|