MediaWiki:Common.css: Porovnání verzí

Z Wikibor
 
(Není zobrazeno 91 mezilehlých verzí od 3 dalších uživatelů.)
Řádek 1: Řádek 1:
/* Zde uvedené CSS bude ovlivňovat všechny styly */
 
 
 
@import url('https://fonts.googleapis.com/css?family=Inknut Antiqua');
 
@import url('https://fonts.googleapis.com/css?family=Inknut Antiqua');
 
@import url('https://fonts.googleapis.com/css?family=Roboto');
 
@import url('https://fonts.googleapis.com/css?family=Roboto');
Řádek 7: Řádek 5:
 
background-color: #1B1B1B;
 
background-color: #1B1B1B;
 
font-family: 'Roboto', sans-serif;
 
font-family: 'Roboto', sans-serif;
 +
color: black;
 
}
 
}
  
Řádek 14: Řádek 13:
 
}
 
}
  
a, a.external {
+
div.mw-parser-output p a, a.external {
 +
color: #339966;
 +
border-bottom: 1px dotted #339966;
 +
}
 +
 
 +
div.mw-parser-output p a:hover, a.external:hover {
 +
color: #4D342C;
 +
border-bottom: 1px dotted #4D342C;
 +
}
 +
 
 +
a, a.external, a:visited {
 
color: #339966;
 
color: #339966;
 
}  
 
}  
 +
 +
a:hover, a.external:hover {
 +
color: #4D342C;
 +
}
 +
  
 
a:hover {
 
a:hover {
 
color: #4D342C;
 
color: #4D342C;
border-bottom: 1px dotted #1B1B1B;
 
 
}
 
}
  
a:visited {
+
div.mw-parser-output p a:visited, a.external:visited {
color: #4D342C;
+
border-bottom: none  !important;
 
}
 
}
  
 +
a.new {
 +
color: red  !important;
 +
border-bottom: none !important;
 +
}
  
.mw-parser-output a.external {
+
a.new:hover {
color: #173B24;
+
color: #820000  !important;
 +
border-bottom: none !important;
 
}
 
}
 +
  
 
.color-middle, .color-left, .color-right {
 
.color-middle, .color-left, .color-right {
Řádek 55: Řádek 74:
 
}
 
}
  
#mw-page-header-links li.selected a:hover {
+
#ca-nstab-main a:hover {
     text-decoration: none;
+
    border-bottom: none;
 +
}
 +
 
 +
#ca-edit a:hover {
 +
    border-bottom: none;
 +
}
 +
 
 +
#ca-watch a:hover {
 +
    border-bottom: none;
 +
}
 +
 
 +
#ca-more a:hover {
 +
    border-bottom: none;
 +
}
 +
 
 +
#ca-talk a:hover {
 +
    border-bottom: none;
 +
}
 +
 
 +
#ca-view a:hover {
 +
    border-bottom: none;
 +
}
 +
 
 +
#ca-history a:hover {
 +
    border-bottom: none;
 +
}
 +
 
 +
#mw-page-header-links li a, #mw-page-header-links li a:active, #mw-page-header-links li a:visited {
 +
    color: #4D342C;
 +
}
 +
 
 +
#mw-page-header-links li a:hover {
 +
     color: #339966;
 +
}
 +
 
 +
#mw-page-header-links li.selected {
 +
    border-bottom-color: #339966;
 +
}
 +
 
 +
#p-logo {
 +
display: none;
 +
}
 +
 
 +
#p-logo-text {
 +
background-image: url(/resources/assets/logowiki.png);
 +
background-size: contain;
 +
background-repeat: no-repeat;
 +
min-height: 2.35em;
 +
width: 10%;
 +
margin-left: 1.8em;
 +
}
 +
 
 +
#p-logo-text a {
 +
display: none;
 +
}
 +
 
 +
.mw-editsection {
 +
display: none;
 +
}
 +
 
 +
#personal h2 {
 +
color: white;
 +
}
 +
 
 +
/* CSS pro infoboxy */
 +
table.infobox {
 +
float: right;
 +
background: lightgrey;
 +
margin-left: 2em;
 +
margin-bottom: 2em;
 +
}
 +
 
 +
.infobox th {
 +
text-align: center;
 +
font-size: large;
 +
padding: 8px 5px 8px 5px;
 +
}
 +
 
 +
.infobox td.info_centered {
 +
text-align: center;
 +
padding: 5px 5px 5px 5px;
 +
}
 +
 
 +
.infobox td.info_lead {
 +
text-align: right;
 +
padding: 5px 5px 5px 5px;
 +
font-weight: bold;
 +
}
 +
 
 +
