Difference between revisions of "Team:Glasgow/main.css"

Line 1: Line 1:
@import 'https://fonts.googleapis.com/css?family=Baloo|Lato&subset=latin-ext';
+
@import 'https://fonts.googleapis.com/css?family=Baloo|Lato&subset=latin-ext';
  
/* iGEM Wiki overrides */
+
/* iGEM Wiki overrides */
  
.footer_container ul{
+
.footer_container ul{
margin: 0px;
+
margin: 0px;
}
+
}
  
.top_level_container p{
+
.top_level_container p{
font-family: Lato;
+
font-family: Lato;
}
+
}
  
#sideMenu, #top_title{
+
#sideMenu, #top_title{
display:none;
+
display:none;
}
+
}
  
div#content{
+
div#content{
width:  100%;
+
width:  100%;
padding: 0px;
+
padding: 0px;
margin:  0px;
+
margin:  0px;
top: -20px;
+
top: -20px;
}
+
}
  
/* End overrides */
+
/* End overrides */
  
/* Light blue: #C2E0D5;
+
/* Light blue: #C2E0D5;
Dark blue: #44ABA0;
+
Dark blue: #44ABA0;
  
Yellow: #FFCE2F;
+
Yellow: #FFCE2F;
Light orange: #FFAC03;
+
Light orange: #FFAC03;
Dark orange: #FF8302;
+
Dark orange: #FF8302;
*/
+
*/
  
/* == Header Styles == */
+
/* == Header Styles == */
  
a{
+
a{
color:inherit;
+
color:inherit;
}
+
}
  
a:hover{
+
a:hover{
text-decoration: none;
+
text-decoration: none;
color: #000;
+
color: #000;
}
+
}
  
a:visited{
+
a:visited{
color:inherit;
+
color:inherit;
}
+
}
  
.dropdown.menu>li.is-dropdown-submenu-parent>a:after{
+
.dropdown.menu>li.is-dropdown-submenu-parent>a:after{
/* Hide the dropdown menu arrows */
+
/* Hide the dropdown menu arrows */
display:none;
+
display:none;
border: none;
+
}
}
+
  
.top-bar-title{
+
.is-dropdown-submenu{
height: 100%;
+
border:none;
display: inline-block;
+
}
}
+
  
#header_logo{
+
.top-bar-title{
float: left;
+
height: 100%;
height: 10em;
+
display: inline-block;
margin: 1em;
+
}
}
+
  
#main-nav{
+
#header_logo{
/*Style the top bar menu*/
+
float: left;
color: #ffce2f;
+
height: 10em;
font-size: 3em;
+
margin: 1em;
height: 2em;
+
}
line-height: 2em;
+
  
}
+
#main-nav{
 +
/*Style the top bar menu*/
 +
color: #ffce2f;
 +
font-size: 3em;
 +
height: 2em;
 +
line-height: 2em;
  
.top-bar-right{
+
}
padding: 4em 0em;
+
}
+
  
li.is-dropdown-submenu-item{
+
.top-bar-right{
/*Reset top bar dropdown menu text-size*/
+
padding: 4em 0em;
font-size: 1rem;
+
}
}
+
  
#main-nav .menu.vertical{
+
li.is-dropdown-submenu-item{
/*Style top bar dropdown menu backgrounds*/
+
/*Reset top bar dropdown menu text-size*/
background-color:#0085B2;
+
font-size: 1rem;
text-align: center;
+
}
}
+
  
.headline{
+
#main-nav .menu.vertical{
font-family: Baloo;
+
/*Style top bar dropdown menu backgrounds*/
}
+
background-color:#0085B2;
 +
text-align: center;
 +
}
  
.top-bar, .dropdown.menu{
+
.headline{
background-color: #0085B2;
+
font-family: Baloo;
}
+
}
  
/* == Footer Styles == */
+
.top-bar, .dropdown.menu{
 +
background-color: #0085B2;
 +
}
  
.footer_container{
+
/* == Footer Styles == */
background-color: #0085B2;
+
padding: 1rem 0rem 0rem 4rem;
+
color: #ffce2f;
+
}
+
  
li.main_footer_links{
+
.footer_container{
vertical-align: top;
+
background-color: #0085B2;
font-family: Baloo;
+
padding: 1rem 0rem 0rem 4rem;
font-size: 1.4rem;
+
color: #ffce2f;
text-align: left;
+
}
}
+
  
