MediaWiki:Chameleon.css: Unterschied zwischen den Versionen

Aus LNTwww
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Maintenance script (Diskussion | Beiträge)
Fix icon circles: use fixed width/height for perfect round shape
 
(39 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 4: Zeile 4:
img {
img {
     max-width: 100%;  
     max-width: 100%;  
height: auto;  
    height: auto;  
 
}
}


/*"Beobachten"-Link am Seitenende entfernen */
/*"Beobachten"-Link am Seitenende entfernen */
#contentSub {
#contentSub {
display:none
    display:none
}
}
.patrollink {
.patrollink {
display:none
    display:none
}
}


Zeile 20: Zeile 19:
/*Main Page*/
/*Main Page*/
.marketing .col-sm-3 {
.marketing .col-sm-3 {
  margin-bottom: 20px;
    margin-bottom: 20px;
  text-align: center;
    text-align: center;
}
}
.marketing h2 {
.marketing h2 {
  font-weight: normal;
    font-weight: normal;
}
}
.col-sm-3 {
.col-sm-3 {
text-align: center;
    text-align: center;
}
}
.marketing .col-sm-3 p {
.marketing .col-sm-3 p {
test-align: center;
    text-align: center;
  margin-right: 10px;
    margin-right: 10px;
  margin-left: 10px;
    margin-left: 10px;
}
}


.glyphicon-book, .user-alt, .glyphicon-download, .glyphicon-exclamation-sign, .glyphicon-education {
/* Homepage icon styling — FA6 classes + legacy glyphicon fallback */
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
.fa-solid.fa-circle-info,
border-radius:100px;
.fa-solid.fa-download,
padding:20px;
.fa-solid.fa-graduation-cap,
font-size: 1.5em;
.fa-solid.fa-film,
color: white;
.fa-solid.fa-table-cells-large,
margin-left:auto;
.fa-solid.fa-user,
margin-right: auto;
.fa-solid.fa-book,
background:#215fa6;
.fa-solid.fa-triangle-exclamation,
.glyphicon-book, .user-alt, .glyphicon-download, .glyphicon-info-sign,
.glyphicon-th-large, .glyphicon-film, .glyphicon-exclamation-sign, .glyphicon-education {
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    border-radius:50%;
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 1.5em;
    color: white;
    margin-left:auto;
    margin-right: auto;
    background:#215fa6;
}
}


/* BS3 img-responsive -> BS4 img-fluid compatibility */
.img-responsive {
.img-responsive {
margin: 0 auto;
    margin: 0 auto;
padding-bottom: 1em;
    padding-bottom: 1em;
    max-width: 100%;
    height: auto;
}
}


/* BS3 btn-default -> BS4 compatibility */
.btn-default {
    background-color: #215fa6;
    border-color: #215fa6;
    color: #fff;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    background-color: #1a4d85;
    border-color: #1a4d85;
    color: #fff;
}


.btn-lg {
.btn-lg {
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
font-size:23px;
    font-size:23px;
margin-left: auto;
    margin-left: auto;
margin-right:auto;
    margin-right:auto;
}
}


.applet-button {
.applet-button {
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
font-size:16px;
    font-size:16px;
margin-left: auto;
    margin-left: auto;
margin-right:auto;
    margin-right:auto;
}
}


.button-large {
.button-large {
text-align: center;
    text-align: center;
padding-bottom: 2em;
    padding-bottom: 2em;
}
}


a.btn-lg:link {
a.btn-lg:link {
color: white;
    color: white;
}
}
a.btn-lg:visited {
a.btn-lg:visited {
color:white;
    color:white;
}
}


.featurette-heading {
.featurette-heading {
  font-weight: 300;
    font-weight: 300;
  line-height: 1;
    line-height: 1;
  letter-spacing: -1px;
    letter-spacing: -1px;
}
}


.col-md-7{
.col-md-7{
padding-top:.4em;
    padding-top:.4em;
}
}


.col-md-5{
.col-md-5{
text-align:right;
    text-align:right;
float:right;
    float:right;
}
}


