MediaWiki:Common.css: различия между версиями

Строка 84: Строка 84:
 
   font: var(--common-font);
 
   font: var(--common-font);
 
   min-width: 1014px;
 
   min-width: 1014px;
   padding: 270px 0 0;
+
   padding: 280px 0 0;
 
}
 
}
  
Строка 136: Строка 136:
 
}
 
}
 
#mw-head ul {
 
#mw-head ul {
   right: -10px;
+
   right: -20px;
 
}
 
}
 
#mw-panel ul {
 
#mw-panel ul {

Версия 13:49, 29 апреля 2020

@import '/wiki/index.php?title=MediaWiki:Reset.css&ctype=text%2Fcss&action=raw';
@import '/wiki/index.php?title=MediaWiki:Wiki.css&ctype=text%2Fcss&action=raw';
@import '/wiki/index.php?title=MediaWiki:Project.css&ctype=text%2Fcss&action=raw';
@import '/wiki/index.php?title=MediaWiki:Bg.css&ctype=text%2Fcss&action=raw';
@import '/wiki/index.php?title=MediaWiki:Color.css&ctype=text%2Fcss&action=raw';
@import '/wiki/index.php?title=MediaWiki:Font.css&ctype=text%2Fcss&action=raw';

* {
  border: none;
  font: inherit;
  font-size: 100%;
  margin: 0;
  outline: none;
  padding: 0;
  vertical-align: baseline;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
*,
:after,
:before {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
::selection,
::-moz-selection {
  background: var(--selection-bg);
  color: var(--selection-color);
  text-shadow: none;
}
body,
html {
  background-color: #000;
  cursor: default;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a,
a:active,
a:hover {
  cursor: pointer;
  outline: none;
  text-decoration: none;
  -webkit-transition: all .1s linear;
  transition: all .1s linear;
}
button {
  -webkit-appearance: none;
  border: none;
  border-radius: 0;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
img {
  max-width: 100%;
}
li,
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td {
  padding: 0;
  vertical-align: top;
}
pre {
  font: 14px/1.4 monospace;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}

body {
  color: var(--common-color);
  font: var(--common-font);
  min-width: 1014px;
  padding: 280px 0 0;
}

#mw-navigation {
  -webkit-box-align: center;
  align-items: center;
  background: #000;
  display: -webkit-box;
  display: flex;
  height: 30px;
  -webkit-box-pack: justify;
  justify-content: space-between;
  left: 0;
  padding: 0 15px;
  position: fixed;
  text-transform: uppercase;
  top: 0;
  width: 100%;
  z-index: 5;
}
#mw-head,
#mw-panel,
#right-navigation {
  display: -webkit-box;
  display: flex;
}
#mw-panel,
#right-navigation {
  -webkit-order: 1;
  order: 1;
}
#mw-head,
#p-personal {
  -webkit-order: 2;
  order: 2;
}
#mw-navigation h3,
#mw-navigation a {
  color: #888;
  cursor: pointer;
  display: block;
  font: var(--nav-font);
  margin-left: 30px;
}
#mw-navigation ul {
  background: #000;
  display: none;
  padding: 10px 0 0;
  position: absolute;
  z-index: 5;
}
#mw-head ul {
  right: -20px;
}
#mw-panel ul {
  left: 10px;
}
#mw-navigation li a {
  display: inline-block;
  margin-left: 0;
  padding: 10px 20px;
  position: relative;
  white-space: nowrap;
}
#mw-navigation a:hover {
  color: #fff;
}
#p-cactions,
#p-personal,
#p-tb,
#p-views {
  position: relative;
}
#p-cactions:hover ul,
#p-personal:hover ul,
#p-tb:hover ul,
#p-views:hover ul {
  display: -webkit-box;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}
#p-personal,
#god-download {
  margin-right: 25px;
}

#content {
  background: var(--content-bg);
  margin-left: auto;
  margin-right: auto;
  min-height: 300px;
  padding: 20px 30px;
  width: 1012px;
}

#footer {
  margin: 0 auto;
  min-height: 240px;
  padding: 0 0 20px;
  width: 1012px;
}