Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 77: | Line 77: | ||
background-image: url(https://www.v5homebrew.com/mw/images/f/fd/V5homebrew.png); | background-image: url(https://www.v5homebrew.com/mw/images/f/fd/V5homebrew.png); | ||
background-color: transparent; | background-color: transparent; | ||
− | background-size: | + | background-size: 30%; |
} | } | ||
Line 252: | Line 252: | ||
line-height: 1.4em; | line-height: 1.4em; | ||
} | } | ||
+ | |||
+ | /* Dropdown Button */ | ||
+ | .dropbtn { | ||
+ | background-color: #4CAF50; | ||
+ | color: white; | ||
+ | padding: 16px; | ||
+ | font-size: 16px; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | /* The container <div> - needed to position the dropdown content */ | ||
+ | .dropdown { | ||
+ | position: relative; | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | /* Dropdown Content (Hidden by Default) */ | ||
+ | .dropdown-content { | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | background-color: #f1f1f1; | ||
+ | min-width: 160px; | ||
+ | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | ||
+ | z-index: 1; | ||
+ | } | ||
+ | |||
+ | /* Links inside the dropdown */ | ||
+ | .dropdown-content a { | ||
+ | color: black; | ||
+ | padding: 12px 16px; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | } | ||
+ | /* Change color of dropdown links on hover */ | ||
+ | .dropdown-content a:hover {background-color: #ddd;} | ||
+ | |||
+ | /* Show the dropdown menu on hover */ | ||
+ | .dropdown:hover .dropdown-content {display: block;} | ||
+ | |||
+ | /* Change the background color of the dropdown button when the dropdown content is shown */ | ||
+ | .dropdown:hover .dropbtn {background-color: #3e8e41;} |
Latest revision as of 22:02, 8 July 2024
/* CSS placed here will be applied to all skins */ /* ConfirmEdit QuestyCaptcha -- on Create Account */ .htmlform-tip + .mw-htmlform-field-HTMLInfoField { color:red; } @import url('https://fonts.googleapis.com/css?family=Goblin+One|Rye'); ul { list-style-image: url('https://www.v5homebrew.com/mw/images/2/23/Blacksquare.jpg'); } body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } table.dpl3columns td { padding: 0.5em; border:3px; width:33%; } #toc { float: right }; #catlinks { text-align: left; display: none; } #tocnumber { display: none; } div#mw-panel { font-size: inherit; position: fixed; top: 175px; width: 11.5em; left: 1em; border: 3px solid #000; -moz-border-radius-bottomright: 17px 14px; -webkit-border-bottom-right-radius: 17px 14px; -moz-border-radius-bottomleft: 17px 14px; -webkit-border-bottom-left-radius: 17px 14px; -moz-border-radius-topright: 17px 14px; -webkit-border-top-right-radius: 17px 14px; -moz-border-radius-topleft: 17px 14px; -webkit-border-top-left-radius: 17px 14px; background-color: white; } #mw-head-base { background-color: transparent; background-image: none; } li#ca-history, li#ca-viewsource, li#ca-nstab-user, li#ca-nstab-project, li#ca-nstab-template, li#ca-edit, li#ca-nstab-image, li#ca-nstab-main, li#ca-nstab-mediawiki, li#ca-talk, li#ca-watch, li#ca-unwatch, li#ca-page, li#ca-view, li#ca-nstab-special, .vectorMenu, .vectorTabs { background-color: transparent; background-image: none; border: 1px transparent; } .mw-body { margin-left: 14em; margin-right: 3em; padding: 1.25em 1.5em 1.5em 1.5em; border: 3px solid #000000; -moz-border-radius-bottomright: 17px 14px; -webkit-border-bottom-right-radius: 17px 14px; -moz-border-radius-bottomleft: 17px 14px; -webkit-border-bottom-left-radius: 17px 14px; -moz-border-radius-topright: 17px 14px; -webkit-border-top-right-radius: 17px 14px; -moz-border-radius-topleft: 17px 14px; -webkit-border-top-left-radius: 17px 14px; } #mw-page-base { background-position: center; background-repeat: no-repeat; height: 11em; background-image: url(https://www.v5homebrew.com/mw/images/f/fd/V5homebrew.png); background-color: transparent; background-size: 30%; } body { background-color: #000000; background-image: url(https://www.v5homebrew.com/mw/images/d/d6/V5background.jpg); background-size: 100% 100%; background-attachment: fixed; } html, body { height: 100%; margin: 0; padding: 0; font-family: sans-serif; } #p-logo { width: 10em; height: 0px; } #p-logo a { display: block; width: 10em; height: 0px; background-repeat: no-repeat; background-position: center center; text-decoration: none; } #left-navigation { margin-left: 0; position: relative; visibility: hidden; } div.vectorTabs li a { color: antiquewhite; } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited { color: antiquewhite; text-decoration: underline; } a:visited { color: #c93f72; } div.vectorMenu h3 span { display: block; font-size: 0.8em; padding-left: 0.7em; padding-top: 1.25em; padding-right: 20px; font-weight: normal; color: antiquewhite; background-image: url(/mw/skins/Vector/images/arrow-down-icon.png?d72f0); background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml version=%221.0%22 encoding=%22UTF-8%22%3F%3E%3…d=%22M15.502 6.001l-5 5.001-5-5.001z%22 fill=%22%23797979%22/%3E%3C/svg%3E); background-image: -o-linear-gradient(transparent,transparent),url(/mw/skins/Vector/images/arrow-down-icon.png?d72f0); background-position: 100% 100%; background-repeat: no-repeat; } #p-personal { left: .2%; margin-top: 3.7em; margin-right: 75%; float: left; width: 380px; position: relative; } #right-navigation { margin-top: -3.5%; float: right; margin-right: 6%; max-width: 270px; position: relative; } div#simpleSearch #searchInput { width: 100%; padding: 0.2em 0 0.2em 0.2em; font-size: 13px; direction: ltr; -webkit-appearance: textfield; } div#simpleSearch { display: block; width: 13.7vw; min-width: 5em; max-width: 20em; padding-right: 1.4em; height: 1.4em; margin-top: 0.65em; position: relative; min-height: 1px; border-radius: 16px; border: solid 1px black; color: #000; background-color: #fff; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAIAAABY/YLgAAAAJUlEQVQIHQXBsQEAAAjDoND/73UWdnerhmHVsDQZJrNWVg3Dqge6bgMe6bejNAAAAABJRU5ErkJggg==); background-image: url(/mw/skins/Vector/images/search-fade.png?50f7b)!ie; background-position: top left; background-repeat: repeat-x; } .mw-body-content { position: relative; line-height: 1.4; font-size: 0.8em; z-index: 0; } .mw-body-content h3 { font-weight: bold; text-decoration-line: underline; text-underline-position: under; } .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 { font-size: 100%; font-style: italic; text-decoration: underline; text-underline-position: under; } img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ } div#footer ul li { margin: 0; padding: 3em; padding-top: 0.5em; padding-bottom: 0.5em; color: white; font-size: 0.8em; } a { text-decoration: none; color: #cf25b4; background: none; } #mw-panel.collapsible-nav .portal h3 a { color: darkslategray; } #mw-panel.collapsible-nav .portal.collapsed h3 a { color: darkslategray; } #mw-panel .portal .body li a:visited { font-size: 12px!important; color: #c93f72; } #mw-panel .portal .body li a { font-size: 12px!important; color: #cf25b4; } element.style { } #footer #footer-info li { line-height: 1.4em; } /* Dropdown Button */ .dropbtn { background-color: #4CAF50; color: white; padding: 16px; font-size: 16px; border: none; } /* The container <div> - needed to position the dropdown content */ .dropdown { position: relative; display: inline-block; } /* Dropdown Content (Hidden by Default) */ .dropdown-content { display: none; position: absolute; background-color: #f1f1f1; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; } /* Links inside the dropdown */ .dropdown-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; } /* Change color of dropdown links on hover */ .dropdown-content a:hover {background-color: #ddd;} /* Show the dropdown menu on hover */ .dropdown:hover .dropdown-content {display: block;} /* Change the background color of the dropdown button when the dropdown content is shown */ .dropdown:hover .dropbtn {background-color: #3e8e41;}