Difference between revisions of "Template:HebrewU/CSS"

 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Template:HebrewU/CSS
 
Template:HebrewU/CSS
  
/* I-GEM original picture and page frame disabling */
+
/* Disable I-GEM defult properties for blank page */
 +
    #sideMenu, #top_title {display:none;}
 +
    #sideMenu, #sideMenu *, #top_menu_inside, #top_menu_inside *{box-sizing: initial; -webkit-box-sizing: initial;}
 +
    #content { padding:0px; width:100%; margin-top:-12px; margin-left:0px;}
 +
    #body {background-color:#EDEADC; }
 +
    #mybody {background-color:#EDEADC; }
 +
    #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 +
    .mw-content-ltr {background-color:#EDEADC;}
 +
    .body {background-color:#EDEADC; }
  
         
+
/* I-GEM pages disabling */
  
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
+
    body {
@media screen and (max-width: 600px) {
+
    font-family:Tahoma, Geneva, sans-serif;
     .columnhuji.side, .columnhuji.middle {
+
    font-size: 14px;
        width: 100%;
+
     line-height: 1.42857143;
     }
+
    color: #333;
 +
     background-color: #fff;
 
}
 
}
  
  #sideMenu, #top_title {display:none;}
 
            #sideMenu, #sideMenu *, #top_menu_inside, #top_menu_inside *{box-sizing: initial; -webkit-box-sizing: initial;}
 
            #content { padding:0px; width:100%; margin-top:-12px; margin-left:0px;}
 
            body {background-color:#EDEADC; }
 
            #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
  
#ddmenu_hebrewu_social, #ddmenu_hebrewu_social a, #ddmenu_hebrewu_social {  
+
#myBtn_up {
    float: right;
+
  display: none;
    font: 20px Calibri, Calibri;
+
  position: fixed;
    margin-top: 4px;
+
  bottom: 20px;
margin-bottom: 2px;
+
  right: 30px;
margin-right: 3%;
+
  z-index: 99;
    max-width: 180px;
+
}
    color: white;
+
    padding: 0px 0px 6px 8px;
+
  
 +
#myBtn_up:hover {
 +
opacity:0.7;
 
}
 
}
  
  
 +
    .w3-container {
 +
  overflow: auto;
 +
    }
 +
    h2 {
 +
color: black;
 +
font-family: Tahoma, Geneva, sans-serif
 +
;
 +
padding: 7px;
 +
 +
    }
  
/* Add a hover effect if you want */
+
   
.fa:hover {
+
    .ahuji {
     opacity: 0.7;
+
    color:black
 +
    }
 +
 
 +
 
 +
    #HQ_page p {
 +
font-family: Tahoma, Geneva, sans-serif
 +
;
 +
    font-size: 20px;
 +
    text-align: center;
 +
color: black;
 +
 
 +
    }
 +
 
 +
    * {
 +
  -webkit-box-sizing:content-box ;
 +
    -moz-box-sizing:content-box ;
 +
    box-sizing:content-box ;
 +
    }
 +
 
 +
    .tab-content>.active {
 +
    background-color: #edeadc;
 +
    }
 +
 
 +
 
 +
 
 +
div.fixed {
 +
     position: fixed;
 +
    bottom: 0;
 +
    right: 1%;
 +
text-align:right;
 +
max-width:150px;
 
}
 
}
  
  
#huji_logo:hover {
+
@media (max-width: 1000px) {  
    content: url('https://static.igem.org/mediawiki/2018/7/76/T--HebrewU--logo_animation.png');
+
.ulogo {
+
display:none;
 +
}
 
}
 
}
  
#ddmenu_hebrewu {
+
 
    background:#262d2e;
+
 
    margin: 0;
+
 
    padding: 0;
+
 
    height:35px;
+
    body {
    font: 15px Calibri, Calibri;}
+
background-color:#EDEADC;
 +
 +
    }
 +
 
 +
/* HebrewU Logo change for animation */
 +
#huji_logo:hover {
 +
content: url('https://static.igem.org/mediawiki/2018/7/76/T--HebrewU--logo_animation.png');
 +
 +
}
 +
 
 +
/* Social media Icon design */
 +
.social_huji a{
 +
color:white;
 +
float:right;
 +
display:inline-block;
 +
        padding-left:1px;
 +
                padding-bottom:3px;
 +
}
 +
.social_huji a:hover{
 +
opacity: 0.7;
 +
}
 +
 
 +
/* Big screen Navbar properties */
 +
