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

Line 903: Line 903:
 
   ************************************************************************/
 
   ************************************************************************/
 
   #bodyContent button.accordion {
 
   #bodyContent button.accordion {
  display:flex;
+
      display:flex;
  flex-direction:column;
+
      flex-direction:column;
  align-items:center;
+
      align-items:center;
  font-family: 'Quicksand', sans-serif;
+
      font-family: 'Quicksand', sans-serif;
  margin: 3px;
+
      margin: 3px;
  border-radius: 10px;
+
      border-radius: 10px;
  background-color: rgba(20, 147, 117, 0.125);
+
      background-color: rgba(20, 147, 117, 0.125);
  cursor: pointer;
+
      cursor: pointer;
  padding: 18px;
+
      padding: 18px;
  width: 100%;
+
      width: 100%;
  border: none;
+
      border: none;
  outline: none;
+
      outline: none;
  -webkit-transition: all 0.5s ease;
+
      -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
+
      -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
+
      transition: all 0.5s ease;
}
+
    }
#bodyContent button.accordion h2{
+
   #bodyContent button.accordion h4{
   font-size: 1.250rem;
+
      font-size: 1.250rem;
  text-transform:uppercase;
+
      text-transform:uppercase;
  letter-spacing: 7px;
+
      letter-spacing: 7px;
}
+
   }
#bodyContent button.accordion h3{
+
  font-size: 1.250rem;
+
  text-transform:uppercase;
+
  letter-spacing: 7px;
+
}
+
#bodyContent button.accordion h4{
+
   font-size: 1.250rem;
+
  text-transform:uppercase;
+
  letter-spacing: 7px;
+
}
+
#bodyContent button.accordion span{
+
color:black;
+
font-size:1rem;
+
font-weight:bold;
+
margin-top:10px;
+
width:100%;
+
text-align:center;
+
background-color:white;
+
border-radius: 10px;
+
}
+
  
  #bodyContent button.accordion.active,
+
   #bodyContent button.accordion:after{
   #bodyContent button.accordion:hover {
+
    content:"\25BE";
     background-color: rgba(20, 147, 117, 0.7);
+
    font-size:2rem;
 +
    font-weight:bold;
 +
    margin-top:10px;
 +
    width:100%;
 +
    text-align:center;
 +
     background-color:white;
 +
    border-radius: 10px;
 
   }
 
   }
 +
 +
    #bodyContent button.accordion.active,
 +
    #bodyContent button.accordion:hover {
 +
      background-color: rgba(20, 147, 117, 0.7);
 +
    }
  
  

Revision as of 23:25, 31 October 2017