GPN14:Stylesheet: Unterschied zwischen den Versionen

aus dem Wiki des Entropia e.V., CCC Karlsruhe
KKeine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(36 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
/*
  /*
  * GPN14 Stylesheet
    * GPN14 Stylesheet
  *
    *
  * Ändern hier: https://entropia.de/GPN14:Stylesheet
    * Ändern hier: https://entropia.de/GPN14:Stylesheet
  * Einbinden über: {{Navigationsleiste GPN14}}
    * Einbinden über: <nowiki>{{Navigationsleiste GPN14}}</nowiki>
  *
    *
  * Farben: bitte HSL (bzw. HSLA) ggü. RGB bevorzugen!
    * Farben: bitte HSL (bzw. HSLA) ggü. RGB bevorzugen!
  *
    *
  * Hintergrund-Cyan:
    * Hintergrund-Cyan:
  *  background-color: rgb(40, 150, 180)
    *  background-color: rgb(40, 150, 180)
  *  hsl(193, 64%, 43%)
    *  hsl(193, 64%, 43%)
  *
    *
  * Abgedunkelt (sidebar usw.):
    * Andere, aber passende, Farben lassen sich leicht durch ändern
  *   hsl(193, 64%, 23%)
    * der dritten Komponente erzeugen.
  *
    *
  * Heller (Rahmen und Unterstreichungen in Navbar usw.):
    * Testen: am einfachsten über mitmproxy (siehe git repo).
  hsl(193, 64%, 53%);
    */
   */
    
 
   @font-face {
@font-face {
    font-family: "Loxica";
  font-family: "Loxica";
    src: url("/gulasch/v5loxicar.ttf");
  src: url("/gulasch/v5loxicar.ttf");
  }
}
 
 
  @font-face {
 
    font-family: "Xolonium-Regular";
/*
    src: url("/gulasch/Xolonium-Regular.otf");
* Screen only
  }
*/
 
@media screen {
  @font-face {
 
    font-family: "Xolonium-Bold";
 
    src: url("/gulasch/Xolonium-Bold.otf");
/*
  }
* Header, Sidebar, Footer
 
*/
  /*
 
  * Screen only
#column-one,
  */
#column-content {
  @media screen {
  background-color: hsl(193, 64%, 43%);
 
}
 
 
   /*
.pBody {
  * Replace site logo
   background-color: hsl(193, 64%, 43%);
  *
}
  * gaaaaaarrrrrr.....!!!!
 
  */
#p-navigation a, #p-portlet2 a, #p-portlet3 a, #p-search a, #p-tb a, #p-fnord a {
 
  color: hsl(193, 64%, 95%);
  div#p-logo.portlet a,
}
  div#p-logo.portlet a:hover {
 
    background-image: url("/wiki/images/f/f8/GPN14-wikilogo.png") !important;
#p-logo {
    display: block;
   background-color: hsl(193, 64%, 23%);
    height: 110px;
}
    width: 160px;
 
   }
div#globalWrapper {
 
   background-color: hsl(193, 64%, 43%);
  div#column-one div a img {
}
    display: none;
 
   }
div#footer {
 
   background-color: hsl(193, 64%, 23%);
 
   border-top: none;
   /*
   border-bottom: none;
  * Header, Sidebar, Footer
}
  */
 
 
/* Hide banner1 ("There is no fork.") -- wtf?! */
   #column-one,
div#p-tb + div.generated-sidebar.portlet {
   #column-content {
   display: none !important;
    background-color: hsl(193, 64%, 43%);
}
  }
 
 
#p-navigation ul li,
  .pBody {
#p-portlet2 ul li,
    background-color: hsl(193, 64%, 43%);
#p-portlet3 ul li,
  }
#p-search ul li,
    
#p-tb ul li,
  #p-navigation a, #p-portlet2 a, #p-portlet3 a, #p-search a, #p-tb a, #p-fnord a {