.huji_homebutton {
 +
float: left;
 +
Padding-left: 20px;
 +
Padding-top: 4px;
 +
                text-decoration: none;
 +
            font-family: Tahoma, Geneva, sans-serif
 +
;
 +
        font-size:20px;
 +
                width: 5%;
 +
 
 +
 +
}
 +
 +
#ddmenu_hebrewu {
 +
                background: #262d2e47;
 +
margin: 0;
 +
padding-top: 16px;
 +
height:40px;
 +
font-family: Tahoma, Geneva, sans-serif ;
 +
        font-size:20px;
 +
display:absolute;
 +
 
 +
}
 
      
 
      
#ddmenu_hebrewu li {     
+
#ddmenu_hebrewu li {     
    float: left;
+
float: left;
    list-style: none;
+
list-style: none;
    font: 20px Calibri, Calibri;}
+
font-family: Tahoma, Geneva, sans-serif
 +
;
 +
    font-size:20px;
 +
 +
}
 +
#ddmenu_hebrewu li a { 
 +
background:none;
 +
font-family: Tahoma, Geneva, sans-serif
 +
;
 +
 
 +
        font-size:20px;
 +
display: block;
 +
padding: 5px 15px;
 +
color: white;
 +
        text-decoration: none;
 +
 
 +
}
 +
 
 +
#ddmenu_hebrewu li a:hover {background: #2c3635;}   
 +
#ddmenu_hebrewu li ul {
 +
margin: 3px 0 0 10px;
 +
padding: 0;
 +
position: absolute;
 +
visibility: hidden;
 +
        text-decoration: none;
 +
}
 
   
 
   
#ddmenu_hebrewu li a {   
+
#ddmenu_hebrewu li ul li {   
    background:#262d2e;
+
display:inline;
    display: block;
+
}
    padding: 5px 20px;
+
    text-decoration: none;
+
    color: white;
+
}
+
 
   
 
   
 +
#ddmenu_hebrewu li ul li a {
 +
width: auto;   
 +
background: none;
 +
display: inline;
 +
color: #1e1f1f;
 +
font-family: Tahoma, Geneva, sans-serif
 +
;
  
 +
      font-size:20px;
 +
padding: 2px 10px;
 +
}
 
   
 
   
#ddmenu_hebrewu li a:hover {   
+
#ddmenu_hebrewu li ul li a:hover {   
    background: #2c3635;
+
background: none;
}
+
color: #106375;  
   
+
padding: 2px 10px;
#ddmenu_hebrewu li ul {
+
        text-decoration: none;
    margin: 3px 0 0 10px;
+
    padding: 0;
+
    position: absolute;
+
    visibility: hidden;
+
}
+
+
#ddmenu_hebrewu li ul li { 
+
    display:inline;
+
}
+
+
#ddmenu_hebrewu li ul li a {
+
    width: auto;   
+
    background: none;
+
    display: inline;
+
    color: black;
+
    font: 20px Calibri, Calibri;
+
    padding: 2px 10px;
+
}
+
+
#ddmenu_hebrewu li ul li a:hover {   
+
    background: none;
+
    color: #106375;  
+
    padding: 2px 10px;
+
}
+
  
/* Homebutton 10% space */
+
}
.huji_homebutton {
+
    float: left;
+
    width: 13%;
+
    Padding-left: 20px;
+
    Padding-top: 4px;
+
  
}
 
  
 +
/* Content position and style */
 +
.columnhuji.middle {
 +
width: 80%;
 +
background-color:#edeadc;
 +
color:black;
 +
Padding-left:10%;
 +
Padding-right:10%;
 +
Padding-top:3%;
  
.columnhuji {
 
    float: left;
 
    padding: 10px;
 
    background-color:#EDEADC;
 
    color:#EDEADC;
 
  
}
+
}
 +
 +
h2.ahuji {
 +
font-family: Tahoma, Geneva, sans-serif
 +
;
  
.columnhuji.side {
+
        font-size:30px;
    width: 12%;
+
text-align: center;
    background-color:#EDEADC;
+
}
    color:#EDEADC;
+
 +
h2.chuji {
 +
font: 20px Tahoma, Geneva, sans-serif
 +
, Tahoma, Geneva, sans-serif
 +
;
 +
text-align: center;
 +
}
 +
 +
p.ahuji {
 +
font-family: Tahoma, Geneva, sans-serif
 +
;
  
}
+
        font-size:18px;
 +
margin-left:5%;
 +
margin-right:5%;
 +
text-align:justify;
 +
}
 +
 +
