Line 4: | Line 4: | ||
Creator : Yohann CHARREIRE--KIRBACH (Sentiare) | Creator : Yohann CHARREIRE--KIRBACH (Sentiare) | ||
Editors : Sentiare | Editors : Sentiare | ||
− | Last Update : | + | Last Update : Wed 05/09/18 @ 17:35 |
*/ | */ | ||
/**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ | /**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ | ||
Line 40: | Line 40: | ||
} | } | ||
− | /**//*CSS of the iGEM menu *//**//**//**//**//**//**//**//**//**//**//**//** | + | /**//*CSS of the iGEM menu *//**//**//**//**//**//**//**//**//**//**//**//*****/ |
/* The iGEM black menu doesn't match his background spacer | /* 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. | * This CSS just increase his size by 2px to make them both match in height. | ||
Line 48: | Line 48: | ||
} | } | ||
− | /**//*IMAGES*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//** | + | /**//*IMAGES*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//****/ |
/**//*Team Logo*//**/ | /**//*Team Logo*//**/ | ||
.img_team_logo { | .img_team_logo { | ||
Line 60: | Line 60: | ||
} | } | ||
− | /**//*In Page Documents*//**//**//**//**//**//**//**//**//**//**//**//**//** | + | /**//*In Page Documents*//**//**//**//**//**//**//**//**//**//**//**//**//*****/ |
/* This section is about the different elements around the document reader in our | /* This section is about the different elements around the document reader in our | ||
* page. Remember : NO IFRAME!!! | * page. Remember : NO IFRAME!!! | ||
Line 73: | Line 73: | ||
} | } | ||
− | /**//* GENERAL *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//** | + | /**//* GENERAL *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//*****/ |
/* This section is mainly about title and text padding, margin and size | /* This section is mainly about title and text padding, margin and size | ||
*/ | */ | ||
Line 112: | Line 112: | ||
p { /*General*/ | p { /*General*/ | ||
+ | font-size:1rem; | ||
+ | } | ||
+ | |||
+ | h3 { | ||
+ | font-size:1.5rem; | ||
+ | } | ||
+ | |||
+ | h4 { | ||
+ | font-size:1.25rem; | ||
+ | } | ||
+ | |||
+ | h5, h6 { | ||
font-size:1rem; | font-size:1rem; | ||
} | } | ||
Line 145: | Line 157: | ||
@media screen and (min-width:100px) and (max-width:576px) { | @media screen and (min-width:100px) and (max-width:576px) { | ||
#BANNER { | #BANNER { | ||
− | height: | + | height:70px; |
} | } | ||
} | } | ||
Line 151: | Line 163: | ||
@media screen and (min-width:577px) and (max-width:768px) { | @media screen and (min-width:577px) and (max-width:768px) { | ||
#BANNER { | #BANNER { | ||
− | height: | + | height:140px; |
} | } | ||
} | } | ||
Line 157: | Line 169: | ||
@media screen and (min-width:769px) and (max-width:992px) { | @media screen and (min-width:769px) and (max-width:992px) { | ||
#BANNER { | #BANNER { | ||
− | height: | + | height:150px; |
} | } | ||
} | } | ||
Line 163: | Line 175: | ||
@media screen and (min-width:993px) and (max-width:1200px) { | @media screen and (min-width:993px) and (max-width:1200px) { | ||
#BANNER { | #BANNER { | ||
− | height: | + | height:190px; |
} | } | ||
} | } | ||
Line 169: | Line 181: | ||
@media screen and (min-width:1201px) { | @media screen and (min-width:1201px) { | ||
#BANNER { | #BANNER { | ||
− | height: | + | height:230px; |
} | } | ||
} | } | ||
Line 213: | Line 225: | ||
} | } | ||
− | /**//*NAV ICONS*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//** | + | /**//*NAV ICONS*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//*****/ |
/* Everything related with the ugly little nav icons on the left of the screen | /* Everything related with the ugly little nav icons on the left of the screen | ||
*/ | */ | ||
Line 223: | Line 235: | ||
max-width:3rem; | max-width:3rem; | ||
height:auto; | height:auto; | ||
+ | } | ||
+ | |||
+ | #NAV_ICON_BAR ul li img.ico:hover { | ||
+ | -webkit-filter : opacity(60%); | ||
+ | filter : opacity(60%); | ||
+ | } | ||
+ | |||
+ | #NAV_ICON_BAR ul li img.ico.filter-alpha-50:hover { | ||
+ | -webkit-filter : opacity(50%); | ||
+ | filter : opacity(50%); | ||
+ | } | ||
+ | |||
+ | #NAV_ICON_BAR { | ||
+ | bottom:1rem; | ||
} | } | ||
Line 250: | Line 276: | ||
} | } | ||
− | /**//* CAROUSEL *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//** | + | /**//* CAROUSEL *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//****/ |
/* The carousel should soon be removed, remove this section too. | /* The carousel should soon be removed, remove this section too. | ||
*/ | */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#PLACEHOLDER { | #PLACEHOLDER { | ||
overflow:hidden; | overflow:hidden; | ||
z-index:1000; | z-index:1000; | ||
position:relative; | position:relative; | ||
+ | width:100%; | ||
+ | height:100vh; | ||
} | } | ||
Line 301: | Line 294: | ||
border-bottom-left-radius : 0 !important; | border-bottom-left-radius : 0 !important; | ||
border-bottom-right-radius : 0 !important; | border-bottom-right-radius : 0 !important; | ||
+ | } | ||
+ | |||
+ | @media screen and (min-width:993px) { | ||
+ | .corner-lg-bottom { | ||
+ | border-bottom-left-radius : 0 !important; | ||
+ | border-bottom-right-radius : 0 !important; | ||
+ | } | ||
} | } | ||
Line 306: | Line 306: | ||
border-top-left-radius : 0 !important; | border-top-left-radius : 0 !important; | ||
border-top-right-radius : 0 !important; | border-top-right-radius : 0 !important; | ||
+ | } | ||
+ | |||
+ | @media screen and (min-width:993px) { | ||
+ | .corner-lg-top { | ||
+ | border-top-left-radius : 0 !important; | ||
+ | border-top-right-radius : 0 !important; | ||
+ | } | ||
} | } | ||
Line 398: | Line 405: | ||
.filter-alpha-0 { | .filter-alpha-0 { | ||
− | -webkit-filter : opacity(100%) !important; | + | -webkit-filter : opacity(100%) !important; /* Safari 6.0-9.0 */ |
filter : opacity(100%) !important; | filter : opacity(100%) !important; | ||
} | } | ||
.filter-alpha-25 { | .filter-alpha-25 { | ||
− | -webkit-filter : opacity(75%); | + | -webkit-filter : opacity(75%); /* Safari 6.0-9.0 */ |
filter : opacity(75%); | filter : opacity(75%); | ||
} | } | ||
.filter-alpha-50 { | .filter-alpha-50 { | ||
− | -webkit-filter : opacity(50%); | + | -webkit-filter : opacity(50%); /* Safari 6.0-9.0 */ |
filter : opacity(50%); | filter : opacity(50%); | ||
} | } | ||
.filter-alpha-75 { | .filter-alpha-75 { | ||
− | -webkit-filter : opacity(25%); | + | -webkit-filter : opacity(25%); /* Safari 6.0-9.0 */ |
filter : opacity(25%); | filter : opacity(25%); | ||
} | } | ||
.filter-alpha-100 { | .filter-alpha-100 { | ||
− | -webkit-filter : opacity(0%); | + | -webkit-filter : opacity(0%); /* Safari 6.0-9.0 */ |
filter : opacity(0%); | filter : opacity(0%); | ||
} | } | ||
.filter-alpha { | .filter-alpha { | ||
− | -webkit-filter : opacity(50%); | + | -webkit-filter : opacity(50%); /* Safari 6.0-9.0 */ |
filter : opacity(50%); | filter : opacity(50%); | ||
} | } | ||
− | /**//*Colors*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//** | + | /**//*Colors*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//****/ |
/* As everyone requests it, wants it, NEEDS IT for some reasons, here's some colors. | /* As everyone requests it, wants it, NEEDS IT for some reasons, here's some colors. | ||
* They may change in the futur tho. | * They may change in the futur tho. | ||
Line 515: | Line 522: | ||
.font-neon-white { | .font-neon-white { | ||
color:#C7C7FD; | color:#C7C7FD; | ||
+ | } | ||
+ | |||
+ | /**//*Parallax*//**/ | ||
+ | /* That's more cooler than the usual scroll | ||
+ | * (I know there's a mistake with "more cooler") | ||
+ | */ | ||
+ | |||
+ | .parallax { | ||
+ | background-attachment:fixed; | ||
+ | background-position: center; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: cover; | ||
+ | } | ||
+ | |||
+ | /**//*Tab*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//***/ | ||
+ | /* Adjust the color of the active tab | ||
+ | */ | ||
+ | |||
+ | a.btn.nav-link.active, a.btn.nav-link:hover:not(.disabled), a.btn.nav-link:hover:not(:disabled) { | ||
+ | background-color: #343A40 !important; | ||
+ | border-color: #343A40 !important; | ||
} | } |
Revision as of 15:33, 5 September 2018
/**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* CSS for the iGEM 2018 Team : Toulouse INSA-UPS Creator : Yohann CHARREIRE--KIRBACH (Sentiare) Editors : Sentiare Last Update : Wed 05/09/18 @ 17:35
*/
/**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/
/**//*OVERRIDE DEFAULT CSS*//**//**//**//**//**//**//**//**//**//**//**//**//**/
/* This section is for removing the default iGEM CSS
* It should be complete, but i maybe missed something */
- HQ_page, #content {
width:100%; padding:0; margin:0; }
- mw-content-text p:first-child {
margin:0; padding:0; }
a#top { height:0; }
- top_title, #top_title div, #top_title h1 #firstHeading {
visibility:hidden !important; height:0 !important; margin:0 !important; padding:0 !important; }
- 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. */
- 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 { position:relative width:100%; height:auto; }
- CONTENT h1, .collapse h1 {
margin-top:3rem !important; margin-bottom:0rem !important; }
- CONTENT h2, .collapse h2 {
margin-top:0rem !important; margin-bottom:0rem !important; padding:0.34rem 0 0.17rem 0; }
- CONTENT h3, .collapse h3{
margin-top:1rem !important; margin-bottom:0rem !important; }
.heavy {
font-weight: 600;
}
- MENU {
top:18px; font-size:1rem; }
a.dropdown-item { color:black !important; }
p { /*General*/ font-size:1rem; }
h3 { font-size:1.5rem; }
h4 { font-size:1.25rem; }
h5, h6 { 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; }
- 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; }
- BANNER {
margin:0; padding:0; overflow: hidden; }
@media screen and (min-width:100px) and (max-width:576px) { #BANNER { height:70px; } }
@media screen and (min-width:577px) and (max-width:768px) { #BANNER { height:140px; } }
@media screen and (min-width:769px) and (max-width:992px) { #BANNER { height:150px; } }
@media screen and (min-width:993px) and (max-width:1200px) { #BANNER { height:190px; } }
@media screen and (min-width:1201px) { #BANNER { height:230px; } }
/**//* 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 { margin-top:0rem; margin-bottom:3rem; }
h2~hr { margin-top:0rem; margin-bottom:2rem; }
h3~hr { margin-top:0rem; margin-bottom:1rem; }
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; }
- NAV_ICON_BAR ul li img.ico:hover {
-webkit-filter : opacity(60%); filter : opacity(60%); }
- NAV_ICON_BAR ul li img.ico.filter-alpha-50:hover {
-webkit-filter : opacity(50%); filter : opacity(50%); }
- NAV_ICON_BAR {
bottom:1rem; }
/**//* FOOTER *//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/ /* Everything that is only in the footer and has CSS is in this section
*/
- 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.
*/
- PLACEHOLDER {
overflow:hidden; z-index:1000; position:relative; width:100%; height:100vh; }
/**//*"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; }
@media screen and (min-width:993px) { .corner-lg-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; }
@media screen and (min-width:993px) { .corner-lg-top { border-top-left-radius : 0 !important; border-top-right-radius : 0 !important; } }
.corner-left { border-top-left-radius : 0 !important; border-bottom-left-radius : 0 !important; }
.corner-right { border-top-right-radius : 0 !important; border-bottom-right-radius : 0 !important; }
.corner-all { border-top-right-radius : 0 !important; border-bottom-right-radius : 0 !important; border-top-left-radius : 0 !important; border-bottom-left-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-gray-0 { -webkit-filter: grayscale(0%) !important; /* Safari 6.0-9.0 */ filter:grayscale(0%) !important; }
.filter-gray-25 { -webkit-filter: grayscale(25%); /* Safari 6.0-9.0 */ filter:grayscale(25%); }
.filter-gray-50 { -webkit-filter: grayscale(50%); /* Safari 6.0-9.0 */ filter:grayscale(50%); }
.filter-gray-75 { -webkit-filter: grayscale(75%); /* Safari 6.0-9.0 */ filter:grayscale(75%); }
.filter-gray-90 { -webkit-filter: grayscale(90%); /* Safari 6.0-9.0 */ filter:grayscale(90%); }
.filter-gray-95 { -webkit-filter: grayscale(95%); /* Safari 6.0-9.0 */ filter:grayscale(95%); }
.filter-gray-100 { -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; /* Safari 6.0-9.0 */ filter : opacity(100%) !important; }
.filter-alpha-25 { -webkit-filter : opacity(75%); /* Safari 6.0-9.0 */ filter : opacity(75%); }
.filter-alpha-50 { -webkit-filter : opacity(50%); /* Safari 6.0-9.0 */ filter : opacity(50%); }
.filter-alpha-75 { -webkit-filter : opacity(25%); /* Safari 6.0-9.0 */ filter : opacity(25%); }
.filter-alpha-100 { -webkit-filter : opacity(0%); /* Safari 6.0-9.0 */ filter : opacity(0%); }
.filter-alpha { -webkit-filter : opacity(50%); /* Safari 6.0-9.0 */ filter : opacity(50%); }
/**//*Colors*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//****/ /* As everyone requests it, wants it, NEEDS IT for some reasons, here's some colors.
* They may change in the futur tho. */
/**//*Backgrounds*//**/ .bg-aqua { background-color:#00FCFC; }
.bg-neon-blue { background-color:#0056FE; }
.bg-neon-green { background-color:#00996D; }
.bg-lime { background-color:#79FD00; }
.bg-neon-yellow { background-color:#E1E166; }
.bg-neon-orange { background-color:#FFB400; }
.bg-neon-red { background-color:#EA1B00; }
.bg-neon-purple { background-color:#960096; }
.bg-neon-pink { background-color:#FF1160; }
.bg-neon-white { background-color:#C7C7FD; }
/**//*Fonts*//**/ /* I don't like the idee of colorfull text as it's not easy to read.
* But just in case someone crave for it, I have made this. */
.font-aqua { color:#00FCFC; }
.font-neon-blue { color:#0056FE; }
.font-neon-green { color:#00996D; }
.font-lime { color:#79FD00; }
.font-neon-yellow { color:#E1E166; }
.font-neon-orange { color:#FFB400; }
.font-neon-red { color:#EA1B00; }
.font-neon-purple { color:#960096; }
.font-neon-pink { color:#FF1160; }
.font-neon-white { color:#C7C7FD; }
/**//*Parallax*//**/ /* That's more cooler than the usual scroll
* (I know there's a mistake with "more cooler") */
.parallax { background-attachment:fixed; background-position: center;
background-repeat: no-repeat; background-size: cover;
}
/**//*Tab*//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//***/ /* Adjust the color of the active tab
*/
a.btn.nav-link.active, a.btn.nav-link:hover:not(.disabled), a.btn.nav-link:hover:not(:disabled) { background-color: #343A40 !important; border-color: #343A40 !important; }