Difference between revisions of "Team:Czech Republic/Template:Stylesheet"

 
(229 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
<head>
 
 
<style>
 
<style>
  
Line 20: Line 19:
 
{
 
{
 
     padding: 0;
 
     padding: 0;
 +
    font-size: 100%;
 
}
 
}
  
ul
+
#main-div ul, #main-div ol
 
{
 
{
     margin: 0px;
+
     margin: 0px 0px 10px 0;
 
}
 
}
  
#top_menu_14
+
#main-div ol li
 
{
 
{
     background-color: #050509;
+
     margin-left: 30px;
    position: absolute;
+
    bottom: 0px;
+
    top: auto;
+
    border: none;
+
    padding-bottom: 20px;
+
 
}
 
}
  
#top_menu_inside
+
#main-div ul li
 
{
 
{
    width: 80%;
+
     margin-left: 20px;
    padding: 0px;
+
     list-style: none;
     margin: 0px auto;
+
     border: none;
+
 
}
 
}
  
#top_menu_inside li
+
#main-div ul li:before
 
{
 
{
     padding: 0 10px 0 10px;
+
    content: "• ";
 +
    color: #CC1D24;
 +
    margin-left: -12px;
 +
     padding-right: 3px;
 +
    position: relative;
 +
    z-index: 5;
 
}
 
}
  
#top_menu_inside #bars_item
+
#main-div ul.gallery li
 
{
 
{
     right: 10px;
+
     list-style: none;
    left: auto;
+
    position: absolute;
+
 
}
 
}
  
#top_menu_inside #user_item
+
#main-div ul.gallery li:before
 
{
 
{
     right: auto;
+
     content: ""
    left: auto;
+
    position: static;
+
    margin: 0 0 0 10px;
+
    float: left;
+
    width: 100px;
+
 
}
 
}
  
#top_menu_inside .submenu
+
.image
 
{
 
{
     top: auto;
+
     position: relative;
     bottom: 16px;
+
     z-index: 20;
 
}
 
}
  
#top_menu_inside #bars_box
+
.break
 
{
 
{
     top: auto;
+
     clear: both;
    bottom: 17px;
+
 
}
 
}
  
/* GLOBAL --------------------------------------------------------------- */
+
#main-div .thumb.tright
 +
{
 +
    border: 0;
 +
    margin: 1em;
 +
}
  
@font-face
+
#main-div .thumbinner
 
{
 
{
     font-family: Roboto;
+
     padding: 0 !important;
     source: url(https://static.igem.org/mediawiki/2015/2/2e/Czech_Republic_Roboto-Light.ttf);
+
     border: 0;
     font-weight: normal;
+
     background-color: transparent;
 
}
 
}
  
 +
#main-div .thumbinner a img
 +
{
 +
    border: 0;
 +
}
 +
 +
#main-div .thumb div
 +
{
 +
    background-color: transparent;
 +
}
 +
 +
#main-div .thumbcaption
 +
{
 +
    text-align: justify;
 +
    font-weight: 400;
 +
    font-size: 11px;
 +
    color: #505050;
 +
}
 +
 +
#main-div .thumbcaption .magnify
 +
{
 +
    display: none;
 +
}
 +
 +
#main-div dd
 +
{
 +
    margin-left: 0.2em;
 +
}
 +
 +
/* GLOBAL FONT SETTINGS ---------------------------------------------- */
  
 
@font-face
 
@font-face
 
{
 
{
 
     font-family: Roboto;
 
     font-family: Roboto;
     source: url(https://static.igem.org/mediawiki/2015/1/10/Czech_Republic_Roboto-Bold.ttf);
+
     src: url(https://static.igem.org/mediawiki/2015/2/2e/Czech_Republic_Roboto-Light.ttf);
     font-weight: bold;
+
     font-weight: 300;
 
}
 
}
 +
@font-face
 +
{
 +
    font-family: Roboto;
 +
    src: url(https://static.igem.org/mediawiki/2015/1/10/Czech_Republic_Roboto-Bold.ttf);
 +
    font-weight: 700;
 +
}
 +
@font-face
 +
{
 +
    font-family: Roboto;
 +
    src: url(https://static.igem.org/mediawiki/2015/1/11/Czech_Republic_Roboto-Regular.ttf);
 +
    font-weight: 400;
 +
}
 +
 +
#bodyContent, body, html
 +
{
 +
    font-family: "Roboto", sans-serif;
 +
    font-weight: 300;
 +
    font-size: 14px;
 +
    background-color: white;
 +
}
 +
 +
strong, b
 +
{
 +
  color: #000000;
 +
  font-weight: 700;
 +
}
 +
 +
header
 +
{
 +
    margin: 0 0 20px 0;
 +
    padding: 0;
 +
}
 +
 +
.info-box
 +
{
 +
}
 +
 +
.info-box .right h2
 +
{
 +
    margin-left: 0.25em;
 +
}
 +
 +
.info-box h2
 +
{
 +
    margin-top: 0;
 +
}
 +
 +
.toclevel-3, .toclevel-4, .toclevel-5
 +
{
 +
    display: none;
 +
}
 +
 +
#main-div header h1
 +
{
 +
    margin: 0;
 +
    font-size: 48px;
 +
    font-weight: 400;
 +
    text-transform: uppercase;
 +
    color: #303030;
 +
}
 +
 +
#main-div h1, #main-div h2
 +
{
 +
    clear: both;
 +
}
 +
 +
#main-div h6
 +
{
 +
    font-weight: 400;
 +
    font-size: 1.2em;
 +
    color: #303030;
 +
}
 +
 +
#main-div h5
 +
{
 +
    font-weight: 400;
 +
    font-size: 1.3em;
 +
    color: #303030;
 +
}
 +
 +
#main-div h4
 +
{
 +
    font-weight: 700;
 +
    font-size: 1.3em;
 +
    color: #303030;
 +
}
 +
 +
#main-div h3
 +
{
 +
    font-weight: 700;
 +
    font-size: 1.4em;
 +
    color: #303030;
 +
}
 +
 +
#main-div h2
 +
{
 +
    font-weight: 700;
 +
    font-size: 1.5em;
 +
}
 +
 +
#main-div h1
 +
{
 +
    font-weight: 700;
 +
    font-size: 1.8em;
 +
}
 +
 +
address
 +
{
 +
    font-style: normal;
 +
}
 +
 +
/* WKIMEDIA HEADERS ---------------------------------------------- */
 +
 +
.mw-headline
 +
{
 +
    border-top: 70px solid transparent;
 +
    margin-top: -70px;
 +
    display: inline-block;
 +
    position: relative;
 +
}
 +
 +
h1 .mw-headline:after
 +
{
 +
    content: "";
 +
    position: absolute;
 +
    height: 0.5em;
 +
 +
    border-bottom: 1px solid #CC1D24;
 +
   
 +
    margin-left: 10px;
 +
    top: 0;
 +
    left: 100%;
 +
 +
    width: 100px;
 +
    width: -webkit-calc(950px - 100%);
 +
    width: calc(950px - 100%);
 +
}
 +
 +
.ref-back
 +
{
 +
    border-top: 70px solid transparent;
 +
    margin-top: -70px;
 +
    display: inline-block;
 +
}
 +
 +
.floatnone img
 +
{
 +
    margin: 5px 0 15px 0;
 +
}
 +
 +
pre
 +
{
 +
    word-wrap: break-word;
 +
    white-space: pre-wrap;
 +
    height: 8em;
 +
    overflow-y: scroll;
 +
    resize: vertical;
 +
}
 +
 +
/* GLOBAL --------------------------------------------------------------- */
  
 
p, a
 
p, a
 
{
 
{
    color: black;
 
 
     margin-top: 2px;
 
     margin-top: 2px;
     margin-bottom: 2px;
+
     margin-bottom: 10px;
 +
    text-align: justify;
 +
    position: relative;
 +
    z-index: 2;
 
}
 
}
  
html
+
#main-div a, #main-div a:visited,
 +
#main-div a.external, #main-div a.external:visited
 
{
 
{
     background-color: white;
+
     color: #CC1D24;
    font-family: "HelveticaNeue-Light";
+
 
}
 
}
  
/* SIDE PANEL --------------------------------------------------------------*/
+
#main-div a.external
 +
{
 +
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QAzAAdACT9W2pXAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3wkQEC4amPZikgAAAP5JREFUKM+VkjtrAlEQhb97s5jVwgexsRCbBERThDwgRYr8Ba2sbLRLk9YmgbSC3XZbS3q7QCB2QrLpTG0hWIh2rhrWR6GEZffekAwMwwxzmJkzR3xkj/mvSU39AfA0jqEBPe3jNVAGFvs8BPICQAH0VdsEC4aZSkaBDDAAKoALxADzp8mPuLirM59M2+54cj547baAL6AAPAND5STHsjFTyepR/uQtd3vzCDSADlAEespJAELKOVBLF/PN75l7P3r/PAVGPnLCRzqWDcBmvW5kLs/6B5HIVZBV5Z8cy0ZI6a2Wy9JhIv4S2sanCE+ngM2Of0N1k+7RiD/K6FfbAqsCPj1oC/QAAAAAAElFTkSuQmCC)
 +
}
  
#side-panel
+
h1, h2, h3, h4, h5, h6
 +
{
 +
    margin: 15px 0px 0px 0px;
 +
    border: none;
 +
    padding: none;
 +
    color: #CC1D24;
 +
}
 +
 
 +
hr
 +
{
 +
    margin: 1em 0 1.5em 0;
 +
}
 +
 
 +
/* TABLE --------------------------------------------------------------- */
 +
 
 +
.wikitable td
 +
{
 +
    text-align: center;
 +
    padding: 5px 20px;
 +
}
 +
 
 +
.wikitable th
 +
{
 +
    text-align: left;
 +
    padding: 10px;
 +
}
 +
 
 +
.wikitable
 +
{
 +
    width: 100%
 +
}
 +
 
 +
/* TABLE OF CONTENTS --------------------------------------------------------------*/
 +
 
 +
@media screen and (min-width: 1800px)
 +
{
 +
#main-div #toc, #main-div .toc
 
{
 
{
 
     z-index: 98;
 
     z-index: 98;
Line 117: Line 341:
  
 
     left: 50%;
 
     left: 50%;
     margin: 0px 0px 300px -660px;
+
     margin: 0px 0px 0px 540px;
     top: 80px;
+
     top: 97px;
  
 
     padding: 0px;
 
     padding: 0px;
 +
}
 
}
 
}
  
#side-panel-ul
+
#main-div #toc, #main-div .toc
 
{
 
{
     margin: 0px;;
+
     border: none;
     padding: 0px;
+
     background: transparent;
    list-style-type: none;
+
 
}
 
}
  
#side-panel-ul li
+
#main-div #toc #toctitle, #main-div .toc #toctitle
 
{
 
{
     display: flex;
+
     text-align: left;
    padding: 0px;
+
     margin-bottom: 10px;
     margin: -2px 0px -2px 0px;
+
    z-index: 98;
+
    position: relative;
+
    border-top: 2px solid #C4C4C4;
+
    border-bottom: 2px solid #C4C4C4;
+
    text-align: center;
+
 
}
 
}
  
#side-panel-ul li a
+
#main-div #toc #toctitle h2, #main-div .toc #toctitle h2
 
{
 
{
     text-decoration: none;
+
     font-size: 120%;
    color: inherit;
+
     margin-right: 10px;
    padding: 8px 30px;
+
     margin: 0px;   
+
    font-size: 15px;
+
    width: 100%;
+
 
}
 
}
  
#side-panel-ul li:hover
+
#main-div #toc li
 
{
 
{
     border-color: #19BAE0;
+
     margin-left: 0;
     z-index: 99;
+
     list-style: none;
 
}
 
}
  
#side-panel-ul li:hover > a
+
#main-div #toc ul li:before
 
{
 
{
     color: #19BAE0;
+
     content: "";
 
}
 
}
  
 
/* PANEL -------------------------------------------------------------------*/
 
/* PANEL -------------------------------------------------------------------*/
 
 
#panel
 
#panel
 
{
 
{
Line 170: Line 383:
 
     position: fixed;
 
     position: fixed;
  
 +
    height: 40px;
 
     width: 100%;
 
     width: 100%;
  
 
     left: 0px;
 
     left: 0px;
     top: 0px;
+
     top: 17px;
  
     background-color: #19BAE0;
+
     background-color: #303030;
 
}
 
}
  
Line 184: Line 398:
 
     margin: auto;
 
     margin: auto;
 
}
 
}
.
 
  
 
#panel-ul
 
#panel-ul
 
{
 
{
     margin: 0px;;
+
     margin: 0px;
 
     padding: 0px;
 
     padding: 0px;
 
     list-style-type: none;
 
     list-style-type: none;
 +
    display: inline-block;
 
}
 
}
  
Line 196: Line 410:
 
{
 
{
 
     display: inline-block;
 
     display: inline-block;
 +
 
     margin: 0px;
 
     margin: 0px;
     padding: 0px;
+
     padding: 0px 20px;
 +
 
 +
    height: 100%;
 
}
 
}
  
 
#panel-ul li a
 
#panel-ul li a
 
{
 
{
 +
    color: white;
 
     text-decoration: none;
 
     text-decoration: none;
     color: inherit;
+
 
 +
     margin: 0px;
 +
    padding: 0px;
 +
}
 +
 
 +
#panel-ul-logo {
 
     display: inline-block;
 
     display: inline-block;
    padding: 10px 20px;
+
     margin: 0;
     margin: 0px;   
+
    font-size: 15px;
+
 
}
 
}
  
#panel-ul li:hover
+
#panel-ul-logo img {
 +
    vertical-align: middle;
 +
    width: 112px;
 +
    height: 40px;
 +
}
 +
 
 +
#panel-ul li:hover > a, #panel-ul-logo:hover
 
{
 
{
     background-color: white;
+
     text-decoration: none;
 +
    transition: opacity 0.2s ease;
 +
    -webkit-transition: opacity 0.3s ease;
 +
    -moz-transition: opacity 0.3s ease;
 +
    -o-transition: opacity 0.3s ease;
 +
    opacity: 0.65;
 +
}
 +
 
 +
/* MOBILE VERSION ------------------------------------ */
 +
 
 +
#panel-ul-switch {
 +
    display: inline-block;
 +
}
 +
 
 +
@media screen and (max-width: 1000px)
 +
{
 +
    .centered-list {
 +
        position: relative;
 +
    }
 +
 
 +
    #panel-ul-logo {
 +
        float: left;
 +
    }
 +
   
 +
    #panel-ul {
 +
        display: none;
 +
    }
 +
 
 +
    #panel-ul-switch:hover #panel-ul {
 +
        display: block;
 +
    }
 +
 
 +
    #panel-ul-button:hover > div > div
 +
    {
 +
        transition: opacity 0.3s ease;
 +
        -webkit-transition: opacity 0.3s ease;
 +
        -moz-transition: opacity 0.3s ease;
 +
        -o-transition: opacity 0.3s ease;
 +
        opacity: 0.65;
 +
    }
 +
 
 +
    #panel-ul-switch #panel-ul {
 +
        position: absolute;
 +
        background-color: #303030;
 +
        width: 200px;
 +
        top: 40px;
 +
        right: 0;
 +
    }
 +
 
 +
    #panel-ul-switch {
 +
        float: right;
 +
    }
 +
 
 +
    #panel-ul li, #panel-ul li a {
 +
        display: block;
 +
    }
 +
 
 +
    #panel-ul li
 +
    {
 +
        padding: 10px 20px;
 +
    }
 +
 
 +
    #panel-ul-button {
 +
        display: inline-block;
 +
        width: 30px;
 +
        height: 30px;
 +
        margin: 5px;
 +
        cursor: pointer;
 +
    }
 +
 
 +
    #panel-ul-button > div > div
 +
    {
 +
        background-color: white;
 +
        height: 4px;
 +
        width: 25px;
 +
        margin: 4px 0px;
 +
    }
 
}
 
}
  