#p-fnord ul li {
    color: hsl(193, 64%, 95%);
  border-bottom: 1px solid hsl(193, 64%, 53%);
  }
}
 
 
  #p-logo {
/* Search box */
    background-color: hsl(193, 64%, 23%);
#searchInput {
   }
  background-color: hsl(193, 64%, 78%);
 
   border: solid 1px hsl(193, 64%, 38%);
  #footer li {
  outline: none;
    color: hsl(193, 64%, 83%);
   padding: 2px 2px;
    margin: 0.2em !important;
}
   }
 
 
#searchBody input[type="submit"],
  div#footer li a,
#searchBody input[type="submit"] {
  div#footer li a:link,
   background-color: hsl(193, 10%, 93%);
   div#footer li a:active,
   border: solid 1px hsl(193, 10%, 63%);
   div#footer li a:visited {
}
    color: hsl(193, 64%, 83%);
 
  }
#searchBody {
 
  margin-bottom: 1em;
  body {
}
    /* In Chromium, a small rectangle at the bottom end
 
    of the sidebar isn't covered by anything else */
 
    background-color: hsl(193, 64%, 43%);
/*
  }
* Article/Discussion/Edit... tabs
 
*/
  div#globalWrapper {
 
    background-color: hsl(193, 64%, 43%);
/* bugfix: they were overflowing at the bottom side */
  }
li#ca-nstab-main,
 
li#ca-nstab-main ~ li {
  div#footer {
  background: none;
    background-color: hsl(193, 64%, 43%);
}
    border-top: none;
 
    border-bottom: none;
 
  }
/*
 
* Page content box
  /* line break before links in footer */
*/
  div#footer li[id="viewcount"]:after {
 
    content: " ";
.mw-body-primary {
    display: block;
  border: none !important; /* border to header/navbar/footer */
  }
  border-left: 1px solid hsl(193, 64%, 53%) !important;
 
}
  /* Hide banner1 ("There is no fork.") -- wtf?! */
 
   div#p-tb + div.generated-sidebar.portlet {
div#content { /* background of everything below header, incl. sidebar */
    display: none !important;
   background-color: hsl(193, 64%, 43%); /* empty space between header/navbar/footer and content box */
   }
   color:            black; /* main text color */
 
 
   #p-navigation ul li,
   padding-right: 0; /* content box meets right screen border */
  #p-portlet2 ul li,
 
   #p-portlet3 ul li,
   background-image: url("/wiki/images/3/3f/GPN14-Logo-only.png");
   #p-search ul li,
   background-repeat: no-repeat;
  #p-tb ul li,
   background-attachment: scroll;
   #p-fnord ul li {
  background-size: 70% auto;
    border-bottom: 1px solid hsl(193, 64%, 53%);
   background-position: 1em 1em;
   }
}
 
 
   /* Search box */
div#content h1#firstHeading {
  #searchInput {
   background-color: hsla(193, 64%, 93%, 0.94);
    background-color: hsl(193, 64%, 78%);
  border-left: 1px solid hsl(193, 64%, 50%);
    border: solid 1px hsl(193, 64%, 38%);
  border-top: 1px solid hsl(193, 64%, 50%);
    outline: none;
  border-radius: 5px;
    padding: 2px 2px;
 
  }
   /* Bottom joins div#bodyContent*/
 
   border-radius: 5px 0px 0px 0px;
   #searchBody input[type="submit"],
  padding: 0.3em 0.3em 0;
   #searchBody input[type="submit"] {
   margin-bottom: 0;
    background-color: hsl(193, 10%, 93%);
}
    border: solid 1px hsl(193, 10%, 63%);
 
   }
div#bodyContent {
 
   background-color: hsla(193, 64%, 93%, 0.94);
 
   border-left: 1px solid hsl(193, 64%, 50%);
 
 
   /*
   /* Top joins h1#firstHeading */
  * Article/Discussion/Edit... tabs
   margin-top: 0;
  */
   border-radius: 0px 0px 5px 5px;
 
}
   /* bugfix: they were overflowing at the bottom side */
 
   li#ca-nstab-main,
 
   li#ca-nstab-main ~ li {