.col-xs-15,
.col-xs-15,
.col-sm-15 {
.col-sm-15 {
position: relative;
    position: relative;
     min-height: 1px;
     min-height: 1px;
     padding-right: 10px;
     padding-right: 10px;
Zeile 116: Zeile 145:


@media (min-width: 768px) {
@media (min-width: 768px) {
.col-sm-15 {
    .col-sm-15 {
         width: 20%;
         width: 20%;
         float: left;
         float: left;
Zeile 134: Zeile 163:
}
}
@media screen and (min-width : 800px) {
@media screen and (min-width : 800px) {
.pullright{
    .pullright{
float:right;
        float:right;
}
    }
}
}
@media only screen and (max-width : 800px){
@media only screen and (max-width : 800px){
.pullright {
    .pullright {
display: block;
        display: block;
    margin-left: auto;
        margin-left: auto;
    margin-right: auto;
        margin-right: auto;
}
    }
}
}


@media (max-width: 768px){
@media (max-width: 768px){
.col-sm-15{
    .col-sm-15{
display:none;
        display:none;
}
    }
}
}


@media (max-width: 1200px){
@media (max-width: 1200px){
.col-sm-5{
    .col-sm-5{
padding-top:2em;
        padding-top:2em;
}
    }
}
}
@media(max-width:890px){
@media(max-width:890px){
.navbar-personaltools{
    .navbar-personaltools{
display:none;
        display:none;
}
    }
}
}


/* remove Toolbox */
#p-tb { display:none !important; }
/*remove Subpage breadcrumb */
.subpages {
display:none !important;
}


.mw-body {
.mw-body {
max-width: 1000px;
    margin: 0 auto !important;
margin: 0 auto !important;
}
}
.mw-body-content a:link { color: #0000FF; } /* normal unvisited links */
.mw-body-content a:link:active { color: #FF0000; } /* active links */
.mw-body-content a:link.new { color: #FF0000; } /* new links */
.mw-body-content a:link.interwiki { color: #3366BB; } /* interwiki links */
.mw-body-content a:link.external { color: #3366BB; } /* external links */
.mw-body-content a.interwiki:visited { color: #3366BB; }
.mw-body-content a.external:visited { color: #3366BB; }


/*Rahmen für Inhaltsverzeichnis*/
/*Rahmen für Inhaltsverzeichnis*/
#toc ul {
#toc ul {
border-radius: 3px;
    border-radius: 3px;
border: #e4e2e0 solid 1px;
    border: #e4e2e0 solid 1px;
display: inline-block;
    display: inline-block;
background: #f9f9f9;
    background: #f9f9f9;
padding: 10px;
    padding: 10px;
}
}


Zeile 197: Zeile 209:
/*Anpassungen für Bootstrap skin, nicht notwendig für vector*/
/*Anpassungen für Bootstrap skin, nicht notwendig für vector*/
.quiz .sign {
.quiz .sign {
padding: 0.1em 0.4em 0.1em 0.4em;
    padding: 0.1em 0.4em 0.1em 0.4em;
}
}
.quiz table.object, .quiz table.correction {
.quiz table.object, .quiz table.correction {
height: 4em;
    min-height: 4em;
}
}


Zeile 207: Zeile 219:


.definition:before {
.definition:before {
content:"Definition";
    content:"Definition";
font-weight: bold;
    font-weight: bold;
font-size: 18px;
    font-size: 18px;
}
}


.definition {
.definition {
padding: 1em;
    padding: 1em;
background: #c9dff7;
    background: #c9dff7;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
}


.box_notitle {
.box_notitle {
padding: 1em;
    padding: 1em;
background: #c9dff7;
    background: #c9dff7;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
}


.greybox {
.greybox {
padding: 1em;
    padding: 1em;
padding-bottom: 1px;
    padding-bottom: 1em;
background: #e5e5e5;
    background: #e5e5e5;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
}


.bluebox {
.bluebox {
padding: 1em;
    padding: 1em;
padding-bottom: 1px;
    padding-bottom: 1em;
background: #c9dff7;
    background: #c9dff7;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
}


.redbox {
.redbox {
padding: 1em;
    padding: 1em;
padding-bottom: 1px;
    padding-bottom: 1em;
background: #ff5300;
    background: #ff5300;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
 
/* move the content of Collapse templates a bit to the right */
.lntwwwCollapsible {
    position:relative; left:1em;
}
}


.example:before {
.example:before {
content:"Beispiel";
    content:"Beispiel";
font-weight: bold;
    font-weight: bold;
font-size: 18px;
    font-size: 18px;
}
}


.example {
.example {
padding: 1em;
    padding: 1em;
padding-bottom: 1px;
    padding-bottom: 1px;
background: #e5e5e5;
    background: #e5e5e5;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
}


.example-right:before {
.example-right:before {
content:"Beispiel";
    content:"Beispiel";
font-weight: bold;
    font-weight: bold;
font-size: 18px;
    font-size: 18px;
}
}
.example-right{
.example-right{
padding: 1em;
    padding: 1em;
padding-bottom: 1px;
    padding-bottom: 1px;
background: #e5e5e5;
    background: #e5e5e5;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
}


Zeile 273: Zeile 290:
     .example-right {
     .example-right {
         padding: 1em;
         padding: 1em;
padding-bottom: 1px;
        padding-bottom: 1px;
background: #e5e5e5;
        background: #e5e5e5;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
        box-shadow: 1px 2px 4px rgba(0,0,0,.4);
display:inline-block;  
        display:inline-block;  
float:right;  
        float:right;  
width:50%;  
        width:50%;  
margin-left:2em;
        margin-left:2em;
     }
     }
}
}


.proof:before {
.proof:before {
content:"Beweis";
    content:"Beweis";
font-weight: bold;
    font-weight: bold;
font-size: 18px;
    font-size: 18px;
}
}
.proof{
.proof{
padding: 1em;
    padding: 1em;
background: #c9dff7;
    background: #c9dff7;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
}
h3{
h3{
font-weight:500;
    font-weight:500;
}
}


.satz:before {
.satz:before {
content:"Satz";
    content:"Satz";
font-weight: bold;
    font-weight: bold;
font-size: 18px;
    font-size: 18px;
}
}
.satz{
.satz{
padding: 1em;
    padding: 1em;
background: #c9dff7;
    background: #c9dff7;
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
}


Zeile 311: Zeile 328:
/*Header*/
/*Header*/
h2{
h2{
color: black;
    color: black;
font-weight:390;
    font-weight:390;
padding-top:1.5em;
    padding-top:1.5em;
}
}


.MathJax_Display {
.MathJax_Display {
  text-align: left !important;
    text-align: left !important;
padding-left:1em;
    padding-left:1em;
}
}


.subpages {
.subpages {
display:none;
    display:none;
}
}


        .breadcrumb>li+li:before {color: rgba(204, 204, 204, 1); content: "\276F\00a0";}
.breadcrumb>li+li:before {color: rgba(204, 204, 204, 1); content: "\276F\00a0";}
        .breadcrumb {
.breadcrumb {
        font-size: .88em;
    font-size: .88em;


background: white;
    background: white;
border: solid #ddd 1px;
    border: solid #ddd 1px;
border-radius: 0px;
    border-radius: 0px;
        }
}
.container-breadcrumb {
.container-breadcrumb {
        float:left;
    float:left;
margin-bottom: 1em;
    margin-bottom: 1em;
}
.active {
    padding-right: 1.5em;
    padding-bottom: 5.5px;
    padding-top: 5.5px;
}
.pager {
    float: right;
}
}
        .active {
        padding-right: 1.5em;
padding-bottom: 5.5px;
padding-top: 5.5px;
ma
        }
        .pager {
        float: right;
        }
.bottomm {
.bottomm {


position:absolute;
    position:absolute;
bottom:0;
    bottom:0;
right:45px;
    right:45px;
}
}


Zeile 356: Zeile 372:
/*Musterlösung*/
/*Musterlösung*/
#accordion {
#accordion {
background: -webkit-linear-gradient(top, #f6f6f6, #f7f7f7);
    display: inline-block;
display: inline-block;
    background: #f6f6f6;
}
}
a{
a{
font-weight:400;
    font-weight:400;
}
a:link {
color: #215fa6;
 
}
 
/*Büchersammlung*/
 
@media screen and (min-width: 980px) {
.collum-spacing {
background: -webkit-linear-gradient(top, #f6f6f6, #f7f7f7);
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
padding: .8em;
margin-bottom: 1em;
min-height:13.5em;
text-align: center;
    }
}
}


.collum-spacing {
/* Übersichtsseiten zu Büchersammlung und Aufgabensammlung */
background: -webkit-linear-gradient(top, #f6f6f6, #f7f7f7);
.overview-colitem {
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    background: #f6f6f6;
padding: .8em;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);


margin-bottom: 1em;
    padding: .8em;
text-align: center;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    text-align: center;
}
}
 
.overview-colitem {
.row-mainpage {
    float: left !important;
-moz-column-width: 25em;
-webkit-column-width: 25em;
-moz-column-gap: 1em;
-webkit-column-gap:1em;
 
}
}


.item {
display: inline-block;
padding:  .25rem;
width:  100%;
}
/*Aufgabensammlung*/
@media screen and (min-width: 980px) {
.collum-spacing2 {
background: -webkit-linear-gradient(top, #f6f6f6, #f7f7f7);
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
padding: .8em;
margin-bottom: 1em;
text-align: center;
    }
}


.collum-spacing2 {
/* tasnad.kernetzky@tum.de: this made the quiz very ugly after pressing the show solutions button */
background: -webkit-linear-gradient(top, #f6f6f6, #f7f7f7);
.quiz a.input span {
box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    outline: #7f9db9 solid 0px;
padding: .8em;
margin-bottom: 1em;
text-align: center;
}
}

Aktuelle Version vom 25. Februar 2026, 17:28 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/*Bilder an Fenstergröße anpassen */
img {
    max-width: 100%; 
    height: auto; 
}

/*"Beobachten"-Link am Seitenende entfernen */
#contentSub {
    display:none
}
.patrollink {
    display:none
}

#content { font:Georgia; } 

/*Main Page*/
.marketing .col-sm-3 {
    margin-bottom: 20px;
    text-align: center;
}
.marketing h2 {
    font-weight: normal;
}
.col-sm-3 {
    text-align: center;
}
.marketing .col-sm-3 p {
    text-align: center;
    margin-right: 10px;
    margin-left: 10px;
}

/* Homepage icon styling — FA6 classes + legacy glyphicon fallback */
.fa-solid.fa-circle-info,
.fa-solid.fa-download,
.fa-solid.fa-graduation-cap,
.fa-solid.fa-film,
.fa-solid.fa-table-cells-large,
.fa-solid.fa-user,
.fa-solid.fa-book,
.fa-solid.fa-triangle-exclamation,
.glyphicon-book, .user-alt, .glyphicon-download, .glyphicon-info-sign,
.glyphicon-th-large, .glyphicon-film, .glyphicon-exclamation-sign, .glyphicon-education {
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    border-radius:50%;
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 1.5em;
    color: white;
    margin-left:auto;
    margin-right: auto;
    background:#215fa6;
}

/* BS3 img-responsive -> BS4 img-fluid compatibility */
.img-responsive {
    margin: 0 auto;
    padding-bottom: 1em;
    max-width: 100%;
    height: auto;
}

/* BS3 btn-default -> BS4 compatibility */
.btn-default {
    background-color: #215fa6;
    border-color: #215fa6;
    color: #fff;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    background-color: #1a4d85;
    border-color: #1a4d85;
    color: #fff;
}

.btn-lg {
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    font-size:23px;
    margin-left: auto;
    margin-right:auto;
}

.applet-button {
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
    font-size:16px;
    margin-left: auto;
    margin-right:auto;
}

.button-large {
    text-align: center;
    padding-bottom: 2em;
}

a.btn-lg:link {
    color: white;
}
a.btn-lg:visited {
    color:white;
}

.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1px;
}

.col-md-7{
    padding-top:.4em;
}

.col-md-5{
    text-align:right;
    float:right;
}

.col-xs-15,
.col-sm-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-15 {
    width: 20%;
    float: left;
}


@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}
@media screen and (min-width : 800px) {
    .pullright{
        float:right;
    }
}
@media only screen and (max-width : 800px){
    .pullright {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px){
    .col-sm-15{
        display:none;
    }
}

@media (max-width: 1200px){
    .col-sm-5{
        padding-top:2em;
    }
}
@media(max-width:890px){
    .navbar-personaltools{
        display:none;
    }
}


.mw-body {
    margin: 0 auto !important;
}

/*Rahmen für Inhaltsverzeichnis*/
#toc ul {
    border-radius: 3px;
    border: #e4e2e0 solid 1px;
    display: inline-block;
    background: #f9f9f9;
    padding: 10px;
}


/*Anpassungen für Bootstrap skin, nicht notwendig für vector*/
.quiz .sign {
    padding: 0.1em 0.4em 0.1em 0.4em;
}
.quiz table.object, .quiz table.correction {
    min-height: 4em;
}


/* Definitionskasten */

.definition:before {
    content:"Definition";
    font-weight: bold;
    font-size: 18px;
}

.definition {
    padding: 1em;
    background: #c9dff7;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}

.box_notitle {
    padding: 1em;
    background: #c9dff7;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}

.greybox {
    padding: 1em;
    padding-bottom: 1em;
    background: #e5e5e5;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}

.bluebox {
    padding: 1em;
    padding-bottom: 1em;
    background: #c9dff7;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}

.redbox {
    padding: 1em;
    padding-bottom: 1em;
    background: #ff5300;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}

/* move the content of Collapse templates a bit to the right */
.lntwwwCollapsible {
    position:relative; left:1em;
}

.example:before {
    content:"Beispiel";
    font-weight: bold;
    font-size: 18px;
}

.example {
    padding: 1em;
    padding-bottom: 1px;
    background: #e5e5e5;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}

.example-right:before {
    content:"Beispiel";
    font-weight: bold;
    font-size: 18px;
}
.example-right{
    padding: 1em;
    padding-bottom: 1px;
    background: #e5e5e5;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}

@media screen and (min-width: 980px) {
    .example-right {
        padding: 1em;
        padding-bottom: 1px;
        background: #e5e5e5;
        box-shadow: 1px 2px 4px rgba(0,0,0,.4);
        display:inline-block; 
        float:right; 
        width:50%; 
        margin-left:2em;
    }
}

.proof:before {
    content:"Beweis";
    font-weight: bold;
    font-size: 18px;
}
.proof{
    padding: 1em;
    background: #c9dff7;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}
h3{
    font-weight:500;
}

.satz:before {
    content:"Satz";
    font-weight: bold;
    font-size: 18px;
}
.satz{
    padding: 1em;
    background: #c9dff7;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}


/*Header*/
h2{
    color: black;
    font-weight:390;
    padding-top:1.5em;
}

.MathJax_Display {
    text-align: left !important;
    padding-left:1em;
}

.subpages {
    display:none;
}

.breadcrumb>li+li:before {color: rgba(204, 204, 204, 1); content: "\276F\00a0";}
.breadcrumb {
    font-size: .88em;

    background: white;
    border: solid #ddd 1px;
    border-radius: 0px;
}
.container-breadcrumb {
    float:left;
    margin-bottom: 1em;
}
.active {
    padding-right: 1.5em;
    padding-bottom: 5.5px;
    padding-top: 5.5px;
}
.pager {
    float: right;
}
.bottomm {

    position:absolute;
    bottom:0;
    right:45px;
}


/*Musterlösung*/
#accordion {
    display: inline-block;
    background: #f6f6f6;
}
a{
    font-weight:400;
}

/* Übersichtsseiten zu Büchersammlung und Aufgabensammlung */
.overview-colitem {
    background: #f6f6f6;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);

    padding: .8em;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    text-align: center;
}
.overview-colitem {
    float: left !important;
}


/* tasnad.kernetzky@tum.de: this made the quiz very ugly after pressing the show solutions button */
.quiz a.input span {
    outline: #7f9db9 solid 0px;
}