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

Line 903: Line 903:
 
   ************************************************************************/
 
   ************************************************************************/
 
   #bodyContent button.accordion {
 
   #bodyContent button.accordion {
    font-family: 'Quicksand', sans-serif;
+
  display:flex;
    font-size: 1.250rem;
+
  flex-direction:column;
    text-transform:uppercase;
+
  align-items:center;
    letter-spacing: 7px;
+
  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;
    text-align: center;
+
  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 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.active,
 
   #bodyContent button.accordion:hover {
 
   #bodyContent button.accordion:hover {
 
     background-color: rgba(20, 147, 117, 0.7);
 
     background-color: rgba(20, 147, 117, 0.7);
  }
 
  #bodyContent button.accordion:after {
 
    content: '\002B';
 
    color: #149375;
 
    float: right;
 
    margin-left: 5px;
 
  }
 
  #bodyContent button.accordion.active:after {
 
    content: "\2212";
 
 
   }
 
   }
  

Revision as of 23:06, 31 October 2017