2020-06-07 06:07:30 +00:00
|
|
|
/*
|
|
|
|
* Hacks
|
|
|
|
* TODO: Find a place to put them
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Hide RSS icon
|
|
|
|
a.feedlink {
|
|
|
|
background: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// CSS checkbox hack
|
|
|
|
.mw-checkbox-hack {
|
|
|
|
width: @icon-box-size + @margin-side + @icon-padding;
|
|
|
|
height: @header-height;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 8;
|
|
|
|
margin: 0;
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
/*
|
|
|
|
* Framework
|
|
|
|
*/
|
|
|
|
html {
|
2020-02-06 19:44:22 +00:00
|
|
|
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
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
2020-02-06 19:44:22 +00:00
|
|
|
min-height: 100%;
|
2020-06-02 06:23:11 +00:00
|
|
|
overflow-x: hidden; // prevent overflow from scrollbar
|
2020-02-06 19:44:22 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: @base-100;
|
|
|
|
color: @color-content-text;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
2020-02-17 11:28:16 +00:00
|
|
|
display: block;
|
2020-02-06 19:44:22 +00:00
|
|
|
max-width: 100vw;
|
|
|
|
overflow: auto;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2020-02-06 19:44:22 +00:00
|
|
|
display: none;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2020-02-06 19:44:22 +00:00
|
|
|
list-style-type: square;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 0;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p,
|
2019-12-10 18:38:02 +00:00
|
|
|
ul,
|
|
|
|
ol,
|
2019-12-04 03:51:50 +00:00
|
|
|
dl {
|
2020-02-06 19:44:22 +00:00
|
|
|
margin: @content-margin-top 0 0 0;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
tt,
|
|
|
|
kbd,
|
|
|
|
samp,
|
|
|
|
.mw-code {
|
2020-02-06 19:44:22 +00:00
|
|
|
font-family: @fonts-monospace;
|
|
|
|
font-size: @content-monospace-size;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
.mw-code {
|
2020-02-06 19:44:22 +00:00
|
|
|
color: @base-0;
|
|
|
|
background-color: @base-90;
|
|
|
|
border: 1px solid @base-80;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 1px 4px;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
.mw-code {
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 1rem;
|
|
|
|
/* Wrap lines in overflow. T2260, T103780 */
|
|
|
|
white-space: pre-wrap;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-11-26 07:06:36 +00:00
|
|
|
cite {
|
2020-02-06 19:44:22 +00:00
|
|
|
font-style: inherit;
|
2019-11-26 07:06:36 +00:00
|
|
|
}
|
|
|
|
|
2019-12-11 21:04:26 +00:00
|
|
|
input {
|
2020-02-06 19:44:22 +00:00
|
|
|
font-family: @fonts;
|
2019-12-11 21:04:26 +00:00
|
|
|
}
|
|
|
|
|
2019-12-10 20:32:34 +00:00
|
|
|
fieldset {
|
2020-02-06 19:44:22 +00:00
|
|
|
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;
|
2019-12-10 20:32:34 +00:00
|
|
|
}
|
|
|
|
|
2020-02-06 19:44:22 +00:00
|
|
|
fieldset > table {
|
|
|
|
margin-top: 0 !important;
|
2019-12-10 20:32:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
legend {
|
2020-02-06 19:44:22 +00:00
|
|
|
font-weight: bold;
|
|
|
|
color: @base-20;
|
|
|
|
margin: 0;
|
|
|
|
padding: 4px;
|
2019-12-10 20:32:34 +00:00
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
textarea {
|
2020-02-06 19:44:22 +00:00
|
|
|
width: 100%;
|
2020-02-06 19:44:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2020-02-06 20:04:09 +00:00
|
|
|
margin: @content-margin-top * 2 * @content-scaling;
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 0 @content-margin-top * 4 * @content-scaling;
|
|
|
|
color: @base-30;
|
|
|
|
font-family: @fonts-serif;
|
|
|
|
font-size: @content-quote-primary-size;
|
|
|
|
font-style: italic;
|
|
|
|
|
|
|
|
cite {
|
|
|
|
display: block;
|
|
|
|
margin-top: @content-margin-top * @content-scaling;
|
|
|
|
font-family: @fonts;
|
2020-02-06 19:52:07 +00:00
|
|
|
font-size: @content-quote-secondary-size;
|
2020-02-06 19:44:22 +00:00
|
|
|
font-style: normal;
|
2020-02-06 19:56:46 +00:00
|
|
|
|
|
|
|
&:before {
|
2020-02-06 19:56:27 +00:00
|
|
|
content: '— ';
|
2020-02-06 19:56:46 +00:00
|
|
|
}
|
2020-02-06 19:44:22 +00:00
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-11-19 00:43:44 +00:00
|
|
|
dd {
|
2020-02-06 19:44:22 +00:00
|
|
|
margin-left: @content-margin-top * 2;
|
|
|
|
margin-bottom: 0.1rem;
|
2019-11-19 00:43:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
2020-02-06 19:44:22 +00:00
|
|
|
margin-bottom: 0.1rem;
|
|
|
|
font-weight: bold;
|
2019-11-19 00:43:44 +00:00
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
td {
|
2020-02-06 19:44:22 +00:00
|
|
|
> p,
|
|
|
|
> ul,
|
|
|
|
> ol {
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0; // Remove margin for the first element in td
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2020-02-06 19:44:22 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-selflink {
|
|
|
|
color: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: inherit;
|
|
|
|
text-decoration: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:visited {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.error {
|
2020-02-06 19:44:22 +00:00
|
|
|
padding: 2px 4px;
|
|
|
|
background-color: @red-90;
|
|
|
|
font-size: unset;
|
|
|
|
font-weight: normal;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-12-11 05:53:49 +00:00
|
|
|
.nowrap {
|
2020-02-06 19:44:22 +00:00
|
|
|
white-space: nowrap;
|
2019-12-11 05:53:49 +00:00
|
|
|
}
|
|
|
|
|
2019-12-11 21:38:01 +00:00
|
|
|
.screen-reader-text {
|
2020-06-05 22:55:04 +00:00
|
|
|
//.mixin-screen-reader-text;
|
|
|
|
display: block !important;
|
2020-06-05 22:55:47 +00:00
|
|
|
position: absolute !important;
|
|
|
|
clip: rect( 1px, 1px, 1px, 1px ) !important;
|
|
|
|
width: 1px !important;
|
|
|
|
height: 1px !important;
|
|
|
|
margin: -1px !important;
|
|
|
|
border: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
overflow: hidden !important;
|
2019-12-11 21:38:01 +00:00
|
|
|
}
|
|
|
|
|
2019-08-15 17:40:13 +00:00
|
|
|
/*
|
|
|
|
* Content
|
|
|
|
*/
|
|
|
|
.mw-body,
|
|
|
|
.parsoid-body {
|
2020-02-06 19:44:22 +00:00
|
|
|
margin-top: @header-height + @margin-side;
|
|
|
|
padding: 0 @margin-side;
|
|
|
|
min-height: 80vh; // avoid footer being in the middle of the page
|
|
|
|
direction: ltr;
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-wiki-title {
|
2020-02-06 19:44:22 +00:00
|
|
|
font-family: @fonts-secondary !important;
|
2020-06-03 05:07:40 +00:00
|
|
|
font-weight: normal;
|
2020-02-06 19:44:22 +00:00
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 2px;
|
|
|
|
|
|
|
|
a& {
|
|
|
|
color: @base-50;
|
|
|
|
transition: @transition-opacity;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
color: @base-30;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-body {
|
|
|
|
|
2020-02-06 19:44:22 +00:00
|
|
|
// 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-content h1,
|
|
|
|
&-content h2 {
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.firstHeading {
|
|
|
|
margin: 0;
|
|
|
|
padding-top: 1.2rem;
|
|
|
|
color: @base-10;
|
|
|
|
overflow: inherit; // black magic to wrap in small screen devices
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
#siteSub {
|
|
|
|
display: block;
|
|
|
|
margin: 0.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;
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-body-content {
|
2020-02-06 19:44:22 +00:00
|
|
|
position: relative;
|
|
|
|
.content-center;
|
|
|
|
line-height: @content-line-height;
|
|
|
|
font-size: @content-body-size;
|
|
|
|
z-index: 0;
|
|
|
|
|
|
|
|
#contentSub,
|
|
|
|
#contentSub2 {
|
|
|
|
color: @base-30;
|
|
|
|
font-size: @content-caption-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
line-height: inherit;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
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 {
|
|
|
|
margin: @content-margin-top 0 0 @content-margin-top * 2;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 0 0 0 @content-margin-top * 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
margin: @content-margin-top 0 0 @content-margin-top * 3;
|
|
|
|
|
|
|
|
ol {
|
|
|
|
margin: 0 0 0 @content-margin-top * 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
sub,
|
|
|
|
sup,
|
|
|
|
span.reference {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-references-wrap {
|
|
|
|
margin: @content-margin-top 0 0 0;
|
|
|
|
color: @base-30;
|
|
|
|
font-size: @content-small-text-size;
|
|
|
|
|
|
|
|
&.mw-references-columns {
|
|
|
|
margin: @content-margin-top @negative-margin 0 @negative-margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
.references {
|
|
|
|
margin: 0 @content-margin-top * 2;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: @content-margin-top / 4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tnone,
|
2020-03-13 22:49:28 +00:00
|
|
|
div.floatnone {
|
2020-02-06 19:44:22 +00:00
|
|
|
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,
|
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft {
|
|
|
|
margin-left: @negative-margin / 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
|
|
|
margin-right: @negative-margin / 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption,
|
|
|
|
.thumbcaption {
|
|
|
|
margin: @content-margin-top / 2 0 0;
|
|
|
|
color: @base-30;
|
|
|
|
font-size: @content-caption-size;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumb {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
> .thumbinner {
|
|
|
|
> a {
|
|
|
|
transition: @transition-box-shadow-quick !important;
|
|
|
|
|
|
|
|
&:hover:not( .lazy ):not( .new ) {
|
|
|
|
background: 0 !important;
|
|
|
|
.boxshadow(2);
|
|
|
|
|
|
|
|
img {
|
|
|
|
transform: scale( 1.1 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
padding: @margin-side / 2;
|
|
|
|
display: block;
|
|
|
|
background-color: @base-80;
|
|
|
|
font-size: @content-caption-size;
|
|
|
|
transition: @transition-background-quick, @transition-color-quick !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.image {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
width: fit-content; // Get rid of extra pixels from thumbinner
|
|
|
|
|
|
|
|
img {
|
|
|
|
filter: none;
|
|
|
|
transition: @transition-filter, @transition-transform-quick;
|
|
|
|
|
|
|
|
&.lazy {
|
|
|
|
display: block;
|
|
|
|
background-color: @base-90;
|
|
|
|
filter: blur( 8px );
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Namespace button
|
|
|
|
#p-namespaces {
|
2020-02-06 19:44:22 +00:00
|
|
|
position: relative;
|
|
|
|
float: right;
|
|
|
|
margin: 0 @negative-margin;
|
|
|
|
padding: @margin-side;
|
|
|
|
|
|
|
|
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;
|
2020-06-06 00:12:39 +00:00
|
|
|
color: @base-20;
|
2020-02-06 19:44:22 +00:00
|
|
|
background-color: @base-90;
|
|
|
|
transition: @transition-background-quick, @transition-box-shadow-quick;
|
|
|
|
.boxshadow(1);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @base-80;
|
|
|
|
.boxshadow(2);
|
|
|
|
}
|
|
|
|
|
|
|
|
&: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.catlinks {
|
2020-02-06 19:44:22 +00:00
|
|
|
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-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-08-17 03:59:04 +00:00
|
|
|
.plainlist ol,
|
|
|
|
.plainlist ul {
|
2020-02-06 19:44:22 +00:00
|
|
|
line-height: inherit;
|
|
|
|
list-style: none none;
|
|
|
|
margin: 0;
|
2019-08-17 01:48:16 +00:00
|
|
|
}
|
|
|
|
|
2020-06-10 05:17:49 +00:00
|
|
|
@media ( max-width: @screen0 ) {
|
2020-02-06 19:44:22 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft,
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
2020-03-13 23:00:55 +00:00
|
|
|
margin: 0.6rem -@margin-side !important;
|
2020-02-06 19:44:22 +00:00
|
|
|
width: 100vw !important;
|
|
|
|
float: unset;
|
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
|
2020-03-13 22:54:30 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
div.tright,
|
|
|
|
div.floatright {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2020-03-13 23:50:40 +00:00
|
|
|
|
2020-03-13 22:54:30 +00:00
|
|
|
table.floatleft,
|
|
|
|
table.floatright {
|
|
|
|
padding: 0 @margin-side;
|
|
|
|
}
|
|
|
|
|
2020-02-06 19:44:22 +00:00
|
|
|
figcaption,
|
|
|
|
.thumbcaption {
|
|
|
|
text-align: center !important;
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2020-06-10 05:17:49 +00:00
|
|
|
@media ( max-width: @screen1 ) {
|
2020-02-06 19:44:22 +00:00
|
|
|
.catlinks,
|
|
|
|
#p-namespaces {
|
|
|
|
margin: 0 !important; // somehow got overrided
|
|
|
|
padding: @margin-side 0;
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2020-06-10 05:17:49 +00:00
|
|
|
@media ( max-width: @screen2 ) {
|
2020-02-06 19:44:22 +00:00
|
|
|
.mw-editsection {
|
|
|
|
position: relative !important;
|
|
|
|
transform: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.catlinks,
|
|
|
|
#p-namespaces {
|
|
|
|
margin: 0~'calc((100vw - @{page-width}) / -2)';
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-body-content {
|
|
|
|
.mw-references-wrap {
|
|
|
|
&.mw-references-columns {
|
|
|
|
margin: @content-margin-top 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-03-13 23:52:22 +00:00
|
|
|
|
|
|
|
table.floatnone {
|
|
|
|
padding: 0 @margin-side;
|
|
|
|
}
|
2020-02-06 19:44:22 +00:00
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
|
|
|
|
2020-06-10 05:17:49 +00:00
|
|
|
@media ( max-width: @screen3 ) {
|
2020-02-06 19:44:22 +00:00
|
|
|
.mw-body-content {
|
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2020-06-10 05:17:49 +00:00
|
|
|
@media ( min-width: @screen4 ) {
|
2020-02-06 19:44:22 +00:00
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
div.tleft,
|
|
|
|
div.floatleft,
|
|
|
|
table.floatleft {
|
|
|
|
margin-left: @negative-margin !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.tnone,
|
|
|
|
div.floatnone,
|
|
|
|
table.floatnone,
|
|
|
|
div.tright,
|
|
|
|
div.floatright,
|
|
|
|
table.floatright {
|
|
|
|
margin-right: @negative-margin !important;
|
|
|
|
}
|
2019-08-19 04:33:07 +00:00
|
|
|
}
|