Difference between revisions of "Template:Tokyo Tech"

Line 13: Line 13:
 
         margin: 0px;
 
         margin: 0px;
 
         padding: 0;
 
         padding: 0;
     /*background-image: url("https://static.igem.org/mediawiki/2016/8/83/Tokyo_Tech_Background.png");
+
     background-image: url("https://static.igem.org/mediawiki/2016/8/83/Tokyo_Tech_Background.png");
 
     background-repeat: no-repeat;
 
     background-repeat: no-repeat;
 
     background-position: center center;
 
     background-position: center center;
 
     background-size: cover;
 
     background-size: cover;
     background-attachment: fixed;*/
+
     background-attachment: fixed;
 
}
 
}
 
#globalWrapper, #content{
 
#globalWrapper, #content{
Line 297: Line 297:
 
*/
 
*/
  
 
+
background-image: url(https://static.igem.org/mediawiki/2016/8/83/Tokyo_Tech_Background.png);
 +
 
 +
  /* 画像を常に天地左右の中央に配置 */
 +
  background-position: center center;
 +
 
 +
  /* 画像をタイル状に繰り返し表示しない */
 +
  background-repeat: no-repeat;
 +
 
 +
  /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
 +
  background-attachment: fixed;
 +
 
 +
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
 +
  background-size: cover;
 +
 
 +
  /* 背景画像が読み込まれる前に表示される背景のカラー */
 +
  background-color: #464646;
 +
}
  
 
--></style>
 
--></style>

Revision as of 02:59, 20 October 2016