Difference between revisions of "Team:ASIJ Tokyo/CSS"

 
(21 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<style>
 
<style>
  
/* Structure ================================================== */
+
#content {
body {
+
    background: none;
    background-image: url("https://static.igem.org/mediawiki/2018/b/b0/T--ASIJ_Tokyo--OfficialBackground.jpeg");
+
    border: none;
    background-repeat: repeat, repeat;
+
    width: 100%;
    background-size: 100%;
+
    font-family: "Avenir";
+
padding: 0;
+
margin: 0;
+
 
}
 
}
.wrapper {
+
#HQ page {
  margin-left: 10%;
+
    display: hidden;
  margin-right: 10%;
+
 
}
 
}
footer {
+
.logo_2018 {
border-top: 2px dotted #fff;
+
    margin-top: 0px;
margin-top: 10%;
+
    width: 0;
 +
    float: left;
 +
    visibility: hidden;
 
}
 
}
 
+
#content H1 {
#footer_logo {
+
    visibility: hidden;
height: 130px;
+
display: block;
+
margin: 25px;
+
margin-left: auto;
+
margin-right: auto;
+
 
}
 
}
 
footer p{
 
float: right;
 
color: #88C1EF;
 
}
 
 
footer p a{
 
color: #88C1EF;
 
}
 
 
/* navigation bar====================================== */
 
 
.nav-box {
 
background-color: white;
 
display: block;
 
width: 100%;
 
height: 60px;
 
position: fixed;
 
top: 0;
 
border-bottom: 2px solid #2F5F8A;
 
box-shadow: 0px 3px 10px rgba(19, 19, 19, 0.2);
 
}
 
nav {
 
  position: fixed;
 
  width: 80%;
 
  height: 60px;
 
  background-color: white;
 
  top: 0;
 
  margin: 0;
 
  padding:0;
 
  border-bottom: 2px solid #2F5F8A;
 
}
 
 
#ASIJ {
 
  height: 60px;
 
  float: left;
 
  padding: 0 20px;
 
  margin: 0;
 
}
 
 
nav ul {
 
  float: left;
 
  margin: 0;
 
  padding: 0;
 
}
 
 
nav ul li {
 
  float: left;
 
  list-style-type: none;
 
  position: relative;
 
}
 
 
nav ul li .HP {
 
  line-height: 30px;
 
}
 
 
 
nav ul li a {
 
  color: #2F5F8A;
 
  font-size: 19px;
 
  line-height: 60px;
 
  padding: 0;
 
  display: block;
 
  text-decoration: none;
 
  width: 140.3px;
 
  text-align: center;
 
 
 
}
 
 
nav ul li ul {
 
  display: block;
 
  position: absolute;
 
  background-color: #FEEDB3;
 
  visibility: hidden;
 
  width: inherit;
 
  transition: none;
 
}
 
 
nav ul li ul li a{
 
  padding: 0;
 
  line-height: 50px;
 
  text-align: center;
 
  font-size: 16px;
 
  color: #4B7FAD;
 
}
 
 
nav ul li ul li:first-child {
 
  border-top: 2px solid #2F5F8A;
 
}
 
 
nav ul li:hover ul{
 
  display: block;
 
  visibility: visible;
 
  box-shadow: 0px 5px 10px rgba(19, 19, 19, 0.2);
 
  transition: none;
 
}
 
 
.active {
 
  color: #FCC81C;
 
  text-transform: uppercase;
 
}
 
 
nav ul li a:hover:not(.active){
 
  background-color: #E8E6E6;
 
}
 
 
nav ul li ul li a:hover:not(.active) {
 
  background-color: #FDE38D;
 
}
 
 
 
 
 
/* home page ============================================== */
 
 
 
#title p{
 
font-size: 6em;
 
color: #071f4e;
 
text-align: right;
 
font-weight: bold;
 
text-shadow: 0px 0px 10px white;
 
letter-spacing: 5px;
 
padding-top: 12px;
 
}
 
 
table{
 
margin-top: 10%;
 
margin-bottom: 5%;
 
}
 
 
#subtitle h1{
 
text-align: right;
 
color: #071f4e;
 
font-size: 20px;
 
}
 
 
#abstract {
 
margin: auto;
 
background-color: #88c1ef;
 
padding: 50px;
 
}
 
 
#abstract p{
 
text-align: justify;
 
font-size: 18px;
 
}
 
 
#abstract h3{
 
text-align: center;
 
color: white;
 
font-size: 30px;
 
letter-spacing: 2px;
 
font-weight: 100;
 
margin: 0%;
 
}
 
 
/* parts ============================================== */
 
 
h1 {
 
    font-size: 35px;
 
}
 
 
h2 {
 
    font-size: 20px;
 
}
 
.bg {
 
    background-image: url("https://static.igem.org/mediawiki/2018/c/ce/T--ASIJ_Tokyo--improvedparts.png");
 
    height: 80%;
 
    background-position: center;
 
    background-repeat: none;
 
    background-size: cover;
 
    position: relative;
 
}
 
 
#yajirushi {
 
    position: absolute;
 
    bottom: 65px;
 
    z-index: 1;
 
    width: 100px;
 
    height: 30px;
 
    left: 50%;
 
}
 
 
#header {
 
    padding-top: 20px;
 
    padding-bottom: 0px;
 
}
 
 
#wrapper {
 
    margin-left: 10%;
 
    margin-right: 10%;
 
}
 
 
table, th, td {
 
    border: 1px solid black;
 
    border-collapse: collapse;
 
    padding: 5px;
 
    padding-left: 5px;
 
    vertical-align: top;
 
    text-align: left;
 
}
 
 
hr {
 
    color: black;
 
    border-style: solid;
 
}
 
 
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 05:28, 13 October 2018