(12 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
div.background { | div.background { | ||
− | background-color: | + | background-color: none; |
background-size: cover; | background-size: cover; | ||
width: 100%; | width: 100%; | ||
height: 100% | height: 100% | ||
position: center; | position: center; | ||
+ | } | ||
+ | |||
+ | div.WholePage { | ||
+ | margin: 0 auto; | ||
+ | align-items: center; | ||
+ | } | ||
+ | |||
+ | div.maintext { | ||
+ | width: 90%; | ||
+ | height: 500px; | ||
+ | position: center bottom; | ||
+ | background-color: white; | ||
+ | background-position: fixed; | ||
+ | |||
+ | |||
} | } | ||
body { | body { | ||
− | background: url("https://static.igem.org/mediawiki/2017/f/f3/US_AFRL_CarrollHS_Gears_Background_HomePage.png") | + | background: url("https://static.igem.org/mediawiki/2017/f/f3/US_AFRL_CarrollHS_Gears_Background_HomePage.png"); |
+ | background-position: relative; | ||
background-size: cover; | background-size: cover; | ||
− | width: | + | width: 70%; |
position: center; | position: center; | ||
} | } | ||
</style> | </style> | ||
− | |||
</html> | </html> |
Latest revision as of 17:37, 11 July 2017