Difference between revisions of "Template:Cologne-Duesseldorf/css"

Line 62: Line 62:
 
@media (min-width: 1024px) {
 
@media (min-width: 1024px) {
 
   #bodyContent article{
 
   #bodyContent article{
     width: 75%;
+
     width: 85%;
 +
    margin: 0;
 +
    padding: 8% 5%;
 
   }
 
   }
 
}
 
}
 +
 +
#ToC {
 +
  display:none;
 +
  position:fixed;
 +
  top: 125px;
 +
  left: 85%
 +
  right: 0;
 +
  padding: 20px;
 +
}
 +
 +
@media (min-width: 1024px){#ToC{display:block;}}
 +
 +
 +
#ToC a {display:block;position:relative;justify-content: left;}
 +
#ToC a[title=H1] { font-size:18px;}
 +
#ToC a[title=H2] { font-size:14px;}
 +
#ToC a[title=H3] { font-size:12px;}
  
 
#bodyContent article p {
 
#bodyContent article p {
Line 817: Line 836:
 
}
 
}
  
#ToC {
+
 
  width:200px;
+
  position:fixed;
+
  top: 125px;
+
  right: 20px;
+
  background:transparent url(bkg.png) right;
+
  height:100%;
+
}
+
#ToC a {display:block;position:relative;}
+
#ToC a[title=H1] { font-size:18px;}
+
#ToC a[title=H2] { font-size:14px;}
+
#ToC a[title=H3] { font-size:12px;}
+
  
  

Revision as of 16:09, 29 October 2017