Difference between revisions of "Template:Toulouse-INSA-UPS/PERSO-CSS"

Line 20: Line 20:
  
 
#HQ_page {
 
#HQ_page {
 +
position:relative;
 
top:0px;
 
top:0px;
 
}
 
}

Revision as of 11:53, 4 September 2018

/**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* CSS for the iGEM 2018 Team : Toulouse INSA-UPS Creator : Yohann CHARREIRE--KIRBACH (Sentiare) Last Update : Tue 04/09/18 @ 13:42

                                                                             */

/**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/


/**//*OVERRIDE DEFAULT CSS*//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* This section is for removing the default iGEM CSS

* It should be complete, but i maybe missed something
*/
  1. HQ_page, #content {

width:100%; padding:0; margin:0; }

  1. HQ_page {

position:relative; top:0px; }

a#top { height:0; }

  1. top_title, #top_title div, #top_title h1 {

visibility:hidden; height:0; margin:0; padding:0; }

  1. globalWrapper {

padding-bottom:0; }

/**//*CSS of the iGEM menu *//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* The iGEM black menu doesn't match his background spacer

* This CSS just increase his size by 2px to make them both match in height.
*/
  1. top_menu_14 {

height:18px; /*Now it matches his own spacer height*/ }

/**//*IMAGES*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /**//*Team Logo*//**/ .img_team_logo { height:3.5rem; width:auto; }

/**//*The text of the logo*//**/ a.navbar-brand { font-size:1.5rem; }

/**//*In Page Documents*//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* This section is about the different elements around the document reader in our

* page. Remember : NO IFRAME!!!
*/

/**//*PDF*//**/ .black-pdf-spacer { width:100%; height:1rem; background-color:#3F3F3F;

}

/**//* GENERAL *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* This section is mainly about title and text padding, margin and size

*/

body, html { width:100%; height:auto; }

h1 { padding-top:3rem;

}

h2 { padding-top:2rem; }

h3 { padding-top:2rem; }

.heavy {

   font-weight: 600;

}

  1. MENU {

font-size:1rem; }

a.dropdown-item { color:black !important; }

p { /*General*/ font-size:1rem; }

div.cd-timeline__content p, div.cd-timeline__content a, div.cd-timeline__content span, div.cd-timeline__content { /*Timeline font*/ font-size:1rem; }

  1. DISCLAIMER p { /*FOOTER font*/

font-size:0.7rem; }


/**//* BANNER *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* #BANNER refers to the picture on the top of the page.

* It uses media queries.
*/

.img_banner { width:100%; height:auto; margin:0; padding:0; z-index:1000; }

  1. BANNER {

margin:0; padding:0; overflow: hidden; }

@media screen and (min-width:100px) and (max-width:576px) { #BANNER { height:40px; } }

@media screen and (min-width:577px) and (max-width:768px) { #BANNER { height:80px; } }

@media screen and (min-width:769px) and (max-width:992px) { #BANNER { height:110px; } }

@media screen and (min-width:993px) and (max-width:1200px) { #BANNER { height:140px; } }

@media screen and (min-width:1201px) { #BANNER { height:170px; } }

/**//* HR BANNERS *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* Is it a banner, is it a hr ? No it's a picture which acts like a hr.

*/

div.hr_img { width:100%; height:5rem; overflow:hidden; }

img.hr_img { width:100%; }

/**//* HR *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* I love hr. So here's their very own section

*/

h1~hr { padding-bottom:2rem; }

h2~hr { padding-bottom:1.33rem; }

h3~hr { padding-bottom:1.33rem; }

a.dropdown-item~hr { margin-bottom:0.5rem; margin-top:0.5rem; }

hr { padding:0; }

/**//*NAV ICONS*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* Everything related with the ugly little nav icons on the left of the screen

*/

a.ico { padding:0.5rem 0.5rem; }

img.ico { max-width:3rem; height:auto; }

/**//* FOOTER *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* Everything that is only in the footer and has CSS is in this section

*/
  1. FOOTER_CONTENT {

margin:1.6rem }

/**//* Anchors *//**/ a.footer { text-decoration:underline; }

a.footer:link, a.footer:visited { color:#f8f9fa; }

a.footer:hover, a.footer:active { color:#d8d9da; }

/**//* SPONSORS *//**/ p.sponsor { margin-bottom:0; }

/**//* CAROUSEL *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* The carousel should soon be removed, remove this section too.

*/

.car_img { height:100%; width:100%; }

@media screen and (min-width:100px) and (max-width:576px) { #PLACEHOLDER { height:60px; } }

@media screen and (min-width:577px) and (max-width:768px) { #PLACEHOLDER { height:324px; } }

@media screen and (min-width:769px) and (max-width:992px) { #PLACEHOLDER { height:432px; } }

@media screen and (min-width:993px) and (max-width:1200px) { #PLACEHOLDER { height:558px; } }

@media screen and (min-width:1201px) { #PLACEHOLDER { height:675px; } }

  1. PLACEHOLDER {

overflow:hidden; z-index:1000; position:relative; }

/**//*"EXTENDED" BOOTSTRAP*//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* Just some classes that Bootstrap doesn't have but looks like they are bootstrap

* classes.
*/

.corner-bottom { border-bottom-left-radius : 0 !important; border-bottom-right-radius : 0 !important; }

.corner-top { border-top-left-radius : 0 !important; border-top-right-radius : 0 !important; }

.picture-of-someone { height:18rem !important; width:18rem !important; }

.card-of-picture { width:18rem !important; }

.sticky-bottom {

   position: -webkit-sticky; /* For compatibility */
   position: sticky;
   bottom: 0;

}

.nav-left-col { display:block; width:16.666667%; max-width:16.666667%; }

/**//*Filters*//**/ .filter-gray { -webkit-filter: grayscale(100%); /* Safari 6.0-9.0 */ filter:grayscale(100%); }

.filter-reverse { -webkit-filter: invert(100%); /* Safari 6.0-9.0 */ filter: invert(100%); }

.filter-invert { -webkit-filter: invert(100%); /* Safari 6.0-9.0 */ filter: invert(100%); }

.filter-alpha-0 { -webkit-filter : opacity(100%) !important; filter : opacity(100%) !important; }

.filter-alpha-25 { -webkit-filter : opacity(75%); filter : opacity(75%); }

.filter-alpha-50 { -webkit-filter : opacity(50%); filter : opacity(50%); }

.filter-alpha-75 { -webkit-filter : opacity(25%); filter : opacity(25%); }

.filter-alpha-100 { -webkit-filter : opacity(0%); filter : opacity(0%); }

.filter-alpha { -webkit-filter : opacity(50%); filter : opacity(50%); }