Line 228: Line 531:
 
     left: 0;
 
     left: 0;
 
     margin: 0;
 
     margin: 0;
     padding: 80px 120px;
+
     padding: 45px 20px 40px 20px;
  
     width: 980px;
+
     width: 960px;
 
     margin: 0px auto;
 
     margin: 0px auto;
 
}
 
}
Line 241: Line 544:
 
     margin: 0;
 
     margin: 0;
 
     padding:0;
 
     padding:0;
 +
}
 +
 +
.left
 +
{
 +
    display: inline-block;
 +
    float: left;
 +
    width: 475px;
 +
}
 +
 +
.right
 +
{
 +
    display: inline-block;
 +
    float: right;
 +
    width: 475px;
 +
}
 +
 +
.left .mw-headline:after, .right .mw-headline:after
 +
{
 +
    width: 100px;
 +
    width: -webkit-calc(465px - 100%);
 +
    width: calc(465px - 100%);
 +
}
 +
 +
.visibility-toggle
 +
{
 +
    color: #CC1D24;
 +
    cursor: pointer;
 +
}
 +
 +
.visibility-toggle:hover
 +
{
 +
    text-decoration: underline;
 +
}
 +
 +
.thumb
 +
{
 +
    z-index: 5;
 +
    position: relative;
 +
}
 +
 +