p.bhuji {
 +
font-family: Tahoma, Geneva, sans-serif
 +
;
  
/* Middle column */
+
        font-size:18px;
.columnhuji.middle {
+
text-align:center;
    width: 70%;
+
}
    background-color:#edeadc;
+
    padding: 10px;
+
     
+
}
+
  
/* Clear floats after the columns */
+
/* Group image style */
.rowhuji:after {
+
.centerhujiimg {
    content: "";
+
margin: auto;
    display: table;
+
width: 60%;
    clear: both;
+
text-align: center;
}
+
}
  
/* content style */
+
/* Responsive navbar for small screens */
 +
#ddmenu_hebrewu .icon {
 +
  display: none;
 +
  color:white;
 +
      Padding-top: 4px;
 +
  font-size:20px;
  
 +
}
  
h2.ahuji {
 
    font: 30px Calibri, Calibri;
 
    text-align: center;
 
}
 
  
h2.chuji {
+
    .b_huji_small_subnav {
    font: 20px Calibri, Calibri;
+
width: 100%;
     text-align: center;
+
background:#edeadc;
}
+
height:35px;
 +
    font-size:15px;
 +
color: black;
 +
border:none;
 +
 +
}
 +
 +
     .b_huji_small_subnav:hover {
 +
width: 100%;
 +
background:#262d2e;
 +
height:35px;
 +
    font-size:15px;
 +
color:white;
 +
border:none;
 +
}
 +
 +
.huji_small_navbar {
 +
width: 100%;
 +
background:#262d2e;
 +
height:35px;
 +
    font-size:15px;
 +
color: white;
 +
border:none;
 +
}
  
p.ahuji {
+
.active, .huji_small_navbar:hover {
    font: 18px Calibri, Calibri;
+
background-color:#131717;  
margin-left:5%;
+
}
margin-right:5%;
+
text-align:justify;
+
}
+
  
p.bhuji {
+
.huji_small_navbar_panel {
    font: 18px Calibri, Calibri;
+
display: none;
text-align:center;
+
background-color: white;
}
+
overflow: hidden;
 +
}
  
/* button1 style */
+
@media screen and (max-width: 1000px) {
 +
#ddmenu_hebrewu li {display: none;}
 +
#ddmenu_hebrewu a.icon {
 +
float: left;
 +
display: block;
 +
}
 +
}
  
.buttonhuji {
+
  .huji_smallnav {
font: 18px Calibri, Calibri;
+
display:none;
    border: none;
+
  }
    color: white;
+
 
    padding: 10px 32px;
+
.b_huji_small_nav {
    text-align: center;
+
width: 100%;
    display: inline-block;
+
background:#262d2e;
    font-size: 15px;
+
height:35px;
    margin: 2px 2px;
+
color: white;  
    -webkit-transition-duration: 0.4s; /* Safari */
+
border:none;
    transition-duration: 0.4s;
+
display:none;
    cursor: pointer;
+
}
+
  
.buttonhuji1 {
+
}
    background-color: #fdfaf2;
+
    color: black;
+
@media screen and (min-width: 1000px) {
    border: 2px solid #829c8c;
+
}
+
.huji_small_navbar {
 +
display:none;
  
.buttonhuji1:hover {
+
}
    background-color: #829c8c;
+
    color: white;
+
    .b_huji_small_subnav {
}
+
width: 100%;
 
+
background:#edeadc;
/* Group image style style */
+
height:35px;
 
+
    font-size:15px;
.centerhujiimg {
+
color: black;  
    margin: auto;
+
border:none;
    width: 60%;
+
text-align: center;
+
}
 +
 
}
 
}

Latest revision as of 20:48, 15 October 2018

Template:HebrewU/CSS

/* Disable I-GEM defult properties for blank page */

    #sideMenu, #top_title {display:none;}
    #sideMenu, #sideMenu *, #top_menu_inside, #top_menu_inside *{box-sizing: initial; -webkit-box-sizing: initial;}
    #content { padding:0px; width:100%; margin-top:-12px; margin-left:0px;}
    #body {background-color:#EDEADC; }
    #mybody {background-color:#EDEADC; }
    #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
    .mw-content-ltr {background-color:#EDEADC;}
    .body {background-color:#EDEADC; }

/* I-GEM pages disabling */

   body {
   font-family:Tahoma, Geneva, sans-serif;
   font-size: 14px;
   line-height: 1.42857143;
   color: #333;
   background-color: #fff;

}


  1. myBtn_up {
 display: none;
 position: fixed;
 bottom: 20px;
 right: 30px;
 z-index: 99;

}

  1. myBtn_up:hover {

opacity:0.7; }


   .w3-container {

overflow: auto;

   }
   h2 {

color: black; font-family: Tahoma, Geneva, sans-serif

padding: 7px;

   }


   .ahuji {
   color:black	
   }


   #HQ_page p {

font-family: Tahoma, Geneva, sans-serif

   font-size: 20px;
   text-align: center;

color: black;

   }
   * {
  -webkit-box-sizing:content-box	;
   -moz-box-sizing:content-box	;
   box-sizing:content-box	;
   }
   .tab-content>.active {
   background-color: #edeadc;
   }


div.fixed {

   position: fixed;
   bottom: 0;
   right: 1%;

text-align:right; max-width:150px; }


@media (max-width: 1000px) { .ulogo { display:none; } }



   body {

background-color:#EDEADC;

    }

/* HebrewU Logo change for animation */ #huji_logo:hover { content: url('https://static.igem.org/mediawiki/2018/7/76/T--HebrewU--logo_animation.png');

}

