MediaWiki: Tweeki.css: Unterschied zwischen den Versionen
Aus FidoPedia
(added img responsive code) |
|||
Zeile 44: | Zeile 44: | ||
transition: background .1s ease-in-out, color .2s ease-in-out; | transition: background .1s ease-in-out, color .2s ease-in-out; | ||
} | } | ||
− | #pt-personaltools | + | #pt-personaltools .tweeki-username { |
display: none; | display: none; | ||
} | } | ||
input[type=submit], input[type=button] { | input[type=submit], input[type=button] { | ||
background-image: none; | background-image: none; | ||
+ | } | ||
+ | #bodyContent img { | ||
+ | max-width: 100%; | ||
+ | height: auto; | ||
} | } | ||
@media (min-width: 992px) { | @media (min-width: 992px) { |
Aktuelle Version vom 17. März 2021, 13:53 Uhr
/* CSS placed here will affect users of the Tweeki skin */
#mw-navigation {
background: #343a40;
border: none;
min-height: 56px;
box-shadow: none;
}
.navbar-default .navbar-brand {
color: #ffffff;
font-size: 20px;
font-weight: bold;
}
.navbar-default .navbar-brand:active,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:hover {
color: #eeeeee;
}
.navbar-default .navbar-nav>li>a {
color: #ffffff;
background: transparent;
font-size: 16px;
}
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:active,
.navbar-default .navbar-nav>li>a:hover {
color: #ffffff;
background: #4CAF50;
}
.navbar-default .navbar-toggle {
border: none;
color: #777;
}
.navbar-default .navbar-toggle:active,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
background: transparent;
color: #fff;
}
#contentwrapper h2,
#contentwrapper h3 {
border-bottom: 1px solid #ddd;
}
a {
transition: background .1s ease-in-out, color .2s ease-in-out;
}
#pt-personaltools .tweeki-username {
display: none;
}
input[type=submit], input[type=button] {
background-image: none;
}
#bodyContent img {
max-width: 100%;
height: auto;
}
@media (min-width: 992px) {
.navbar-nav>li>a {
padding-top: 18px;
padding-bottom: 18px;
}
}
@media (max-width: 991px) {
.navbar-default .navbar-nav .open .dropdown-menu>li>a {
color: #fff;
transition: background .2s ease-in-out;
}
.navbar-default .navbar-nav .open .dropdown-menu>li>a:active,
.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,
.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
color: #fff;
background: #4CAF50;
}
}