.infobox td.info_content {
 +
text-align: left;
 +
padding: 5px 5px 5px 5px;
 +
}
 +
 
 +
.infobox img {
 +
display: block;
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
 
 +
/* CSS pro vícesloupcový seznam kategorií */
 +
@media screen and (min-width: 800px) {
 +
  .catTreeMultiCols .CategoryTreeChildren{
 +
    column-count:3;
 +
  }
 +
  .catTreeMultiCols .CategoryTreeChildren .CategoryTreeChildren{
 +
    column-count:1;
 +
  }
 +
 
 +
  .catTreeMultiCols .CategoryTreeChildren .CategoryTreeChildren .CategoryTreeBullet:before{
 +
    content: "..";
 +
    margin-right: 2px;
 +
  }
 
}
 
}

Aktuální verze z 12. 4. 2019, 16:13

@import url('https://fonts.googleapis.com/css?family=Inknut Antiqua');
@import url('https://fonts.googleapis.com/css?family=Roboto');

body {
background-color: #1B1B1B;
font-family: 'Roboto', sans-serif;
color: black;
}

div#mw-header-container {
background-color: #264331;
color: white;
}

div.mw-parser-output p a, a.external {
color: #339966;
border-bottom: 1px dotted #339966;
} 

div.mw-parser-output p a:hover, a.external:hover {
color: #4D342C;
border-bottom: 1px dotted #4D342C;
} 

a, a.external, a:visited {
color: #339966;
} 

a:hover, a.external:hover {
color: #4D342C;
} 


a:hover {
color: #4D342C;
}

div.mw-parser-output p a:visited, a.external:visited {
border-bottom: none  !important;
}

a.new {
color: red  !important;
border-bottom: none !important;
}

a.new:hover {
color: #820000  !important;
border-bottom: none !important;
}


.color-middle, .color-left, .color-right {
background-color: #339966;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Inknut Antiqua', sans-serif;
color: #264331;
}

#mw-content h1.firstHeading {
font-family: 'Inknut Antiqua', sans-serif;
    border-bottom: solid 4px #B10005;
}

#mw-content h1, #mw-content h2 {
font-family: 'Inknut Antiqua', sans-serif;
    border-bottom: dotted 1px #1B1B1B;
}

#mw-page-header-links li.selected {
    border-bottom-color: #B10005;
}

#ca-nstab-main a:hover {
    border-bottom: none;
}

#ca-edit a:hover {
    border-bottom: none;
}

#ca-watch a:hover {
    border-bottom: none;
}

#ca-more a:hover {
    border-bottom: none;
}

#ca-talk a:hover {
    border-bottom: none;
}

#ca-view a:hover {
    border-bottom: none;
}

#ca-history a:hover {
    border-bottom: none;
}

#mw-page-header-links li a, #mw-page-header-links li a:active, #mw-page-header-links li a:visited {
    color: #4D342C;
}

#mw-page-header-links li a:hover {
    color: #339966;
}

#mw-page-header-links li.selected {
    border-bottom-color: #339966;
}

#p-logo {
display: none;
}

#p-logo-text {
background-image: url(/resources/assets/logowiki.png);
background-size: contain;
background-repeat: no-repeat; 
min-height: 2.35em;
width: 10%;
margin-left: 1.8em;
}

#p-logo-text a {
display: none;
}

.mw-editsection {
display: none;
}

#personal h2 {
color: white;
}

/* CSS pro infoboxy */
table.infobox {
float: right;
background: lightgrey;
margin-left: 2em;
margin-bottom: 2em;
}

.infobox th {
text-align: center;
font-size: large;
padding: 8px 5px 8px 5px;
}

.infobox td.info_centered {
text-align: center;
padding: 5px 5px 5px 5px;
}

.infobox td.info_lead {
text-align: right;
padding: 5px 5px 5px 5px;
font-weight: bold;
}

.infobox td.info_content {
text-align: left;
padding: 5px 5px 5px 5px;
}

.infobox img {
display: block;
margin-left: auto;
margin-right: auto;
}

/* CSS pro vícesloupcový seznam kategorií */
@media screen and (min-width: 800px) {
  .catTreeMultiCols .CategoryTreeChildren{
    column-count:3;
  }
  .catTreeMultiCols .CategoryTreeChildren .CategoryTreeChildren{
    column-count:1;
  }

  .catTreeMultiCols .CategoryTreeChildren .CategoryTreeChildren .CategoryTreeBullet:before{
    content: "..";
    margin-right: 2px;
  }
}