MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Macht und Herrschaft
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
/* Beschriftung „Inhaltsverzeichnis“ spannt über alle Spalten */
/* Beschriftung „Inhaltsverzeichnis“ spannt über alle Spalten */
.toc .toctitle { column-span: all; }
.toc .toctitle { column-span: all; }
Zeile 10: Zeile 9:
@media (max-width: 940px) { .toc>ul { column-count: 1; } }
@media (max-width: 940px) { .toc>ul { column-count: 1; } }
/* Zeilen ab 3. Ebenen zusammenhalten */
/* Zeilen ab 3. Ebenen zusammenhalten */
.toc>ul>ul,
.toc>ul>,
.toc>ul>li { column-break-inside: avoid; }
.toc>li { column-break-inside: avoid; }
 
 
/* Grid "Zentrale Hinhalte" */
/* Grid "Zentrale Hinhalte" */



Version vom 11. Mai 2021, 11:36 Uhr

/* Beschriftung „Inhaltsverzeichnis“ spannt über alle Spalten */
.toc .toctitle { column-span: all; }
/* Spaltenanzahl */
.toc>ul { column-count: 5; column-width: auto; column-gap: 1em; }
/* Spaltenanzahl nach Fensterbreite; Breitenwerte anpassen!  */
@media (max-width: 1540px)	{	.toc>ul	{ column-count: 4; }	}
@media (max-width: 1340px)	{	.toc>ul	{ column-count: 3; }	}
@media (max-width: 1140px)	{	.toc>ul	{ column-count: 2; }	}
@media (max-width: 940px)	{	.toc>ul	{ column-count: 1; }	}
/* Zeilen ab 3. Ebenen zusammenhalten */
.toc>ul>,
.toc>li	{ column-break-inside: avoid; }


/* Grid "Zentrale Hinhalte" */

/*.hauptseite h2{ background-color:#e0ebeb; padding:5px;

}*/

.SFB {

  grid-column-start:1; 
  grid-column-end:4; 
  grid-row-start:1; 
  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;

} .spannungsfelder {

  grid-column-start:4; 
  grid-column-end:5; 
  grid-row-start:1; 
  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;

}

.FD {

  grid-column-start:1; 
  grid-column-end:4; 
  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;

}

            .hs-grid{
            display:grid;
            grid-template-columns: repeat(1, 1fr);
            gap:1em;

            }

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

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

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

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

            .hs-inhalte-item-body  {
            padding:0.2em 0.4em;
            }

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

            padding-left: 20px;
            height: 150px;
             } 

 

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

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

            .hs-inhalte-item-header:hover a:link {

            color: white; 
            }

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

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

/* Forschungsdaten- später integrieren mit TP */

 #fd-1 {

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

} #fd-2 {

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

} #fd-3 {

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

} #fd-4 {

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

}

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

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

            padding-left: 20px;

height: 80px;

             } 

 

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

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

            .hs-fd-item-header:hover a:link {

            color: white; 
            }

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

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

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

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

            }

            .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;
            height: 40px;
             } 

 

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

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

            .hs-spannungsfeld-item-header:hover a:link {

            color: white; 
            }

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

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

 #sf-1 {

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

} #sf-2 {

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

} #sf-3 {

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

}

#sf-4 { 

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

}