MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
Nie podano opisu zmian |
Nie podano opisu zmian |
||
Linia 185: | Linia 185: | ||
} | } | ||
.menucheck { | |||
display: none; | display: none; | ||
} | } | ||
Linia 251: | Linia 250: | ||
} | } | ||
/*Show menu when invisible checkbox is checked*/ | /*Show menu when invisible checkbox is checked*/ |
Wersja z 00:56, 8 kwi 2017
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */
body.page-Strona_główna.action-view h1.firstHeading, body.page-Strona_główna.action-submit h1.firstHeading { display: none !important; }
body.rootpage-Strona_główna.action-view h1.firstHeading, body.rootpage-Strona_główna.action-submit h1.firstHeading { display: none !important; }
body { font-weight: 400 }
a { color: #006600; }
#innerbodycontent { padding: 10px !important; margin-top: 0px !important; }
ul.nav.logo-container { display: none !important; }
body { color: #000000 !important; }
div.caption { color: #000000 !important; }
.imgWrap {
position: relative;
height: auto;
width: 100%;
margin: 3px;
}
.imgDescription {
position: absolute;
bottom: 0;
left: 0;
background: rgba(255, 255, 255, 0.82);
color: #36b;
visibility: hidden;
opacity: 0;
}
.imgWrap:hover .imgDescription {
visibility: visible;
opacity: 1;
}
p.imgDescription {
margin: 0px !important;
width: 100%;
text-align: center;
}
.gallery {
text-align: center !important;
}
.navbar {
width: 100% !important;
z-index: 100 !important;
position: fixed !important;
}
.pull-left {
z-index: 100 !important;
position: fixed !important;
margin-top: 62px;
}
div.actions.pull-left.nav {
position: relative !important;
margin-top: 0px !important;
}
.pull-right {
padding-right: 10px !important;
display: inline-block;
}
div.col-md-8.pull-left {
margin-top: 0px !important;
}
/* Moje menu */
.clearfix:after {
display:block;
}
ul.clearfix {
margin-bottom: 0px !important;
}
/*----- Menu Outline -----*/
.my-menu-wrap {
width:100%;
box-shadow: 0px 1px 3px rgba(0,0,0,0.2);
background:#3e3436;
z-index: 99;
position: fixed;
}
.my-menu {
margin: 0px auto;
display: inline-block;
}
.my-menu li {
margin:0px;
list-style:none;
font-family:'Ek Mukta';
}
.my-menu a {
transition:all linear 0.15s;
color:#919191;
}
.my-menu span {
transition:all linear 0.15s;
color:#919191;
}
.my-menu li:hover > a, .my-menu .current-item > a {
text-decoration:none;
color:#be5b70;
}
.my-menu .arrow {
font-size:11px;
line-height:0%;
}
/*----- Top Level -----*/
.my-menu > ul > li {
float:left;
display:inline-block;
position:relative;
font-size:19px;
}
.my-menu > ul > li > a {
padding:10px 25px;
display:inline-block;
text-shadow:0px 1px 0px rgba(0,0,0,0.4);
}
.my-menu > ul > li > span {
padding:10px 5px;
text-shadow:0px 1px 0px rgba(0,0,0,0.4);
}
.my-menu > ul > li:hover > a, .my-menu > ul > .current-item > a {
background:#2e2728;
}
/*----- Bottom Level -----*/
.my-menu li:hover .sub-my-menu {
z-index:1;
opacity:1;
display: block;
}
.sub-my-menu {
width: 200%;
padding: 5px 0px;
position:absolute;
top:100%;
left:0px;
z-index:-1;
opacity:0;
transition:opacity linear 0.15s;
box-shadow:0px 2px 3px rgba(0,0,0,0.2);
background:#2e2728;
display: none;
}
.sub-my-menu li {
display:block;
font-size:13px;
}
.sub-my-menu li a {
padding:3px 25px;
display:block;
}
.sub-my-menu li a:hover, .sub-my-menu .current-item a {
background:#3e3436;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
margin: 0px auto;
display: none;
}
.menucheck {
display: none;
}
/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked + .my-menu > ul{
display: block;
}
/************** h1 ******************/
.jumbotron {
padding-top: 10px;
padding-bottom: 10px;
}
@media screen and (max-width : 760px){
.jumbotron h1 {
font-size: larger;
}
.off-canvas-wrapper {
padding-top: 0px !important;
}
.navbar {
display: none;
}
.my-menu-wrap {
margin-top: 0px !important;
position: static;
text-align: center;
}
.my-menu > ul {
display: none;
}
.my-menu > ul > li {
width: 100%;
font-size: medium;
}
.sub-my-menu {
width: 100%;
padding-top: 10px;
}
.nomedia {
display: none;
}
.show-menu {
display: block !important;
}
.show-menu > p {
margin: 0px;
}
.clearfix {
padding-left: 0px;
}
/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked + .my-menu > ul {
display: block;
}
}