Difference between revisions of "Template:TokyoTech/css/main"

Line 234: Line 234:
 
   width: 800px;
 
   width: 800px;
 
   height: 500px;
 
   height: 500px;
   float: left;
+
   float: center;
 
   position: relative;
 
   position: relative;
 
}
 
}
Line 264: Line 264:
  
 
.photo-show {  
 
.photo-show {  
     width: 90%;
+
     margin: 30px auto; /*縦余白30pxは任意*/
 +
    max-width: 90%;
 
     position: relative;
 
     position: relative;
 
}
 
}
Line 271: Line 272:
 
     animation: show 16s infinite;
 
     animation: show 16s infinite;
 
     -webkit-animation: show 16s infinite;
 
     -webkit-animation: show 16s infinite;
     border-radius: 70%;
+
     border-radius: 50%;
 
     height: auto;
 
     height: auto;
     width: 90%;
+
     max-width: 100%;
 
     opacity: 0;
 
     opacity: 0;
 
     position: absolute; /*画像を全て重ねる*/
 
     position: absolute; /*画像を全て重ねる*/

Revision as of 18:12, 31 October 2017