MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Macht und Herrschaft
Zur Navigation springen Zur Suche springen
 
(234 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 2: Zeile 2:
/* Grid "Zentrale Hinhalte" */
/* Grid "Zentrale Hinhalte" */


.SFB {
.grid {
 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    }
 
.grid-itw {


  grid-column-start:1;  
    display: grid;
  grid-column-end:4;  
    grid-template-columns: repeat(3, 1fr);
  grid-row-start:1;  
    gap: 1em;
  grid-row-end:2;
    }


text-align:justify; border:1px solid #aaa; line-height: 1.5; font-family:inherit; padding-left:20px; padding-right:20px; margin: 10px; padding-bottom: 20px; }
.grid-fd {


 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    }


.spannungsfelder {
.grid-sf {


  grid-column-start:4;
    display: grid;
  grid-column-end:5;  
    grid-template-columns: repeat(1, 1fr);
  grid-row-start:1;  
    gap: 1em;
  grid-row-end:3;  
    }


text-align:justify; border:1px solid #aaa; line-height: 1.5; font-family:inherit; padding-left:20px; padding-right:20px; margin: 10px;
@media only screen and (min-width: 680px) {


}
    .grid {
        grid-template-columns: repeat(2, 1fr);
        }
    }


.FD {
@media only screen and (min-width: 980px) {


  grid-column-start:1;
    .grid {
  grid-column-end:4;  
        grid-template-columns: repeat(4, 1fr);
  grid-row-start:2;
        }
  grid-row-end:4;
        }


text-align:justify; border:1px solid #aaa; line-height: 1.5; font-family:inherit; padding-left:20px; padding-right:20px; margin: 10px; padding-bottom: 20px;
@media only screen and (min-width: 1980px) {


}
    .grid {
        grid-template-columns: repeat(8, 1fr);
        }
        }


            .hs-grid{
@media only screen and (min-width: 1980px) {
            display:grid;
            grid-template-columns: repeat(1, 1fr);
            gap:1em;


            }
    .grid-fd {
        grid-template-columns: repeat(4, 1fr);
        }
        }


            @media only screen and (min-width:680px) {
@media only screen and (min-width: 1980px) {
            .hs-grid{
            grid-template-columns:repeat(2,1fr);
            }
            }


            @media only screen and (min-width:980px) {
    .grid-itw {
            .hs-grid{
        grid-template-columns: repeat(9, 1fr);
            grid-template-columns:repeat(4,1fr);
        }
            }
        }
            }


            @media only screen and (min-width:1980px) {
.grid-item {
            .hs-grid{
    text-align: justify;
            grid-template-columns:repeat(8,1fr);
    border: 1px solid #aaa !important;
            }
    line-height: 1.5;
            }
    font-family: inherit;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
    padding-bottom: 20px;
    }


            .hs-inhalte-item{
.SFB {
            border: 1px solid #aaa;
            border-top: 5px solid #2E4F8F;
            margin-top: 20px;
            }


            .hs-inhalte-item-body  {
    grid-column-start: 1;
            padding:0.2em 0.4em;
    grid-column-end: 4;
            }
    grid-row-start: 1;
    grid-row-end: 2;
    }


            .hs-inhalte-item-header{
.HS-SF {
            text-align:left;
            border-bottom:1px solid #aaa;
            font-weight: bold;
            line-height: 1.5;
            font-family:inherit;
            padding:0.4em;


            padding-left: 20px;
    grid-column-start: 4;
            height: 150px;
    grid-column-end: 5;
            }  
    grid-row-start: 1;
    grid-row-end: 3;
    }


 
.HS-FD {


            .hs-inhalte-item-header a:link {
    grid-column-start: 1;
            color: black;
    grid-column-end: 4;
            }
    grid-row-start: 2;
    grid-row-end: 4;
    }


            .hs-inhalte-item-header:hover{
.item-wrapper {
            background: #2E4F8F; opacity: 100%;
            }


            .hs-inhalte-item-header:hover a:link {
    border: 1px solid #aaa !important;
    margin-top: 20px !important;


            color: white;
}
            }


            .hs-inhalte-item-header a:visited {
.item-header {
            color: black;
            }


            .hs-inhalte-item-header:hover a:visited {
    text-align: left;
            color: white;  
    font-weight: bold !important;
            }
    line-height: 1.5 !important;
    font-family: inherit !important;
    padding: 0.4em !important;
    padding-left: 20px;


/* Forschungsdaten- später integrieren mit TP */
padding:10px !important;


#fd-1 {
}


  grid-column-start:1;
.HS-FD .item-header{ height: auto;
  grid-column-end:3;
  grid-row-start:1;
  grid-row-end:2;  


} #fd-2 {
  border-top: 5px solid #cecec7;


  grid-column-start:3;
}
  grid-column-end:5;
  grid-row-start:1;
  grid-row-end:2;


} #fd-3 {
.HS-SF .item-header{ height: auto;


  grid-column-start:1;
  border-top: 5px solid #8991ba;  
  grid-column-end:3;
  grid-row-start:2;
  grid-row-end:3;  


} #fd-4 {
} .HS-ITW .item-header{ height: auto;


  grid-column-start:3;
  border-top: 5px solid #CFCEC2;  
  grid-column-end:5;
  grid-row-start:2;
  grid-row-end:3;  


}
}


