Team:Tokyo Tech/style2.css
From 2014.igem.org
Line 719: | Line 719: | ||
max-width: 495px; | max-width: 495px; | ||
height: 370px; | height: 370px; | ||
- | margin: | + | margin: 5em auto .5em auto; |
} | } | ||
.css-slideshow figure{ | .css-slideshow figure{ | ||
margin: 0; | margin: 0; | ||
- | max-width: | + | max-width: 495px; |
- | height: | + | height: 370px; |
background: #000; | background: #000; | ||
position: absolute; | position: absolute; | ||
Line 736: | Line 736: | ||
color: #fff; | color: #fff; | ||
background: rgba(0,0,0, .3); | background: rgba(0,0,0, .3); | ||
- | font-size: | + | font-size: .8em; |
padding: 8px 12px; | padding: 8px 12px; | ||
opacity: 0; | opacity: 0; | ||
Line 759: | Line 759: | ||
} | } | ||
figure:nth-child(1) { | figure:nth-child(1) { | ||
- | animation: xfade | + | animation: xfade 48s 42s infinite; |
} | } | ||
figure:nth-child(2) { | figure:nth-child(2) { | ||
- | animation: xfade | + | animation: xfade 48s 36s infinite; |
} | } | ||
figure:nth-child(3) { | figure:nth-child(3) { | ||
- | animation: xfade 30s | + | animation: xfade 48s 30s infinite; |
} | } | ||
figure:nth-child(4) { | figure:nth-child(4) { | ||
- | animation: xfade | + | animation: xfade 48s 24s infinite; |
} | } | ||
figure:nth-child(5) { | figure:nth-child(5) { | ||
- | animation: xfade | + | animation: xfade 48s 18s infinite; |
+ | } | ||
+ | figure:nth-child(6) { | ||
+ | animation: xfade 48s 12s infinite; | ||
+ | } | ||
+ | figure:nth-child(7) { | ||
+ | animation: xfade 48s 6s infinite; | ||
+ | } | ||
+ | figure:nth-child(8) { | ||
+ | animation: xfade 48s 0s infinite; | ||
} | } | ||
@keyframes xfade{ | @keyframes xfade{ | ||
- | + | 0%{ | |
- | opacity:1; | + | opacity: 1; |
} | } | ||
- | + | 10.5% { | |
- | opacity: | + | opacity: 1; |
} | } | ||
- | + | 12.5%{ | |
- | opacity:0; | + | opacity: 0; |
+ | } | ||
+ | 98% { | ||
+ | opacity: 0; | ||
+ | } | ||
+ | 100% { | ||
+ | opacity: 1; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } |
Revision as of 11:00, 17 October 2014
/* Design by TEMPLATED http://templated.co Released for free under the Creative Commons Attribution License
- /
body{ padding: 0;
margin: 0;
background:url(); font-family: "Times New Roman", Times, serif; font-size: 14px; color: #EEFCFA;
width: 100%; height: 100%;
}
h1,h2,h3,h4,h5,h6 {
border-bottom: 0px;
}
h1, h2, h3 { margin: 0; padding: 0; font-weight: normal; color: #32639A; font-family: "Times New Roman", Times, serif; }
h1 { font-size: 2em; }
h2 { font-size: 2.4em; }
h3 { font-size: 1.6em; }
p, ul, ol { margin-top: 0; line-height: 200%; font-family: "Trebuchet MS", Georgia, "Times New Roman", Times, serif; }
ul, ol { margin: 0px; padding: 0px; list-style: none; }
a { text-decoration: none; color: #516C00; }
a:hover { text-decoration: underline; }
a:visited{
color: #516C00;
}
h2 a { text-decoration: none; }
- globalWrapper {
margin: 0px; padding: 0px; background:none;
font-size: 100%;
}
- wrapper {
margin: 0px; padding: 0px;
}
/* Header */
- header {
width: 1000px; height: 125px;
background:url() no-repeat bottom;
margin: 0 auto; padding-top: 15px;
}
/*Content-Header*/
- content-header {
width: 1000px; height: 50px; margin: 0 auto; background:url() no-repeat bottom; }
/* Logo */
- logo-link {
position: absolute; display: block; left: 35px; top: 20px; width: 160px; height: 155px; opacity: 0;
}
- logo {
margin-left: 189px; padding: 0px;
display: block;
color: #000000; }
- logo h1, #logo p {
margin: 0; padding: 10px 0px 0px 25px; font-family: "Times New Roman", Times, serif; }
- logo h1 {
letter-spacing: -1px; text-transform: lowercase; font-size: 44px; }
- logo h1 a {
color: #FFFFFF; }
- logo p {
padding: 26px 0 0 2px; font: normal 19px "Times New Roman", Times, serif; color: #C5E8FF; }
- logo a {
border: none; background: none; text-decoration: none; color: #C5E8FF; }
/* Search */
- search {
float: right; width: 280px; height: 60px; padding: 20px 0px 0px 0px; background: #E2E2E2; border-bottom: 4px solid #FFFFFF; }
- search form {
height: 41px; margin: 0; padding: 10px 0 0 20px; }
- search fieldset {
margin: 0; padding: 0; border: none; }
- search-text {
width: 170px; padding: 6px 5px 2px 5px; border: 1px solid #DEDEDE; background: #FFFFFF; text-transform: lowercase; font: normal 11px Arial, Helvetica, sans-serif; color: #5D781D; }
- search-submit {
width: 50px; height: 22px; border: none; background: #B9B9B9; color: #000000; }
- banner {
margin-bottom: 20px; border: 12px #ECECEC solid; }
/* Menu */
- menu {
width: 1000px; height: 65px; margin: 0 auto; padding-bottom: 30px;
background: url() top no-repeat;
}
- menu ul {
margin: 0;
padding-top: 40px; list-style: none;
line-height: normal; }
- menu li {
float: left;
width: 130px;
margin-left: 10px; }
- menu a {
display: block; background: #70237A;
box-shadow: 0px 0px 5px 0px #000000; height: 38px;
width: 130px; padding-top: 15px; font-family: "Times New Roman", Times, serif; text-decoration: none; text-align: center; font-size: 20px; font-weight: normal; color: #FFFFFF; border: none; }
- menu ul li ul {
padding:0; margin:0; position:absolute; visibility: hidden;
z-index: 3;
}
- menu ul li ul li a:hover {
background: #FFFFFF; box-shadow: 0px 2px 10px 0px #FFFFFF; color: #E100E1; }
- menu ul li:hover ul {
display: block; opacity: 1; visibility: visible;
}
- menu ul li ul li a{
display: block; font-size:18px; font-family: "Times New Roman", Times, serif; color: white; background: #70237A; box-shadow: 0px 2px 10px 0px #FFFFFF;
z-index:2;
height:28px; padding-top:8px; margin-left:0px; width: 130;
}
- menu ul li ul li{
display: block; float: none;
margin-left: 0px;
}
- menu a:hover, #menu .current_page_item a {
text-decoration: none; }
- menu .current_page_item a {
background: #FFFFFF; padding-left: 0px; color: #70237A; }
- menu .current_page_item ul li a{
display: block; font-size:18px; font-family: "Times New Roman", Times, serif; color: white; background: #70237A; box-shadow: 0px 2px 10px 0px #FFFFFF;
z-index:2;
height:28px; padding-top:8px; margin-left:0px; width: 130;
}
- menu .current_page_item ul li a:hover {
background: #FFFFFF; box-shadow: 0px 2px 10px 0px #FFFFFF; color: #E100E1; }
/* Page */
- page {
width: 900px; margin: auto; padding: 40px 50px 0px 50px; background: url() repeat-y; }
/* Content */
- content {
width: 100; padding: 0px; border: none; background: none transparent;
}
- content-over {
float: left;
width: 900px;
padding: 0px 0px 0px 0px;
background: white;
}
.post { margin-bottom: 15px; }
.post-bgtop { }
.post-bgbtm { }
.post .title { margin-bottom: 10px; padding: 12px 0 0 0px; letter-spacing: -.5px; font-size: 36px; color: #493E2B; }
.post .title-small { font-size: 30px; color:#493E2B; font-family:"Times New Roman", Times, serif; font-variant: normal; text-decoration: underline; }
.post .title a { color: #493E2B; border: none; }
.post .head { font-size: 24px; color:#493E2B; font-family:"Times New Roman", Times, serif; }
.post .info { text-indent:20px; color: #5A554E; font-size:16px; font-family:"Times New Roman", Times, serif; border: none; }
.post .info-18 { text-indent:20px; color: #5A554E; font-size:18px; font-family:"Times New Roman", Times, serif; border: none; }
.post .info-24 { color: #5A554E; font-size:24px; font-family:"Times New Roman", Times, serif; border: none; }
.post .info-24 a img{ position:absolute; visibility:hidden; padding:5px; left: 630px;
top: 565px;
}
.post .info-24 a:hover img{
visibility: visible;
}
.post .Content-Modeling {
color: #5A554E;
font-size:24px;
font-family:"Times New Roman", Times, serif;
border: none;
}
.post .Content-Modeling a img{ position:absolute; visibility:hidden; padding:5px; left: 630px;
top: 445px;
}
.post .Content-Modeling a:hover img{
visibility: visible;
}
.post .meta { margin: -10px 0px 0px 0px; padding: 0px 0px 10px 0px; letter-spacing: -1px; font-size: 23px; font-weight: normal; color: #6E8D3D; font-family: "Times New Roman", Times, serif; }
.post .meta .date { float: left; }
.post .meta .posted { float: right; }
.post .meta a { }
.post .entry { background: url() no-repeat left top; padding: 25px 0px 0px 0px; text-align: justify; }
.post .entry-long { background: url() no-repeat left top; padding: 25px 0px 0px 0px; text-align: justify; }
.post .entry-right{ background: url() no-repeat right top; padding: 25px 0px 0px 0px; text-align: justify; }
.post .underName { color: #5A554E; font-size:18px; font-family:"Times New Roman", Times, serif; border: none; }
.links { padding-top: 20px; }
.more { padding-left: 16px; background: url() no-repeat left 3px; text-decoration: underline; font-size: 12px; font-weight: normal; }
.comments { padding-left: 18px; background: url() no-repeat left 4px; text-decoration: underline; font-size: 12px; font-weight: normal; }
/* Sidebar */
- sidebar {
float: right; width: 273px; padding: 0px; color: #787878; }
- sidebar ul {
margin: 0; padding: 0; list-style: none; }
- sidebar li {
margin: 0; padding: 0; }
- sidebar li ul {
margin: 0px 0px; padding-bottom: 20px; }
- sidebar li li {
line-height: 35px; margin: 0px; padding: 2px 0px; border-left: none; }
- sidebar li li span {
height: 19px; margin-right: 16px; padding: 4px 12px; background: #3D2A0B url() repeat-x left top; font-size: 12px; color: #FFFFFF; }
- sidebar li li span a {
color: #FFFFFF; }
- sidebar h2 {
height: 65px; background: url() no-repeat left bottom; letter-spacing: -.5px; font-size: 28px; color: #493E2B; }
- sidebar p {
margin: 0 0px; padding: 0px 0px 30px 0px; text-align: justify; }
- sidebar p strong {
color: #4A3E29; }
- sidebar a {
border: none; }
- sidebar a:hover {
}
/* Calendar */
- calendar {
}
- calendar_wrap {
padding: 20px; }
- calendar table {
width: 100%; }
- calendar tbody td {
text-align: center; }
- calendar #next {
text-align: right; }
/* Footer */
- footer-content {
width: 1000px; height: 100px; margin: 0 auto; /*padding: 60px 50px 0px 50px;*/ background: url() no-repeat top; font-size: 12px; color: #887450; }
- footer-content .column1 {
float: left; width: 570px; }
- footer-content .column2 {
float: right; width: 273px; }
- footer-content h2 {
padding-bottom: 10px; font-size: 22px; color: #E3D2B6; }
- footer-content strong {
color: #E3D2B6; }
- footer-content a {
color: #AA8B55; }
- footer-content a:hover {
color: #AA8B55; }
.list li { margin-bottom: 6px; }
- footer-over {
height: 50px; margin: 0 auto; padding: 0px 0 15px 0; font-family: Arial, Helvetica, sans-serif;
color: transparent;
}
- footer-over p {
margin: 0; line-height: normal; font-size: 12px; text-align: center; color: #82A2B9; }
- footer-over a {
text-decoration: underline; color: #82A2B9; }
- contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
display: none;}
- top-section {
width: 965px; height: 0; margin: 0 auto; padding: 0; border: none;}
- bodyContent p {
margin: 0;}
.left-menu ul {
visibility: hidden;
}
.left-menu:hover ul {
visibility: visible;
}
.image_right { float: right; margin-bottom: 0px; margin-left: 10px; } .image_left { float: left; margin-right: 10px; margin-bottom: 10px; }
li {
margin-bottom: 0em;
}
/* Go to top button */
- gototop {
position: fixed; left:90%; top: 95%; margin-top: -2.5em;
}
- gototop img {
opacity: 0.7; filter: alpha(opacity=40);
}
- gototop img:hover {
opacity: 1;
}
/* Slide Show */
.css-slideshow{
position: relative; max-width: 495px; height: 370px; margin: 5em auto .5em auto;
} .css-slideshow figure{
margin: 0; max-width: 495px; height: 370px; background: #000; position: absolute;
} .css-slideshow img{
box-shadow: 0 0 2px #666;
} .css-slideshow figcaption{
position: absolute; top: 0; color: #fff; background: rgba(0,0,0, .3); font-size: .8em; padding: 8px 12px; opacity: 0; transition: opacity .5s;
} .css-slideshow:hover figure figcaption{
transition: opacity .5s; opacity: 1;
} .css-slideshow-attr{
max-width: 495px; text-align: right; font-size: .7em; font-style: italic; margin:0 auto;
} .css-slideshow-attr a{
color: #666;
} .css-slideshow figure{
opacity:0;
} figure:nth-child(1) {
animation: xfade 48s 42s infinite;
} figure:nth-child(2) {
animation: xfade 48s 36s infinite;
} figure:nth-child(3) {
animation: xfade 48s 30s infinite;
} figure:nth-child(4) {
animation: xfade 48s 24s infinite;
} figure:nth-child(5) {
animation: xfade 48s 18s infinite;
} figure:nth-child(6) {
animation: xfade 48s 12s infinite;
} figure:nth-child(7) {
animation: xfade 48s 6s infinite;
} figure:nth-child(8) {
animation: xfade 48s 0s infinite;
}
@keyframes xfade{
0%{ opacity: 1; } 10.5% { opacity: 1; } 12.5%{ opacity: 0; } 98% { opacity: 0; } 100% { opacity: 1; }
}