video
 +
{
 +
    margin: 1em;
 
}
 
}
  
Line 254: Line 600:
 
     clear: both;
 
     clear: both;
  
     background-color: #050509;
+
     background-color: #F2F2F2;
     color: #19BAE0;
+
     color: black;
 
}
 
}
  
 
#footer-container
 
#footer-container
 
{
 
{
     width: 80%;
+
     width: 100%;
  
     padding: 0 0 50px 0;
+
     padding: 4em 0 4em 0;
     margin: 0 auto;
+
     margin: 0 0;
}
+
 
+
#footer-container-list
+
{
+
    padding-bottom: 40px;
+
    border-bottom: 2px solid #9A9B9F;
+
 
}
 
}
  
#footer-left
+
#footer-right, #footer-left
 
{
 
{
 
     display: inline-block;
 
     display: inline-block;
 
     vertical-align: top;
 
     vertical-align: top;
     position: relative;
+
     margin: 0 8%
    width: 40%;
+
 
+
}
+
 
+
#footer-right
+
{
+
    display: inline-block;
+
    vertical-align: top;
+
    position: relative;
+
    width: 40%;
+
 
}
 
}
  
 
#footer h1
 
#footer h1
 
{
 
{
     color: white;
+
     color: #CC1D24;
 
     font-size: 15px;
 
     font-size: 15px;
     font-weight: bold;
+
     font-weight: 700;
  
 
     border: 0;
 
     border: 0;
 
     padding: 0;
 
     padding: 0;
     margin: 40px 0 30px 25%;
+
     margin: 0 0 2em;
  
 
     float: left;
 
     float: left;
Line 306: Line 636:
 
     text-decoration: none;
 
     text-decoration: none;
 
     color: inherit;
 
     color: inherit;
     font-size: 15px;
+
 
 +
     font-size: 14px;
 +
    font-weight: 300;
 
     line-height: 1em;
 
     line-height: 1em;
  
     margin: 0 0 8px 25%;
+
     margin: 0 0 3px;
 
     padding: 0;
 
     padding: 0;
  
Line 319: Line 651:
 
{
 
{
 
     text-decoration: underline;
 
     text-decoration: underline;
 +
    color: #CC1D24;
 
}
 
}
  
 
</style>
 
</style>
</head>
 
 
</html>
 
</html>

Latest revision as of 15:18, 18 September 2015