.hs-fd-item{
.HS-TPs .item-header{
            border: 1px solid #aaa;
            border-top: 5px solid #CFCEC2;
            margin-top: 20px;
            }


            .hs-fd-item-header{
  min-height: 130px;
            text-align:left;
  border-top: 5px solid #2a4b8b;  
            border-bottom:1px solid #aaa;
            font-weight: bold;
            line-height: 1.5;
            font-family:inherit;
            padding:0.4em;


            padding-left: 20px;
}


height: 80px;
.item-body{


            }
    border-top: 1px solid #aaa !important;


 
padding: 10px;


            .hs-fd-item-header a:link {
}
            color: black;
            }


            .hs-fd-item-header:hover{
.item-header a:link {
            background: #CFCEC2; opacity: 100%;
            }


            .hs-fd-item-header:hover a:link {
    color: black;


            color: white;
}
            }


            .hs-fd-item-header a:visited {
.HS-TPs .item-header:hover {
            color: black;
            }


            .hs-fd-item-header:hover a:visited {
    background: #2a4b8b;
            color: white;  
            }
     


/* Spannungsfeld - später integrieren mit TP */
}


.hs-spannungsfeld-item{
.HS-SF .item-header:hover {
            border: 1px solid #aaa;
            border-top: 5px solid #8E92BF;
            margin-top: 20px;


            }
    background: #8991ba;


            .hs-spannungsfeld-item-header{
}
            text-align:center;
            border-bottom:1px solid #aaa;
            font-weight: bold;
            line-height: 1.5;
            font-family:inherit;
            padding:0.4em;


            padding-left: 20px;
.HS-FD .item-header:hover {
            height: 40px;
            }


 
    background: #cecec7;


            .hs-spannungsfeld-item-header a:link {
}
            color: black;
            }


            .hs-spannungsfeld-item-header:hover{
.HS-ITW .item-header:hover {
            background: #8E92BF; opacity: 100%;
            }


            .hs-spannungsfeld-item-header:hover a:link {
    background: #CFCEC2;


            color: white;
}
            }


            .hs-spannungsfeld-item-header a:visited {
.item-header:hover a:link {
            color: black;
            }


            .hs-spannungsfeld-item-header:hover a:visited {
    color: white;
            color: white;  
            }


#sf-1 {
} .item-header:hover span{


  grid-column-start:1;
    color: white;
  grid-column-end:5;
  grid-row-start:1;
  grid-row-end:2;  


} #sf-2 {
}


  grid-column-start:1;
.item-header a:visited {
  grid-column-end:5;
  grid-row-start:2;
  grid-row-end:3;


} #sf-3 {
    color: black;


  grid-column-start:1;
}
  grid-column-end:5;
 
  grid-row-start:3;
.item-header:hover a:visited {
  grid-row-end:4;  
 
    color: white;


}
}


#sf-4 {  
.SF {


  grid-column-start:1;  
text-align: justify;
  grid-column-end:5;  
    border: 1px solid #aaa !important;
  grid-row-start:4;  
    line-height: 1.5;
  grid-row-end:5;  
    font-family: inherit;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
    padding-bottom: 20px;
 
border-top: 5px solid #8991ba!important;


}
}