.main_footer_links>ul{
+
li.main_footer_links{
font-family: Lato;
+
vertical-align: top;
font-size: 1.3rem;
+
font-family: Baloo;
}
+
font-size: 1.4rem;
 +
text-align: left;
 +
}
  
.social{
+
.main_footer_links>ul{
margin: 0.5rem;
+
font-family: Lato;
}
+
font-size: 1.3rem;
 +
}
  
.social>a{
+
.social{
position: relative;
+
margin: 0.5rem;
top: -1rem;
+
}
padding-left: 1rem;
+
}
+
  
/* == Icon styles == */
+
.social>a{
 +
position: relative;
 +
top: -1rem;
 +
padding-left: 1rem;
 +
}
  
.icon{
+
/* == Icon styles == */
display: inline-block;
+
height: 2.5rem;
+
width: 2.5rem;
+
}
+
  
.facebook{
+
.icon{
background: url(https://static.igem.org/mediawiki/2016/b/b5/T--Glasgow--Facebook_square_orange.svg);
+
display: inline-block;
}
+
height: 2.5rem;
 +
width: 2.5rem;
 +
}
  
.twitter{
+
.facebook{
background: url(https://static.igem.org/mediawiki/2016/3/37/T--Glasgow--Twitter_square_orange.svg);
+
background: url(https://static.igem.org/mediawiki/2016/b/b5/T--Glasgow--Facebook_square_orange.svg);
}
+
}
  
.instagram{
+
.twitter{
background: url(https://static.igem.org/mediawiki/2016/c/c4/T--Glasgow--Instagram_square_orange.svg);
+
background: url(https://static.igem.org/mediawiki/2016/3/37/T--Glasgow--Twitter_square_orange.svg);
}
+
}
 +
 
 +
.instagram{
 +
background: url(https://static.igem.org/mediawiki/2016/c/c4/T--Glasgow--Instagram_square_orange.svg);
 +
}

Revision as of 11:36, 8 July 2016

@import 'https://fonts.googleapis.com/css?family=Baloo%7CLato&subset=latin-ext';

/* iGEM Wiki overrides */

.footer_container ul{ margin: 0px; }

.top_level_container p{ font-family: Lato; }

#sideMenu, #top_title{ display:none; }

div#content{ width: 100%; padding: 0px; margin: 0px; top: -20px; }

/* End overrides */

/* Light blue: #C2E0D5; Dark blue: #44ABA0;

Yellow: #FFCE2F; Light orange: #FFAC03; Dark orange: #FF8302; */

/* == Header Styles == */

a{ color:inherit; }

a:hover{ text-decoration: none; color: #000; }

a:visited{ color:inherit; }

.dropdown.menu>li.is-dropdown-submenu-parent>a:after{ /* Hide the dropdown menu arrows */ display:none; }

.is-dropdown-submenu{ border:none; }

.top-bar-title{ height: 100%; display: inline-block; }

#header_logo{ float: left; height: 10em; margin: 1em; }

#main-nav{ /*Style the top bar menu*/ color: #ffce2f; font-size: 3em; height: 2em; line-height: 2em;

}

.top-bar-right{ padding: 4em 0em; }

li.is-dropdown-submenu-item{ /*Reset top bar dropdown menu text-size*/ font-size: 1rem; }

#main-nav .menu.vertical{ /*Style top bar dropdown menu backgrounds*/ background-color:#0085B2; text-align: center; }

.headline{ font-family: Baloo; }

.top-bar, .dropdown.menu{ background-color: #0085B2; }

/* == Footer Styles == */

.footer_container{ background-color: #0085B2; padding: 1rem 0rem 0rem 4rem; color: #ffce2f; }

li.main_footer_links{ vertical-align: top; font-family: Baloo; font-size: 1.4rem; text-align: left; }

.main_footer_links>ul{ font-family: Lato; font-size: 1.3rem; }

.social{ margin: 0.5rem; }

.social>a{ position: relative; top: -1rem; padding-left: 1rem; }

/* == Icon styles == */

.icon{ display: inline-block; height: 2.5rem; width: 2.5rem; }

.facebook{ background: url(https://static.igem.org/mediawiki/2016/b/b5/T--Glasgow--Facebook_square_orange.svg); }

.twitter{ background: url(https://static.igem.org/mediawiki/2016/3/37/T--Glasgow--Twitter_square_orange.svg); }

.instagram{ background: url(https://static.igem.org/mediawiki/2016/c/c4/T--Glasgow--Instagram_square_orange.svg); }