/*
    background: none;
* Content
   }
*/
 
 
 
div#content h1,
  /*
div#content h2,
  * Page content box
div#content h3,
  */
div#content h4,
 
div#content h5 {
  .mw-body-primary {
  font-family: Loxica,sans-serif;
    border: none !important; /* border to header/navbar/footer */
}
    border-left: 1px solid hsl(193, 64%, 53%) !important;
 
  }
h1#firstHeading {
 
  font-size: 32pt;
  div#content { /* background of everything below header, incl. sidebar */
}
    background-color: hsl(193, 64%, 43%); /* empty space between header/navbar/footer and content box */
 
    color:            black; /* main text color */
/* Table of contents */
 
#toc, .toc, .mw-warning {
    padding-right: 0; /* content box meets right screen border */
  background-color: rgba(255, 255, 255, 0);
    
}
    background-image: url("/wiki/images/3/3f/GPN14-Logo-only.png");
 
    background-repeat: no-repeat;
/* Code blocks */
    background-attachment: scroll;
div#mw-content-text pre {
    background-size: 70% auto;
   background-color: rgba(255, 255, 255, 0.25);
    background-position: 1.1em 1.1em;
}
  }
 
 
/* Thumbnails */
  div#content h1#firstHeading {
html .thumbimage {
    background-color: hsla(193, 64%, 93%, 0.94);
  border: none;
    border-left: 1px solid hsl(193, 64%, 50%);
}
    border-top: 1px solid hsl(193, 64%, 50%);
 
    border-radius: 5px;
/* Linkbox am Artikelende */
 
div.NavHead, .catlinks {
    /* Bottom joins div#bodyContent*/
  background-color: rgba(255, 255, 255, 0);
    border-radius: 5px 0px 0px 0px;
}
    padding: 0.3em 0.3em 0;
 
    margin-bottom: 0;
/* Bullet point lists */
  }
 
 
div#content ul {
  div#bodyContent {
  list-style: none;
    background-color: hsla(193, 64%, 93%, 0.94);
}
     border-left: 1px solid hsl(193, 64%, 50%);
 
 
div#content ul li {
    /* Top joins h1#firstHeading */
  text-indent: -1em;
    margin-top: 0;
}
    border-radius: 0px 0px 5px 5px;
 
  }
div#content ul li:before { /* hack to change color of bullet point */
 
  content: "• ";
 
  color: hsl(193, 64%, 13%);
   /*
}
  * Content
 
  */
 
 
/*
  /* not for h4/h5: too hard to read at a typical h4/h5 size,
* Links
    not for h2/h3: looks bad when h4/h5 isnt in Loxica too
*/
    note: the h4 "von Norden (A5) & Osten (A8)" on GPN14:Anfahrt has to be readable */
 
  h1,h2 {
div#content a,
    font-family: Xolonium-Bold,sans-serif;
div#content a:link,
  }
div#content a:active {
 
  text-decoration: underline;
  h1#firstHeading {
  color:     hsl(193, 64%, 35%);
    font-size: 22pt;
}
    font-family: Xolonium-Bold,sans-serif;
div#content a:visited {
   }
  text-decoration: underline;
 
  color:     hsl(193, 64%, 25%);
  h2 {
}
    font-size: 18pt;
 
  }
div#content a.new {
 
   text-decoration: underline;
  /* Table of contents */
  color:    hsl(0, 55%, 55%);
  #toc, .toc, .mw-warning {
}
    background-color: rgba(255, 255, 255, 0);
 
  }
div#content a:hover {
 
  text-decoration: none;
  /* Code blocks */
}
  div#mw-content-text pre {
div#mw-content-text pre a,
    background-color: rgba(255, 255, 255, 0.25);
div#mw-content-text pre a:link,
    overflow: auto; /* "GPN14: Anfahrt": adress pre would overflow onto floating image. auto => offer scrollbar instead. */
div#mw-content-text pre a:active,
  }
