You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

258 lines
3.8 KiB
Plaintext

@import "variables.less";
.ts-inner {
max-width: 100em;
padding: 0 3em;
margin: auto;
}
#p-logo-text,
#mw-site-navigation {
width: 12em;
float: left;
}
#p-search,
#mw-content {
margin-left: 12em;
margin-right: 18em;
}
#mw-related-navigation,
#user-tools {
width: 18em;
float: right;
}
/* Header */
#mw-header-container {
position: fixed;
top: 0;
width: 100%;
background: @background-dark;
color: @text-inverse;
height: 3em;
border-bottom: solid 1px @background-dark2;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
.dropdown {
display: none;
}
#p-personal {
padding-left: 1.5em;
}
#p-personal h3 {
margin: 0;
padding: .55em 0 .45em 1.5em;
font-family: @fonts-secondary;
font-weight: normal;
font-size: 1.1em;
text-shadow: 0 -1px 0 @background-dark2;
.background-image-svg('images/user.svg', 'images/user.png');
background-position: 0% 10px;
background-repeat: no-repeat;
span {
.background-image-svg('images/arrow-down-white.svg', 'images/arrow-down-white.png');
background-position: 100% 2px;
background-repeat: no-repeat;
padding-right: 1.35em;
}
&:hover {
cursor: pointer;
}
}
#p-logo-text {
width: 11em;
text-align: center;
text-shadow: 0 -1px 0 @background-dark2;
a {
color: @text-inverse;
font-family: @fonts-secondary;
font-variant: small-caps;
font-size: 1.75em;
display: block;
}
}
/* Search */
#simpleSearch {
box-shadow: inset 0 2px 2px 1px rgba(0, 0, 0, 0.1);
background: @background;
margin: .5em 0 0 0;
position: relative;
border-top: solid 1px @background-dark2;
}
#searchInput {
border: none;
margin: 0;
height: 2.1em;
padding: .4em 4.5em .3em 2em;
box-shadow: none;
background: transparent;
width: 100%;
}
#searchButton,
#mw-searchButton {
position: absolute;
top: 0;
right: 1.5em;
width: 2.5em;
height: 2.5em;
.icon;
.background-image-svg('images/search-ltr.svg', 'images/search-ltr.png');
background-position: 50% 40%;
box-shadow: none;
}
/* Content */
#mw-content-container {
margin-top: 3em;
padding-bottom: .5em;
}
#mw-content {
.box;
background: @background;
padding: 1em 2em 3em;
overflow: hidden;
}
#page-header-links {
div,
ul,
li {
list-style: none;
display: inline-block;
margin: 0;
padding: 0;
}
li {
margin: .25em 0 1.5em;
&:hover {
border-bottom: solid 3px @grey;
}
&.selected {
border-bottom: solid 3px @blue;
a {
color: @text;
}
}
}
#p-namespaces {
float: left;
li {
margin-right: 1em;
}
}
#p-pagetools {
float: right;
li {
margin-left: 1em;
}
}
}
#ca-watch a,
#ca-unwatch a {
.icon;
display: inline-block;
width: 1.4em;
height: 1.4em;
box-sizing: border-box;
}
#ca-watch a {
.background-image-svg('images/star.svg', 'images/star.png');
}
#ca-unwatch a {
.background-image-svg('images/star-filled.svg', 'images/star-filled.png');
}
/* Sidebars */
.dropdown,
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
.box;
padding: 1.5em 1.5em 0;
margin: 1em;
line-height: 1.1;
ul,
li {
list-style: none;
margin: 0;
padding: 0;
}
h3 {
font-weight: normal;
font-size: 1em;
margin: .25em 0 .75em 0;
padding-bottom: .15em;
border-bottom: solid 2px @grey;
}
ul {
margin-bottom: 2em;
}
li {
margin: 0 0 .35em;
}
}
#mw-site-navigation .sidebar-chunk {
margin-left: 0;
}
#mw-related-navigation .sidebar-chunk {
margin-right: 0;
}
/* Dropdowns */
#p-personal {
position: relative;
&:hover .dropdown {
display: block;
}
}
.dropdown {
position: absolute;
padding: 1.5em 2em 0;
min-width: 8em;
top: 1.6em;
left: 0;
}
/* Footer */
#mw-footer {
padding-top: .5em;
padding-bottom: 1em;
ul,
li {
margin: 1em 0;
list-style: none;
padding: 0;
}
}
#footer-places li {
display: inline;
padding-right: 1em;
}
#footer-icons {
float: right;
margin: 0 0 0 1em;
li {
margin: 0 0 1em 0;
}
}