User:Quassy/vector.css

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
/* Highlight own username */
.bodyContent a[href$="wiki/Benutzer:Quassy"],
.bodyContent a[href$="wiki/User:Quassy"] {
    color:#fff;
    background:#059;
    font-weight:bold;
}

/* Hide userpage-headings */
.page-Benutzer_Quassy h1,
.page-User_Quassy h1,
.page-Benutzer_Diskussion_Quassy h1,
.page-User_talk_Quassy h1,
*[class*="page-Benutzer_Quassy"] h1,
*[class*="page-User_Quassy"] h1,
*[class*="page-Benutzer_Diskussion_Quassy"] h1,
*[class*="page-User_talk_Quassy"] h1 {
    display:none;
}

/* Cleanup */
#siteSub, 
#footer, 
#p-coll-print_export, 
#editpage-copywarn, 
.mw-tos-summary, 
#mw-edit-longpage-hint, 
#n-mainpage-description, 
.previewnote, 
#wpSummaryLabel, 
#editpage-copywarn2, 
#searchButton,
#mw-editTools,
.cancelLink,
.editHelp, 
#mw-data-after-content .flaggedrevs_reviewform, 
#B13_WMDE_131211_ctrl {
    display:none !important;
}

/* Searchbar */
#simpleSearch {
    width:auto !important;
}
#simpleSearch #searchInput {
    position:static !important;
    width:16em !important;
    padding:0.2em !important;
    -moz-transition:width .5s ease-out 0s;
}
#simpleSearch #searchInput:not(:focus) {
    width:4em !important;
    -moz-transition:width .5s ease-out 1s;
}
#p-search {
    overflow:hidden;
}

/* Summary */
#wpSummary {
    width:100% !important;
    margin-top:-1px;
    border:1px solid silver;
}
#wpSummary[value=""] {border:1px solid #f99;}

/* Headings Hover */
h1 .editsection, 
h2 .editsection, 
h3 .editsection, 
h4 .editsection, 
h5 .editsection, 
h6 .editsection {
    display:none;
}
h1:hover .editsection, 
h2:hover .editsection, 
h3:hover .editsection, 
h4:hover .editsection, 
h5:hover .editsection, 
h6:hover .editsection {
    display:inline;
    float:right !important;
}

/* Mainmenu */
#p-logo, #p-navigation {
    top:0;
    left:0;
    position:relative;
}
#mw-panel {
    background-color:rgba(246,246,246,.95);
    border-right:1px solid #A7D7F9;
    top:0 !important;
    position:fixed !important;
    height:100%;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding:0 !important;
}
#mw-panel.collapsible-nav div.portal {
    margin-left:6px !important;
    margin-right:4px !important;
}
#mw-head-base, #content, #footer {
    margin-left:10em !important;
}
#left-navigation {
    left:10em !important;
}

/* Small Screens */
@media all and (max-width: 840px) {
#mw-panel {
    left:-9.5em !important;
    -moz-transition:left .5s ease-out 1s;
    -moz-box-shadow: 1px 0 5px rgba(0,0,0,.3);
    -webkit-box-shadow: 1px 0 5px rgba(0,0,0,.3);
    box-shadow: 1px 0 5px rgba(0,0,0,.15);
}
#mw-panel:hover {
    left:0 !important;
    -moz-transition:left .5s ease-out 0s;
}
#mw-head-base, #content, #footer {
    margin-left:.5em !important
}
#left-navigation {
    left:.5em !important;
}
}

/* Language links in list */
#p-lang ul, #p-lang ul * {
    line-height:120% !important;
    font-size:12px !important
}
#p-lang li {display:inline;}
li.interwiki-de, li.interwiki-en {font-weight:bold;}
div#mw-panel div.portal div.body {
    padding-left:0 !important;
    margin-left:0.5em !important;
}

/* Stuff */
textarea {
    resize:vertical;
    -moz-resize:vertical;
    font-size:12px !important;
    line-height:1.5em !important;
}

/* Personal Menu */
#p-personal {
    top:0;
    right:0;
}
#p-personal ul {
    padding-left:9em;
}
#p-personal li {
    margin:0;
    background:none;
}
#p-personal a {
display:inline-block;
    padding:.5em;
}

@media all and (max-width: 840px) {
#p-personal ul {
    padding-left:.5em;
}
}