Template:Team:BGU Israel/style.css
From 2014.igem.org
(Difference between revisions)
Line 1,822: | Line 1,822: | ||
content: "\f196"; | content: "\f196"; | ||
} | } | ||
+ | /*gallery*/ | ||
+ | |||
+ | /* | ||
+ | Container for the gallery: | ||
+ | |||
+ | Absolutely positioned | ||
+ | Stretch to fill the whole window width | ||
+ | Fixed height | ||
+ | Hide the overflow to prevent horizontal scrollbars | ||
+ | |||
+ | Vertically centred in the viewport: http://css-discuss.incutio.com/wiki/Centering_Block_Element#Centering_an_absolutely_positioned_element | ||
+ | */ | ||
+ | |||
+ | #galleryContainer { | ||
+ | width: 100%; | ||
+ | height: 500px; /* Image height + 200px */ | ||
+ | overflow: hidden; | ||
+ | position: relative; | ||
+ | top: -40px; | ||
+ | bottom: 0; | ||
+ | margin-top: auto; | ||
+ | margin-bottom: auto; | ||
+ | z-index: 1; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* | ||
+ | The gallery div that contains all the images | ||
+ | |||
+ | We'll set the width dynamically in the JavaScript as the images load | ||
+ | */ | ||
+ | |||
+ | #gallery { | ||
+ | width: 100px; | ||
+ | height: 400px; /* Image height + 100px */ | ||
+ | padding: 50px 0; | ||
+ | position: relative; | ||
+ | z-index: 1; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* | ||
+ | Individual slides within the gallery: | ||
+ | |||
+ | Float them left so that they're all side by side | ||
+ | Fixed height (the width will vary as required) | ||
+ | Add some horizontal margin between the slides | ||
+ | Add a bottom fading reflection for WebKit browsers | ||
+ | */ | ||
+ | |||
+ | #gallery img { | ||
+ | float: left; | ||
+ | height: 300px; | ||
+ | margin: 0 20px; /* Adjust the left/right margin to show greater or fewer slides at once */ | ||
+ | -webkit-box-reflect: | ||
+ | below | ||
+ | 0 | ||
+ | -webkit-gradient( | ||
+ | linear, | ||
+ | left top, | ||
+ | left bottom, | ||
+ | color-stop(1, rgba(255, 255, 255, .5)), | ||
+ | color-stop(.8, rgba(255, 255, 255, 0)) | ||
+ | ); | ||
+ | } | ||
+ | |||
+ | |||
+ | /* | ||
+ | Left and right buttons: | ||
+ | |||
+ | Position them on the left and right sides of the gallery | ||
+ | Stretch them to the height of the gallery | ||
+ | Hide them by default | ||
+ | */ | ||
+ | |||
+ | #leftButton, #rightButton { | ||
+ | position: absolute; | ||
+ | z-index: 2; | ||
+ | top: -100px; | ||
+ | bottom: 0; | ||
+ | padding: 0; | ||
+ | margin: auto 0; | ||
+ | width: 15%; | ||
+ | height: 300px; /* Image height */ | ||
+ | border: none; | ||
+ | outline: none; | ||
+ | color: #000; | ||
+ | background: transparent url(images/blank.gif); | ||
+ | font-size: 100px; | ||
+ | font-family: "Courier New", courier, fixed; | ||
+ | opacity: 0.6; | ||
+ | filter: alpha(opacity=0); | ||
+ | -webkit-transition: opacity .5s; | ||
+ | -moz-transition: opacity .5s; | ||
+ | -o-transition: opacity .5s; | ||
+ | transition: opacity .5s; | ||
+ | } | ||
+ | |||
+ | #leftButton { | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | #rightButton { | ||
+ | right: 0; | ||
+ | } | ||
+ | |||
+ | /* (Turn off dotted black outline on FF3) */ | ||
+ | |||
+ | #leftButton::-moz-focus-inner, #rightButton::-moz-focus-inner { | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | Left and right button hover states: | ||
+ | Fade them in to 50% opacity | ||
+ | */ | ||
+ | |||
+ | #leftButton:hover, #rightButton:hover { | ||
+ | opacity: 1; | ||
+ | filter: alpha(opacity=50); | ||
+ | outline: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* | ||
+ | Image caption: | ||
+ | |||
+ | Position just under the centre image | ||
+ | Hide by default | ||
+ | */ | ||
+ | |||
+ | #caption { | ||
+ | position: relative; | ||
+ | z-index: 2; | ||
+ | bottom: 130px; | ||
+ | width: 100%; | ||
+ | color: #000; | ||
+ | text-align: center; | ||
+ | font-family: "aladin", serif; | ||
+ | font-size: 24px; | ||
+ | letter-spacing: .1em; | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* | ||
+ | Loading text: | ||
+ | |||
+ | Position in the centre of the gallery container | ||
+ | Hide by default | ||
+ | */ | ||
+ | |||
+ | #loading { | ||
+ | position: relative; | ||
+ | z-index: 1; | ||
+ | bottom: 50%; | ||
+ | width: 100%; | ||
+ | color: #ffc; | ||
+ | text-align: center; | ||
+ | font-family: "Georgia", serif; | ||
+ | font-size: 36px; | ||
+ | letter-spacing: .1em; | ||
+ | opacity: 0; | ||
+ | filter: alpha(opacity=0); | ||
+ | } | ||
+ | |||
/*style*/ | /*style*/ | ||
- | |||
- | |||
@import url(//fonts.googleapis.com/css?family=Dosis:400); | @import url(//fonts.googleapis.com/css?family=Dosis:400); | ||
Line 1,844: | Line 2,008: | ||
body { | body { | ||
position: relative; | position: relative; | ||
- | |||
font: 14px/20px 'Open Sans', sans-serif; | font: 14px/20px 'Open Sans', sans-serif; | ||
width: 80%; | width: 80%; | ||
- | background-color: # | + | background-color: #FFFFFF; |
margin: auto; | margin: auto; | ||
+ | min-width: 1079px; | ||
+ | max-width: 1079px; | ||
Line 1,906: | Line 2,071: | ||
padding-top: 0px; | padding-top: 0px; | ||
margin-bottom: 0px; | margin-bottom: 0px; | ||
+ | margin-top: 0px; | ||
font-family: aladin; | font-family: aladin; | ||
font-style: normal; | font-style: normal; | ||
Line 2,217: | Line 2,383: | ||
margin-bottom: 0px; | margin-bottom: 0px; | ||
display: inline-block; | display: inline-block; | ||
- | background: url( | + | background: url(../images/down.png) 0 0 no-repeat; |
width: 82px; | width: 82px; | ||
height: 82px; | height: 82px; | ||
Line 2,228: | Line 2,394: | ||
background-position: right 0; | background-position: right 0; | ||
} | } | ||
+ | .right { | ||
+ | margin-bottom: 0px; | ||
+ | display: inline-block; | ||
+ | background: url(../images/right.png) 0 0 no-repeat; | ||
+ | width: 35px; | ||
+ | height: 35px; | ||
+ | float:right; | ||
+ | transition: 0s ease; | ||
+ | -o-transition: 0s ease; | ||
+ | -webkit-transition: 0s ease; | ||
+ | background-position: 0 bottom; | ||
+ | } | ||
+ | |||
+ | .right:hover { | ||
+ | background-position: 0 top; | ||
+ | } | ||
+ | |||
.f_logo { | .f_logo { | ||
Line 2,273: | Line 2,456: | ||
height: 50px; | height: 50px; | ||
position: fixed; | position: fixed; | ||
- | width: | + | width: 1141px; |
z-index: 99999; | z-index: 99999; | ||
left: 50%; | left: 50%; | ||
Line 2,281: | Line 2,464: | ||
nav ul { | nav ul { | ||
font-family: 'aladin', sans-serif; | font-family: 'aladin', sans-serif; | ||
- | font-size: | + | font-size: 1.375em; |
list-style: none; | list-style: none; | ||
Line 2,287: | Line 2,470: | ||
nav ul li { | nav ul li { | ||
- | |||
position: relative; | position: relative; | ||
float: left; | float: left; | ||
- | |||
Line 2,301: | Line 2,482: | ||
nav ul li a { | nav ul li a { | ||
- | |||
- | |||
padding: 7px 15px 7px 15px; | padding: 7px 15px 7px 15px; | ||
background: #b4dee1; | background: #b4dee1; | ||
color: #474343; | color: #474343; | ||
margin-left: 1px; | margin-left: 1px; | ||
- | |||
height:30px; /* Width and height of top-level nav items */ | height:30px; /* Width and height of top-level nav items */ | ||
- | |||
text-align:center; | text-align:center; | ||
display:table-cell; | display:table-cell; | ||
Line 2,320: | Line 2,497: | ||
nav li:hover ul { | nav li:hover ul { | ||
- | |||
float: left; | float: left; | ||
position: absolute; | position: absolute; | ||
height: 30px; | height: 30px; | ||
left: 0px; | left: 0px; | ||
+ | width: 101px; | ||
+ | display: block; | ||
} | } | ||
Line 2,330: | Line 2,508: | ||
font-size: 18px; | font-size: 18px; | ||
position: relative; | position: relative; | ||
- | float:left | + | float: left; |
- | + | ||
} | } | ||
Line 2,357: | Line 2,534: | ||
/* END NAV MENU */ | /* END NAV MENU */ | ||
- | #top_doctor { | + | header div #top_doctor { |
height: 30%; | height: 30%; | ||
position: fixed; | position: fixed; | ||
Line 2,363: | Line 2,540: | ||
bottom: 0px; | bottom: 0px; | ||
} | } | ||
- | #top_doctor:hover { | + | header div #top_doctor:hover { |
} | } | ||
- | #main_nav #rib { | + | header #main_nav #rib { |
width: 100%; | width: 100%; | ||
} | } | ||
Line 2,389: | Line 2,566: | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
- | #main_nav #menu_ul { | + | header #main_nav #menu_ul { |
position: absolute; | position: absolute; | ||
top: 4px; | top: 4px; | ||
- | right: | + | width: 73%; |
+ | white-space: nowrap; | ||
+ | right: 1%; | ||
} | } | ||
- | #main_nav #main_wrap { | + | header #main_nav #main_wrap { |
position: relative; | position: relative; | ||
left: -50%; | left: -50%; | ||
+ | white-space: no-wrap; | ||
} | } | ||
#test_wrap{ | #test_wrap{ | ||
Line 2,425: | Line 2,605: | ||
text-align: center; | text-align: center; | ||
+ | } | ||
+ | .col2 | ||
+ | { | ||
+ | color: #000; | ||
+ | margin-left: 8px; | ||
+ | margin-right: 8px; | ||
+ | |||
+ | float: left; | ||
+ | width: 500px; | ||
+ | |||
+ | } | ||
+ | .col3 | ||
+ | { | ||
+ | color: #000; | ||
+ | margin-right: 26px; | ||
+ | float: left; | ||
+ | width: 320px; | ||
+ | border-radius: 8px; | ||
+ | background-color: #EFF5F8; | ||
+ | padding-top: 11px; | ||
+ | padding-right: 11px; | ||
+ | padding-bottom: 11px; | ||
+ | padding-left: 11px; | ||
+ | margin-bottom: 12px; | ||
+ | font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif; | ||
+ | font-style: normal; | ||
+ | font-weight: 400; | ||
+ | font-size: 14pt; | ||
+ | text-align: justify; | ||
+ | white-space: normal; | ||
+ | } | ||
+ | .textCont | ||
+ | { | ||
+ | border-radius: 8px; | ||
+ | background-color: #EFF5F8; | ||
+ | padding-top: 11px; | ||
+ | padding-right: 11px; | ||
+ | padding-bottom: 11px; | ||
+ | padding-left: 11px; | ||
+ | margin-bottom: 12px; | ||
+ | font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif; | ||
+ | font-style: normal; | ||
+ | font-weight: 400; | ||
+ | font-size: 14pt; | ||
+ | text-align: justify; | ||
+ | white-space: normal; | ||
+ | } | ||
+ | .modalDialog { | ||
+ | position: fixed; | ||
+ | font-family: Arial, Helvetica, sans-serif; | ||
+ | top: 0; | ||
+ | right: 0; | ||
+ | bottom: 0; | ||
+ | left: 0; | ||
+ | background: rgba(0,0,0,0.8); | ||
+ | z-index: 99999; | ||
+ | opacity:0; | ||
+ | -webkit-transition: opacity 400ms ease-in; | ||
+ | -moz-transition: opacity 400ms ease-in; | ||
+ | transition: opacity 400ms ease-in; | ||
+ | pointer-events: none; | ||
+ | } | ||
+ | .modalDialog:target { | ||
+ | opacity:1; | ||
+ | pointer-events: auto; | ||
+ | } | ||
+ | |||
+ | .modalDialog > div { | ||
+ | width: 1000px; | ||
+ | height:600px; | ||
+ | position: relative; | ||
+ | margin: 20px auto 0 auto; | ||
+ | padding: 5px 20px 13px 20px; | ||
+ | border-radius: 10px; | ||
+ | background: #fff; | ||
+ | /* background: -moz-linear-gradient(#fff, #999); | ||
+ | background: -webkit-linear-gradient(#fff, #999); | ||
+ | background: -o-linear-gradient(#fff, #999);*/ | ||
+ | } | ||
+ | .close { | ||
+ | background: #606061; | ||
+ | color: #FFFFFF; | ||
+ | line-height: 25px; | ||
+ | position: absolute; | ||
+ | right: -12px; | ||
+ | text-align: center; | ||
+ | top: -10px; | ||
+ | width: 24px; | ||
+ | text-decoration: none; | ||
+ | font-weight: bold; | ||
+ | -webkit-border-radius: 12px; | ||
+ | -moz-border-radius: 12px; | ||
+ | border-radius: 12px; | ||
+ | -moz-box-shadow: 1px 1px 3px #000; | ||
+ | -webkit-box-shadow: 1px 1px 3px #000; | ||
+ | box-shadow: 1px 1px 3px #000; | ||
+ | } | ||
+ | |||
+ | .close:hover { background: #00d9ff; } | ||
+ | ul.check { | ||
+ | list-style-type: none; | ||
+ | padding: 0px; | ||
+ | margin: 0px; | ||
+ | } | ||
+ | |||
+ | ul.check li { | ||
+ | background-image: url(../images/check.png); | ||
+ | background-repeat: no-repeat; | ||
+ | background-size:20px; | ||
+ | background-position: 0px 0px; | ||
+ | padding-left: 14px; | ||
+ | } | ||
+ | .team-member { | ||
+ | position: relative; | ||
+ | border 1px solid #a8a8a8; | ||
+ | color: #000000; | ||
+ | height: 190px; | ||
+ | width: 400px; | ||
+ | |||
+ | } | ||
+ | |||
+ | .team-member img { | ||
+ | position: absolute; | ||
+ | top: 10px; | ||
+ | left: 10px; | ||
+ | width: 124px; | ||
+ | height: 126px; | ||
+ | } | ||
+ | |||
+ | .team-member h16 { | ||
+ | position:absolute; | ||
+ | font-weight:bold; | ||
+ | top: 15px; | ||
+ | left:150px; | ||
+ | font-size:18px; | ||
+ | color: #294360; | ||
+ | } | ||
+ | |||
+ | .team-member b { | ||
+ | font-size:12px; | ||
+ | color: #294360; | ||
+ | } | ||
+ | |||
+ | .team-member h17 { | ||
+ | position: absolute; | ||
+ | top: 45px; | ||
+ | left: 145px; | ||
+ | font-size: 14px; | ||
+ | color: #000000; | ||
+ | bottom: 2097251px; | ||
+ | width: 275px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | .team-content { | ||
+ | color:#19293C; | ||
+ | |||
+ | } | ||
+ | .team-content h6 { | ||
+ | color:#19293C; | ||
+ | } | ||
+ | |||
+ | .col4 | ||
+ | { | ||
+ | |||
+ | display:none; | ||
+ | border:groove #000000; | ||
+ | color: #000; | ||
+ | float: left; | ||
+ | width: 320px; | ||
+ | border-radius: 8px; | ||
+ | background-color: #EFF5F8; | ||
+ | padding-top: 6px; | ||
+ | padding-right: 6px; | ||
+ | padding-bottom: 6px; | ||
+ | padding-left: 6px; | ||
+ | margin-bottom: 9px; | ||
+ | font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif; | ||
+ | font-style: normal; | ||
+ | font-size: 12px; | ||
+ | line-height: 16px; | ||
+ | text-align: justify; | ||
+ | white-space: normal; | ||
+ | position:fixed; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 17:33, 12 October 2014