MediaWiki: Tweeki.css: Difference between revisions
From Renoise User Manual
No edit summary |
No edit summary Tag: Manual revert |
||
| (14 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
} | } | ||
/* Move left & right sidebars down (IE | /* Move left & right sidebars down and hide TOC (fix for IE) */ | ||
@media (max-width: 992px) { | @media (max-width: 992px) { | ||
.sidebar-left-wrapper { | .sidebar-left-wrapper { | ||
| Line 15: | Line 15: | ||
.sidebar-right-wrapper { | .sidebar-right-wrapper { | ||
position: static; | position: static; | ||
display: none; | |||
} | } | ||
} | } | ||
| Line 42: | Line 43: | ||
} | } | ||
/* Navbar | /* Navbar brand cosmetics */ | ||
.navbar- | .navbar-brand { | ||
padding: 0; | |||
margin-right: 4px; | |||
margin-left: -8px; | |||
} | } | ||
.navbar-brand img { | |||
height: 36px; | |||
margin-top: -8px; | |||
.navbar-brand | |||
} | } | ||
Latest revision as of 11:02, 15 July 2025
/* CSS placed here will affect users of the Tweeki skin */
/* Scroll left sidebar with the entire screen */
@media (min-width: 992px) {
.sidebar-left-wrapper {
position: absolute;
}
}
/* Move left & right sidebars down and hide TOC (fix for IE) */
@media (max-width: 992px) {
.sidebar-left-wrapper {
position: static;
}
.sidebar-right-wrapper {
position: static;
display: none;
}
}
/* More condensed site-map tree */
.sidebar-left-wrapper ol, ul {
padding-left: 1em;
}
/* Hide footer - it overflows the left, fixed side-bar */
#footer.footer {
display: none;
}
/* Prevent that images in the main content flow into the right sidebar */
div#bodyContent img {
max-width: 100%;
height: auto;
}
/* Change the padlock icon used for https links to the regular link icon */
#content a.external[href^="https://"],.link-https {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=) center right no-repeat;
background: url(/skins/Tweeki/images/external-link-ltr-icon.png?b0b20) center right no-repeat!ie;
}
/* Navbar brand cosmetics */
.navbar-brand {
padding: 0;
margin-right: 4px;
margin-left: -8px;
}
.navbar-brand img {
height: 36px;
margin-top: -8px;
}