Difference between revisions of "Template:ETH Zurich/parts css"

(TIdy; remove styling of summaries; fix bad CSS.)
Line 1: Line 1:
 
h1.headline {
 
h1.headline {
                  font-size: 40px;
+
    font-size: 40px;
                  color: #161411
+
    color: #161411;
 
}
 
}
  
 
figure.biobrick {
 
figure.biobrick {
      width: 250px;
+
    width: 250px;
      margin: auto;
+
    margin: auto;
      padding: 40px;
+
    padding: 40px;
 
}
 
}
 
  
 
section.overview {
 
section.overview {
                  padding-bottom: 20px;
+
    padding-bottom: 20px;
 
}
 
}
  
 
section {
 
section {
                  padding-bottom: 20px;
+
    padding-bottom: 20px;
 
}
 
}
  
 
section p {
 
section p {
                  font-size: 21px;
+
    font-size: 21px;
                  line-height: 30px;
+
    line-height: 30px;
 
}
 
}
  
 
section h1 {
 
section h1 {
      font-size: 38px;
+
    font-size: 38px;
      color: #161411
+
    color: #161411;
 
}
 
}
  
 
table {
 
table {
      padding: 10px;
+
    padding: 10px;
 
}
 
}
  
 
td, th {
 
td, th {
      font-weight: normal;
+
    font-weight: normal;
      text-align: left;
+
    text-align: left;
      padding: 8px;
+
    padding: 8px;
      font-size: 14px;
+
    font-size: 14px;
 
}
 
}
  
 
th {
 
th {
    font-weight: bold;
+
    font-weight: bold;
    font-size: 16px;
+
    font-size: 16px;
    border: 1 px #f8f8f8;  
+
    border: 1px #f8f8f8;  
 
}
 
}
 
 
details {
 
  background-color: white;
 
  display: block;
 
  height: 100%;
 
  margin: 1%;
 
  overflow: auto;
 
}
 
summary {
 
  background-color: #d9d9d9;
 
  color: black;
 
  cursor: pointer;
 
  padding: 1%;
 
}
 
details[open] summary {
 
  background-color: #d9d9d9;
 
}
 
 
details.opensummary {
 
  background-color: lavender;
 
  padding: 1%;
 
}
 
 
  
 
section.design p {
 
section.design p {
Line 74: Line 49:
 
}
 
}
  
 
+
figure.A {
figure {
+
 
     width: 500px;
 
     width: 500px;
 
     margin: auto;
 
     margin: auto;
 
     padding: 20px;
 
     padding: 20px;
 
}
 
}
 
  
 
figure.B {
 
figure.B {
Line 94: Line 67:
 
}
 
}
  
 
+
table td:nth-child(2) {
<!--table td:nth-child(2) {
+
    /* width: x px; */
      width: x px;
+
 
}
 
}
-->
 

Revision as of 00:45, 28 October 2017

h1.headline {

   font-size: 40px;
   color: #161411;

}

figure.biobrick {

   width: 250px;
   margin: auto;
   padding: 40px;

}

section.overview {

   padding-bottom: 20px;

}

section {

   padding-bottom: 20px;

}

section p {

   font-size: 21px;
   line-height: 30px;

}

section h1 {

   font-size: 38px;
   color: #161411;

}

table {

   padding: 10px;

}

td, th {

   font-weight: normal;
   text-align: left;
   padding: 8px;
   font-size: 14px;

}

th {

   font-weight: bold;
   font-size: 16px;
   border: 1px #f8f8f8; 

}

section.design p {

   font-size: 16px;

}

figure.A {

   width: 500px;
   margin: auto;
   padding: 20px;

}

figure.B {

   width: 680px;
   margin: auto;
   padding: 20px;

}

figure.C {

   width: 580px;
   margin: auto;
   padding: 20px;

}

table td:nth-child(2) {

   /* width: x px; */

}