MediaWiki:Common.css
From OHO - search engine for sustainable open hardware projects
Revision as of 03:41, 11 August 2019 by Djaeger (talk | contribs) (Die Seite wurde neu angelegt: „→Das folgende CSS wird für alle Benutzeroberflächen geladen.: .p-logo { float:left; } .header_text { float:left; font-size: 30px; padding-top: 8px;…“)
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
.p-logo {
float:left;
}
.header_text {
float:left;
font-size: 30px;
padding-top: 8px;
padding-left: 15px;
display: block;
}
.container {
width: auto !important;
margin: 0px !important;
}
.container .header_box, .container .menu_box{
background-color: #86bc24;
width: auto !important;
margin-left: -15px;
margin-right: -15px;
color: #ffffff;
}
.container .menu_box{
background-color: #93C937;
}
.p-logo img {
height: 60px;
}
.p-personal a {
color: #ffffff !important;
}
#pt-mytalk, #pt-watchlist, #pt-mycontris {
display:none;
}
.row {
width: 1170px;
margin: 0 auto;
}
.navbar {
min-height:0px;
}
.navbar-default {
background:none !important;
border:none;
margin-bottom:0px;
}
.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a:hover {
color:#ffffff;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover {
background-color: #86bc24 !important;
color: #ffffff !important;
}
.nav > li > a, #p-personal {
padding-top:9px;
padding-bottom:10px;
font-size:16px;
line-height:18px;
}
#ca-ve-edit, #ca-protect, #ca-unwatch, #ca-purge {
display:none;
}
#p-search {
padding-top: 13px;
}
.container-fluid {
padding-left:0px;
}
.firstHeading {
border-bottom:1px solid #e2e2e2;
}
.mw-content-ltr h2 {
border-bottom:1px solid #eeeeee;
margin-bottom:14px;
}
table.formtable {
width:100%;
border-spacing: 10px;
border-collapse: separate;
}
table.formtable > tbody > tr > td {
border: 1px solid #dddddd;
background:#f9f9f9;
padding:15px;
vertical-align:top;
}
.pfImagePreviewWrapper {
margin-top:10px;
}
.multipleTemplateInstance {
background-color:#f9f9f9;
}
.images_form_box .multipleTemplateInstance {
background-color:#f3f3f3;
}
.projekt_box > table, .projekt_component_box > table {
width:100%;
border: none !important;
background:none;
}
.projekt_box pre, .projekt_component_box pre, .formtable pre, .formdiv pre {
white-space:normal;
background: none;
border: none;
margin: 0px;
padding: 0px;
overflow: visible;
color:#333333;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size:14px;
}
.projekt_box td, .projekt_component_box td {
border: none !important;
vertical-align: top;
}
.projekt_component_box td {
padding:15px !important;
}
.thumbinner {
text-align:center;
}
.formtable .pfTreeInput {
height: 300px !important;
overflow: hidden;
}
.projekt_box .wikitable p {
display:none;
}
.projekt_box .wikitable .info_row {
display:block;
border: 1px solid #dddddd;
background:#f9f9f9;
padding:8px;
margin:0px 0px 8px 0px;
}
.projekt_component_box {
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 4px;
}
.projekt_component_box .wikitable, .projekt_component_box .wikitable h3 {
margin:0px;
}
ul.gallery.mw-gallery-slideshow {
width:605px;
margin:0px;
}
.mw-gallery-slideshow-buttons {
display: none !important;
}
.mw-gallery-slideshow .mw-gallery-slideshow-img-container img {
max-width: 100%;
max-height: 100%;
}
.mw-gallery-slideshow .gallerycarousel {
display: block;
text-align: center;
float:none;
}
.mw-gallery-slideshow-img-container, .mw-gallery-slideshow .gallerycarousel {
height:320px;
}
.mw-gallery-slideshow-img-container > a {
height:100%;
}
.mw-gallery-slideshow .gallerybox, .mw-gallery-traditional .gallerybox {
display: block !important;
text-align: center;
float:left;
width:120px !important;
height:120px !important;
padding:5px;
}
.gallerybox * {
margin: 0px !important;
padding: 0px !important;
width: 100% !important;
height:100%;
}
.gallerybox .thumb img {
max-width:100% !important;
max-height:100% !important;
display: inline !important;
width: auto !important;
height:auto !important;
}
.gallerybox {
line-height:110px;
}
.pcmp_img {
width:400px;
}
.pcmp_img img {
max-width:400px;
}
.pcmp_desc {
width:100%;
}
.mw-category-generated .mw-category-group h3, .mw-category-generated .mw-content-ltr h3 {
display:none
}
.mw-special-RunQuery .contentHeader {
display:none;
}
.search_cat_box {
display:none;
}
.search_items_results_page > div > p, .rootpage-Home .mw-parser-output > p {
display:none !important;
}
.search_items_results_page .listwidget-container, .rootpage-Home .mw-parser-output {
margin:-10px;
}
.rootpage-Observatory .catlinks {
display:none;
}
.search_item pre {
background-color:#ffffff;
}
.search_item {
float:left;
height:286px;
width:256px;
margin:10px;
white-space:normal;
overflow:hidden;
position:relative;
}
.search_item pre {
padding:0px;
margin:0px;
border:none;
overflow:hidden;
height:200px;
border-radius:0px;
}
.search_item .search_item_frame > pre {
background-color:#fef0e4;
padding:5px;
border-bottom-left-radius:7px;
border-bottom-right-radius:7px;
height:56px;
}
.search_item_img {
height:205px;
}
.search_item * {
white-space:normal !important;
line-height:16px !important;
font-size:14px !important;
font-family:'Open Sans', sans-serif;
text-align:center;
color:#002b3e !important;
}
.search_item img {
width:100% !important;
margin-bottom:5px;
}
.search_item a {
text-decoration:none!important;
}
.search_item .search_item_title {
margin-bottom:5px;
font-weight:bold;
text-align:left;
}
.search_item .search_item_desc {
text-align:left;
display:none;
}
.search_item .search_item_desc * {
text-align:left;
display:inline;
margin:0px;
padding:0px;
line-height:inherit;
font-weight:normal !important;
}
.search_item .search_item_desc br {
display:none;
}
.search_item .search_item_info {
margin-top:5px;
}
.search_item .search_item_info * {
font-weight:bold;
color:#296178 !important;
}
.search_item .search_item_info_lang {
float:left;
border-right:1px solid #000000;
padding:2px 5px 2px 0px;
}
.search_item .search_item_info_type {
float:left;
padding:2px 0px 2px 5px;
}
.search_item:hover {
overflow:visible;
}
.search_item:hover .search_item_frame {
position:absolute;
top:0px;
height:auto;
border:1px #002b3e solid;
border-radius:7px;
-webkit-box-shadow:10px 10px 60px 0px rgba(0,0,0,0.75);
-moz-box-shadow:10px 10px 60px 0px rgba(0,0,0,0.75);
box-shadow:10px 10px 60px 0px rgba(0,0,0,0.75);
z-index:100000;
background-color:#ffffff;
width:100%;
overflow:hidden;
}
.search_item:hover > pre, .search_item:hover .search_item_img {
height:auto;
border:none;
}
.search_item:hover .search_item_img {
min-height:200px;
max-height:300px;
overflow:hidden;
}
.search_item:hover .search_item_desc {
display:block;
max-height:200px;
}
.search_item:hover pre {
height:auto;
}
.search_item:hover .search_item_frame > pre {
height:auto;
padding:10px;
border-radius:0px !important;
}
.search_item:hover .search_item_info {
padding:10px;
}
.mw-parser-output {
overflow:visible !important;
}
#catlinks {
clear:both;
padding-top:20px;
}
