Template:Team:Uppsala/styles
From 2013.igem.org
(Difference between revisions)
Line 222: | Line 222: | ||
/* Grid pictures styling ends */ | /* Grid pictures styling ends */ | ||
+ | #igem_logo { | ||
+ | width: 500px; | ||
+ | padding: 10px; | ||
+ | padding-top: 30px; | ||
+ | float: right; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | #logo { | ||
+ | width: 300px; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | #n_container { | ||
+ | padding-top: 1px; | ||
+ | height::100px; | ||
+ | width:950px; | ||
+ | clear:both; | ||
+ | } | ||
+ | |||
+ | #button_1 { | ||
+ | position: relative;left:15px;top:-15px; | ||
+ | float:left; | ||
+ | } | ||
+ | |||
+ | #navbar { | ||
+ | background-color: #22409a; | ||
+ | margin-top: 60px; | ||
+ | width: 94%; | ||
+ | margin-left: 6%; | ||
+ | height: 55px; | ||
+ | vertical-align: middle; | ||
+ | text-align: center | ||
+ | } | ||
+ | |||
+ | |||
+ | .sublogo { | ||
+ | |||
+ | width: 150px; | ||
+ | margin-left: 475px; | ||
+ | |||
+ | } | ||
+ | |||
+ | .logo { | ||
+ | padding-top: 40px; | ||
+ | width: 200px; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | |||
+ | .navbar-text { | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | /* NAVBAR code begins */ | ||
+ | |||
+ | .nav { | ||
+ | margin-right:auto; | ||
+ | margin-left:80px; | ||
+ | padding:10px; | ||
+ | /* | ||
+ | border-top-right-radius: 50px; | ||
+ | border-top-left-radius: 50px; | ||
+ | border-bottom-right-radius: 50px; | ||
+ | border-bottom-left-radius: 50px; | ||
+ | */ | ||
+ | border:solid 3px; | ||
+ | height:29px; | ||
+ | width:900px; | ||
+ | /*position:absolute;top:100px;left:100px;*/ | ||
+ | border:hidden; | ||
+ | |||
+ | } | ||
+ | |||
+ | #h { | ||
+ | border:solid 3px; | ||
+ | height:30px; | ||
+ | width:100px; | ||
+ | } | ||
+ | |||
+ | .nav ul { | ||
+ | list-style:none; margin:0px; padding:0px; | ||
+ | |||
+ | } | ||
+ | .nav li { | ||
+ | float:left;width:100px;background-color:#22409a;text-align:center;position:relative;height:30px; | ||
+ | |||
+ | } | ||
+ | .nav li ul li { | ||
+ | float:none;width:100px;text-align:left;padding-left:5px; border:solid 1px;border-color:black; background-color:#6EC4FF;height:30px; | ||
+ | } | ||
+ | .nav a { | ||
+ | text-decoration:none;color:black; | ||
+ | |||
+ | } | ||
+ | .nav li ul { | ||
+ | position:absolute;top:30px;left:0px;visibility:hidden; | ||
+ | } | ||
+ | .nav li:hover { | ||
+ | background-color:#1883FF; | ||
+ | /*text-decoration:underline;color:#333;*/ | ||
+ | font-size:18px; | ||
+ | } | ||
+ | .nav li:hover ul { | ||
+ | visibility:visible; | ||
+ | } | ||
+ | .content { | ||
+ | clear:both; | ||
+ | } | ||
+ | /*.nav{ | ||
+ | position:absolute;top:267px;left:260px; | ||
+ | }*/ | ||
+ | |||
+ | /*Problem med footer se till att fixa, den vägrar visa sig*/ | ||
+ | |||
+ | /* | ||
+ | #main_content { | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | border:solid 1px; | ||
+ | height:1200px; | ||
+ | width:1100px; /* -----> ändrade bredden på main content från 900px till 1100px | ||
+ | så den passar in med main frame. vet ej vad som ser | ||
+ | bäst ut */ | ||
+ | /* background-color: #efefef; | ||
+ | margin-top: 10px; | ||
+ | } | ||
+ | |||
+ | ----->NAVBAR code ends<----- | ||
+ | */ | ||
+ | |||
+ | |||
+ | .igem_logo { | ||
+ | width: 400px; | ||
+ | |||
+ | float: right; | ||
+ | } | ||
+ | |||
+ | #a { width: 90px; height:35px; | ||
+ | |||
+ | } | ||
+ | |||
+ | #b { | ||
+ | width: 100px; height:35px; | ||
+ | } | ||
+ | |||
+ | #part { | ||
+ | width: 90px; height:35px; | ||
+ | } | ||
+ | |||
+ | .team { | ||
+ | width: 90px; height:35px; background-color:#6EC4FF | ||
+ | |||
+ | } | ||
+ | |||
+ | #hp { height:35px; | ||
+ | |||
+ | } | ||
+ | |||
+ | #att { | ||
+ | width: 140px; height:35px; | ||
+ | } | ||
+ | |||
+ | #note { | ||
+ | width: 130px; height:35px; | ||
+ | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 22:25, 8 August 2013