div#mw-content-text pre a:visited {
 
   color:     #101010;
  /* Thumbnails */
}
  html .thumbimage {
 
    border: none;
} /* end -- media screen */
  }
 
  /* Linkbox am Artikelende */
  div.NavHead, .catlinks {
    background-color: rgba(255, 255, 255, 0);
  }
 
  /* Bullet point lists */
 
  div#content ul {
    list-style: none;
  }
 
  div#content ul li {
    text-indent: -1em;
  }
 
  div#content ul li:before { /* hack to change color of bullet point */
    content: "\25fe  ";
    color: hsl(193, 64%, 28%);
  }
 
  li.toclevel-1,
  li.toclevel-2,
  li.toclevel-3,
  li.toclevel-4,
  li.toclevel-5,
  li.toclevel-6,
  div.mw-normal-catlinks li { /* revert these changes for the toc and category link box */
    text-indent: 0 !important;
  }
 
  li.toclevel-1:before,
  li.toclevel-2:before,
  li.toclevel-3:before,
  li.toclevel-4:before,
  li.toclevel-5:before,
  li.toclevel-6:before,
  div.mw-normal-catlinks li:before { /* revert these changes for the toc and category link box */
    content: none !important;
  }
 
 
  /*
  * Links
  */
 
  div#content a,
  div#content a:link,
  div#content a:active {
    text-decoration: underline;
    color:    hsl(193, 64%, 35%);
  }
  div#content a:visited {
    text-decoration: underline;
    color:    hsl(193, 64%, 25%);
  }
 
  div#content a:new {
    text-decoration: underline;
    color:    hsl(0, 55%, 55%);
  }
 
  div#content a:hover {
    text-decoration: none;
  }
  div#mw-content-text pre a,
  div#mw-content-text pre a:link,
  div#mw-content-text pre a:active,
  div#mw-content-text pre a:visited {
    color:    #101010;
  }
 
  /* highlight */
  div#content table.highlight {
    background-color:hsl(193, 10%, 95%);
    border:solid 1px #99B3FF;
    margin:1em; margin-top:2em;
    padding: 0.3em 1em;
    font-size: 150%;
  }
 
  div#content td.highlight {
    padding-right: 1.5em;
  }
 
  /* links to missing pages */
  a.new {
    text-decoration: underline !important;
    color:    hsl(360, 70%, 60%) !important;
  }
 
  /* nicer table colums */
  div#content tr td:nth-child(even){
    background: rgba(255, 255, 255, 0.45);;
  }
 
  /* ueber dem TOC ein Link zur GPN14 Seite - fuer fxkr <3 */
  /*div#Hauptlink{
  position:absolute;
  top: 0px;
  right: 0px;
  direction: rtl;
  width: 100%;
  padding-top: 5px;
  padding-right: 12px;
  }*/
 
  } /* end -- media screen */
[[Kategorie:GPN14]]

