Difference between revisions of "Template:HSNU-TAIPEI/main"

Line 482: Line 482:
 
.side-nav {
 
.side-nav {
 
     display: none;
 
     display: none;
 +
}
 +
 +
.three-img,
 +
.double-img {
 +
  min-height: 1px;
 +
  margin: 10px auto;
 +
  padding: 0;
 +
  width: 80%;
 +
  display: -webkit-box;
 +
  display: -webkit-flex;
 +
  display: -ms-flexbox;
 +
  display: flex;
 +
  -webkit-justify-content: space-around;
 +
      -ms-flex-pack: distribute;
 +
          justify-content: space-around;
 +
  -webkit-flex-flow: row wrap;
 +
      -ms-flex-flow: row wrap;
 +
          flex-flow: row wrap;
 +
}
 +
.img-figure {
 +
  background: #f7f7f7;
 +
  margin: 0;
 +
  padding: 0;
 +
  border: 1px solid #000;
 +
}
 +
.img-figure img {
 +
  width: 100%;
 +
}
 +
.img-figure p {
 +
  text-align: center;
 +
}
 +
.three-img .img-figure {
 +
  width: 33.3333%;
 +
}
 +
 +
.double-img .img-figure {
 +
  width: 50%;
 
}
 
}
  

Revision as of 09:18, 17 September 2015