/* TP Hauptseiten*/
.ITW{
 
text-align: justify;
    border: 1px solid #aaa !important;
    line-height: 1.5;
    font-family: inherit;
    padding: 20px;
 
    margin: 10px;


.TP-HS{ padding: 20px;
border-top: 5px solid #CFCEC2 !important;


}
}


.TP-Info{
/*Teilprojekte Hauptseiten*/
 
.TP-HS .TP-content li {
 
    line-height: 1.5;
    padding-inline: 10px;
    padding: 5px;
 
}


  grid-column-start:1;
.TP-HS .TP-Info {
  grid-column-end:3;
  grid-row-start:1;
  grid-row-end:2;


text-align:justify; line-height: 1.5; font-family:inherit; padding-left:20px; padding-right:20px; margin: 10px;
padding:20px; margin-bottom: 30px;


}
}


.TP {
.TP-HS .HS-FD .item-body { text-align:center; line-height: 5; font-size: 14px; }


  grid-column-start:4;
.TP-HS .HS-FD .item { border: 1.5px solid black; margin:5px; }
  grid-column-end:5;
  grid-row-start:1;  
  grid-row-end:1;  


text-align:justify; border:1px solid #aaa; line-height: 1.5; font-family:inherit; padding-left:20px; padding-right:20px; margin: 10px;
.TP-HS .HS-FD .item:hover {
 
    background: #2a4b8b;


}
}


.TP-SF{
.TP-HS .HS-FD .item a:link {
 
    color: black;
 
}


  grid-column-start:4;
.TP-HS .HS-FD .item:hover a:link {
  grid-column-end:5;
  grid-row-start:2;
  grid-row-end:3;


text-align:justify; border:1px solid #aaa; line-height: 1.5; font-family:inherit; padding-left:20px; padding-right:20px; margin: 10px;
    color: white;


}
}


.TP-ITW {
.TP-HS .HS-FD .item a:visited {
 
    color: black;
 
}


  grid-column-start:4;
.TP-HS .HS-FD .item:hover a:visited {
  grid-column-end:5;
  grid-row-start:3;
  grid-row-end:4;


text-align:justify; border:1px solid #aaa; line-height: 1.5; font-family:inherit; padding-left:20px; padding-right:20px; margin: 10px;
    color: white;


}
}