Aktuelle Version vom 21. Juli 2017, 18:33 Uhr

 /*
   * GPN14 Stylesheet
   *
   * Ändern hier: https://entropia.de/GPN14:Stylesheet
   * Einbinden über: {{Navigationsleiste GPN14}}
   *
   * Farben: bitte HSL (bzw. HSLA) ggü. RGB bevorzugen!
   *
   * Hintergrund-Cyan:
   *   background-color: rgb(40, 150, 180)
   *   hsl(193, 64%, 43%)
   *
   * Andere, aber passende, Farben lassen sich leicht durch ändern
   * der dritten Komponente erzeugen.
   *
   * Testen: am einfachsten über mitmproxy (siehe git repo).
   */
 
 @font-face {
    font-family: "Loxica";
    src: url("/gulasch/v5loxicar.ttf");
 }
 
 @font-face {
    font-family: "Xolonium-Regular";
    src: url("/gulasch/Xolonium-Regular.otf");
 }
 
 @font-face {
    font-family: "Xolonium-Bold";
    src: url("/gulasch/Xolonium-Bold.otf");
 }
 
 /*
  * Screen only
  */
 @media screen {
 
 
 /*
  * Replace site logo
  *
  * gaaaaaarrrrrr.....!!!!
  */
 
 div#p-logo.portlet a,
 div#p-logo.portlet a:hover {
   background-image: url("/wiki/images/f/f8/GPN14-wikilogo.png") !important;
   display: block;
   height: 110px;
   width: 160px;
 }
 
 div#column-one div a img {
   display: none;
 }
 
 
 /*
  * Header, Sidebar, Footer
  */
 
 #column-one,
 #column-content {
   background-color: hsl(193, 64%, 43%);
 }
 
 .pBody {
   background-color: hsl(193, 64%, 43%);
 }
 
 #p-navigation a, #p-portlet2 a, #p-portlet3 a, #p-search a, #p-tb a, #p-fnord a {
   color: hsl(193, 64%, 95%);
 }
 
 #p-logo {
   background-color: hsl(193, 64%, 23%);
 }
 
 #footer li {
   color: hsl(193, 64%, 83%);
   margin: 0.2em !important;
 }
 
 div#footer li a,
 div#footer li a:link,
 div#footer li a:active,
 div#footer li a:visited {
   color: hsl(193, 64%, 83%);
 }
 
 body {
   /* In Chromium, a small rectangle at the bottom end
   of the sidebar isn't covered by anything else */
   background-color: hsl(193, 64%, 43%);
 }
 
 div#globalWrapper {
   background-color: hsl(193, 64%, 43%);
 }
 
 div#footer {
   background-color: hsl(193, 64%, 43%);
   border-top: none;
   border-bottom: none;
 }
 
 /* line break before links in footer */
 div#footer li[id="viewcount"]:after {
   content: " ";
   display: block;
 }
 
 /* Hide banner1 ("There is no fork.") -- wtf?! */
 div#p-tb + div.generated-sidebar.portlet {
   display: none !important;
 }
 
 #p-navigation ul li,
 #p-portlet2 ul li,
 #p-portlet3 ul li,
 #p-search ul li,
 #p-tb ul li,
 #p-fnord ul li {
   border-bottom: 1px solid hsl(193, 64%, 53%);
 }
 
 /* Search box */
 #searchInput {
   background-color: hsl(193, 64%, 78%);
   border: solid 1px hsl(193, 64%, 38%);
   outline: none;
   padding: 2px 2px;
 }
 
 #searchBody input[type="submit"],
 #searchBody input[type="submit"] {
   background-color: hsl(193, 10%, 93%);
   border: solid 1px hsl(193, 10%, 63%);
 }
 
 
 
 /*
  * Article/Discussion/Edit... tabs
  */
 
 /* bugfix: they were overflowing at the bottom side */
 li#ca-nstab-main,
 li#ca-nstab-main ~ li {
   background: none;
 }
 
 
 /*
  * Page content box
  */
 
 .mw-body-primary {
   border: none !important; /* border to header/navbar/footer */
   border-left: 1px solid hsl(193, 64%, 53%) !important;
 }
 
 div#content { /* background of everything below header, incl. sidebar */
   background-color: hsl(193, 64%, 43%); /* empty space between header/navbar/footer and content box */
   color:            black; /* main text color */
 
   padding-right: 0; /* content box meets right screen border */
 
   background-image: url("/wiki/images/3/3f/GPN14-Logo-only.png");
   background-repeat: no-repeat;
   background-attachment: scroll;
   background-size: 70% auto;
   background-position: 1.1em 1.1em;
 }
 
 div#content h1#firstHeading {
   background-color: hsla(193, 64%, 93%, 0.94);
   border-left: 1px solid hsl(193, 64%, 50%);
   border-top: 1px solid hsl(193, 64%, 50%);
   border-radius: 5px;
 
   /* Bottom joins div#bodyContent*/
   border-radius: 5px 0px 0px 0px;
   padding: 0.3em 0.3em 0;
   margin-bottom: 0;
 }
 
 div#bodyContent {
   background-color: hsla(193, 64%, 93%, 0.94);
   border-left: 1px solid hsl(193, 64%, 50%);
 
   /* Top joins h1#firstHeading */
   margin-top: 0;
   border-radius: 0px 0px 5px 5px;
 }
 
 
 /*
  * Content
  */
 
 /* not for h4/h5: too hard to read at a typical h4/h5 size,
    not for h2/h3: looks bad when h4/h5 isnt in Loxica too
    note: the h4 "von Norden (A5) & Osten (A8)" on GPN14:Anfahrt has to be readable */
 h1,h2 {
   font-family: Xolonium-Bold,sans-serif;
 }
 
 h1#firstHeading {
   font-size: 22pt;
   font-family: Xolonium-Bold,sans-serif;
 }
 
 h2 {
   font-size: 18pt;
 }
 
 /* Table of contents */
 #toc, .toc, .mw-warning {
   background-color: rgba(255, 255, 255, 0);
 }
 
 /* Code blocks */
 div#mw-content-text pre {
   background-color: rgba(255, 255, 255, 0.25);
   overflow: auto; /* "GPN14: Anfahrt": adress pre would overflow onto floating image. auto => offer scrollbar instead. */
 }
 
 /* Thumbnails */
 html .thumbimage {
   border: none;
 }
 
 /* Linkbox am Artikelende */
 div.NavHead, .catlinks {
   background-color: rgba(255, 255, 255, 0);
 }
 
 /* Bullet point lists */
 
 div#content ul {
   list-style: none;
 }
 
 div#content ul li {
   text-indent: -1em;
 }
 
 div#content ul li:before { /* hack to change color of bullet point */
   content: "\25fe  ";
   color: hsl(193, 64%, 28%);
 }
 
 li.toclevel-1,
 li.toclevel-2,
 li.toclevel-3,
 li.toclevel-4,
 li.toclevel-5,
 li.toclevel-6,
 div.mw-normal-catlinks li { /* revert these changes for the toc and category link box */
   text-indent: 0 !important;
 }
 
 li.toclevel-1:before,
 li.toclevel-2:before,
 li.toclevel-3:before,
 li.toclevel-4:before,
 li.toclevel-5:before,
 li.toclevel-6:before,
 div.mw-normal-catlinks li:before { /* revert these changes for the toc and category link box */
   content: none !important;
 }
 
 
 /*
  * Links
  */
 
 div#content a,
 div#content a:link,
 div#content a:active {
   text-decoration: underline;
   color:     hsl(193, 64%, 35%);
 }
 div#content a:visited {
   text-decoration: underline;
   color:     hsl(193, 64%, 25%);
 }
 
 div#content a:new {
   text-decoration: underline;
   color:     hsl(0, 55%, 55%);
 }
 
 div#content a:hover {
   text-decoration: none;
 }
 div#mw-content-text pre a,
 div#mw-content-text pre a:link,
 div#mw-content-text pre a:active,
 div#mw-content-text pre a:visited {
   color:     #101010;
 }
 
 /* highlight */
 div#content table.highlight {
   background-color:hsl(193, 10%, 95%);
   border:solid 1px #99B3FF;
   margin:1em; margin-top:2em;
   padding: 0.3em 1em;
   font-size: 150%;
 }
 
 div#content td.highlight {
   padding-right: 1.5em;
 }
 
 /* links to missing pages */
 a.new {
   text-decoration: underline !important;
   color:     hsl(360, 70%, 60%) !important;
 }
 
 /* nicer table colums */
 div#content tr td:nth-child(even){
   background: rgba(255, 255, 255, 0.45);;
 }
 
 /* ueber dem TOC ein Link zur GPN14 Seite - fuer fxkr <3 */
 /*div#Hauptlink{
  position:absolute;
  top: 0px;
  right: 0px;
  direction: rtl;
  width: 100%;
  padding-top: 5px;
  padding-right: 12px;
 }*/
 
 } /* end -- media screen */