/* Social media Icon design */ .social_huji a{ color:white; float:right; display:inline-block; padding-left:1px;

               padding-bottom:3px;

} .social_huji a:hover{ opacity: 0.7; }

/* Big screen Navbar properties */ .huji_homebutton { float: left; Padding-left: 20px; Padding-top: 4px;

               text-decoration: none; 
           	font-family: Tahoma, Geneva, sans-serif	

font-size:20px;

               width: 5%;


}

#ddmenu_hebrewu {

               background: #262d2e47;

margin: 0; padding-top: 16px; height:40px; font-family: Tahoma, Geneva, sans-serif ; font-size:20px; display:absolute;

}

#ddmenu_hebrewu li { float: left; list-style: none; font-family: Tahoma, Geneva, sans-serif

font-size:20px;

} #ddmenu_hebrewu li a { background:none; font-family: Tahoma, Geneva, sans-serif

font-size:20px; display: block; padding: 5px 15px; color: white;

       text-decoration: none;

}

#ddmenu_hebrewu li a:hover {background: #2c3635;} #ddmenu_hebrewu li ul { margin: 3px 0 0 10px; padding: 0; position: absolute; visibility: hidden;

       text-decoration: none;

}

#ddmenu_hebrewu li ul li { display:inline; }

#ddmenu_hebrewu li ul li a { width: auto; background: none; display: inline; color: #1e1f1f; font-family: Tahoma, Geneva, sans-serif

font-size:20px; padding: 2px 10px; }

#ddmenu_hebrewu li ul li a:hover { background: none; color: #106375; padding: 2px 10px;

       text-decoration: none;

}


/* Content position and style */ .columnhuji.middle { width: 80%; background-color:#edeadc; color:black; Padding-left:10%; Padding-right:10%; Padding-top:3%;


}

h2.ahuji { font-family: Tahoma, Geneva, sans-serif

font-size:30px; text-align: center; }

h2.chuji { font: 20px Tahoma, Geneva, sans-serif , Tahoma, Geneva, sans-serif

text-align: center; }

p.ahuji { font-family: Tahoma, Geneva, sans-serif

font-size:18px; margin-left:5%; margin-right:5%; text-align:justify; }

p.bhuji { font-family: Tahoma, Geneva, sans-serif

font-size:18px; text-align:center; }

/* Group image style */ .centerhujiimg { margin: auto; width: 60%; text-align: center; }

/* Responsive navbar for small screens */ #ddmenu_hebrewu .icon { display: none; color:white;

      Padding-top: 4px; 

font-size:20px;

}


   .b_huji_small_subnav {

width: 100%; background:#edeadc; height:35px; font-size:15px; color: black; border:none;

	}

   .b_huji_small_subnav:hover {

width: 100%; background:#262d2e; height:35px; font-size:15px; color:white; border:none;

	}

	.huji_small_navbar {

width: 100%; background:#262d2e; height:35px; font-size:15px; color: white; border:none; }

.active, .huji_small_navbar:hover { background-color:#131717; }

.huji_small_navbar_panel { display: none; background-color: white; overflow: hidden; }

@media screen and (max-width: 1000px) { #ddmenu_hebrewu li {display: none;} #ddmenu_hebrewu a.icon { float: left; display: block; } }

 	.huji_smallnav {

display:none;

 	}
 
	.b_huji_small_nav {

width: 100%; background:#262d2e; height:35px; color: white; border:none; display:none;

	}

@media screen and (min-width: 1000px) {

.huji_small_navbar { display:none;

}

.b_huji_small_subnav { width: 100%; background:#edeadc; height:35px; font-size:15px; color: black; border:none;

	}

}