.TP-toc {
.TP-HS .HS-FD .tp-item-header a:link{ color:white; } .TP-HS .HS-FD .tp-item-header a:visited{ color:white; }


  grid-column-start:1;  
.TP-HS .HS-FD .tp-item-header { text-align:center; background-color: #cecec7; color: white; padding: 10px; margin-top: 20px; }
  grid-column-end:3;  
 
  grid-row-start:2;
.TP-HS .HS-FD .tp-item-header span{
  grid-row-end:5;  
 
    color: white;


}
}
.TP-projekt {border-top: 5px solid #2a4b8b;}
/* Layout TP Test Anordnung ohne Grid*/
.TP-HS * { box-sizing: border-box; }
.TP-HS .TP-toc {height: auto;}
.TP-header { text-align: center; background: white; margin-left: 18%; width: 60%; margin-bottom: 30px;}
.TP-leftcolumn { float: left; width: 75%; }
.TP-rightcolumn { float: left; width: 25%; padding-left: 20px; }
.TP-HS .row:after { content: ""; display: table; clear: both; }
.TP-content { padding: 20px; text-align: left; margin-top: 20px; }
.TP-SF{ margin-bottom: 30px;}

Aktuelle Version vom 18. Juni 2021, 15:08 Uhr


/* Grid "Zentrale Hinhalte" */

.grid {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    }

.grid-itw {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    }

.grid-fd {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    }

.grid-sf {

    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1em;
    }

@media only screen and (min-width: 680px) {

    .grid {
        grid-template-columns: repeat(2, 1fr);
        }
    }

@media only screen and (min-width: 980px) {

    .grid {
        grid-template-columns: repeat(4, 1fr);
        }
        }

@media only screen and (min-width: 1980px) {

    .grid {
        grid-template-columns: repeat(8, 1fr);
        }
        }

@media only screen and (min-width: 1980px) {

    .grid-fd {
        grid-template-columns: repeat(4, 1fr);
        }
        }

@media only screen and (min-width: 1980px) {

    .grid-itw {
        grid-template-columns: repeat(9, 1fr);
        }
        }

 .grid-item {
    text-align: justify;
    border: 1px solid #aaa !important;
    line-height: 1.5;
    font-family: inherit;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
    padding-bottom: 20px;
    }

.SFB {

    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
    }

.HS-SF {

    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 3;
    }

.HS-FD {

    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 4;
    }

.item-wrapper {

    border: 1px solid #aaa !important;
    margin-top: 20px !important;

}

.item-header {

    text-align: left;
    font-weight: bold !important;
    line-height: 1.5 !important;
    font-family: inherit !important;
    padding: 0.4em !important;
    padding-left: 20px;

padding:10px !important;

}

.HS-FD .item-header{ height: auto;

   border-top: 5px solid #cecec7; 

}

.HS-SF .item-header{ height: auto;

   border-top: 5px solid #8991ba; 

} .HS-ITW .item-header{ height: auto;

   border-top: 5px solid #CFCEC2; 

}

.HS-TPs .item-header{

  min-height: 130px;
   border-top: 5px solid #2a4b8b; 

}

.item-body{

    border-top: 1px solid #aaa !important;

padding: 10px;

}

.item-header a:link {

    color: black;

}

.HS-TPs .item-header:hover {

    background: #2a4b8b;

}

.HS-SF .item-header:hover {

    background: #8991ba;

}

.HS-FD .item-header:hover {

    background: #cecec7;

}

.HS-ITW .item-header:hover {

    background: #CFCEC2;

}

.item-header:hover a:link {

    color: white;

} .item-header:hover span{

    color: white;

}

.item-header a:visited {

    color: black;

}

.item-header:hover a:visited {

    color: white;

}

.SF {

 text-align: justify;
    border: 1px solid #aaa !important;
    line-height: 1.5;
    font-family: inherit;
    padding-left: 20px;
    padding-right: 20px;
    margin: 10px;
    padding-bottom: 20px;

border-top: 5px solid #8991ba!important;

}

.ITW{

 text-align: justify;
    border: 1px solid #aaa !important;
    line-height: 1.5;
    font-family: inherit;
    padding: 20px;

    margin: 10px;

border-top: 5px solid #CFCEC2 !important;

}

/*Teilprojekte Hauptseiten*/

.TP-HS .TP-content li {

    line-height: 1.5;
    padding-inline: 10px;
    padding: 5px;

}

.TP-HS .TP-Info {

padding:20px; margin-bottom: 30px;

}

.TP-HS .HS-FD .item-body { text-align:center; line-height: 5; font-size: 14px; }

.TP-HS .HS-FD .item { border: 1.5px solid black; margin:5px; }

.TP-HS .HS-FD .item:hover {

    background: #2a4b8b;

}

.TP-HS .HS-FD .item a:link {

    color: black;

}

.TP-HS .HS-FD .item:hover a:link {

    color: white;

}

.TP-HS .HS-FD .item a:visited {

    color: black;

}

.TP-HS .HS-FD .item:hover a:visited {

    color: white;

}

.TP-HS .HS-FD .tp-item-header a:link{ color:white; } .TP-HS .HS-FD .tp-item-header a:visited{ color:white; }

.TP-HS .HS-FD .tp-item-header { text-align:center; background-color: #cecec7; color: white; padding: 10px; margin-top: 20px; }

.TP-HS .HS-FD .tp-item-header span{

    color: white;

}

.TP-projekt {border-top: 5px solid #2a4b8b;}

/* Layout TP Test Anordnung ohne Grid*/

.TP-HS * { box-sizing: border-box; }

.TP-HS .TP-toc {height: auto;}

.TP-header { text-align: center; background: white; margin-left: 18%; width: 60%; margin-bottom: 30px;}

.TP-leftcolumn { float: left; width: 75%; }

.TP-rightcolumn { float: left; width: 25%; padding-left: 20px; }

.TP-HS .row:after { content: ""; display: table; clear: both; }

.TP-content { padding: 20px; text-align: left; margin-top: 20px; }

.TP-SF{ margin-bottom: 30px;}