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

 
(389 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
<head>
 
 
<style>
 
<style>
a
+
 
 +
/* OVERRIDE IGEM SETTINGS ---------------------------------------------- */
 +
 
 +
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading, .visualClear
 
{
 
{
     color: #000000;
+
     display: none;
 
}
 
}
  
p, label
+
#content
 
{
 
{
     margin-top: 2px;
+
     width: 100%;
     margin-bottom: 2px;
+
     padding: 0;
 +
    border: 0;
 
}
 
}
  
/* PANEL -------------------------------------------------------------------*/
+
#globalWrapper
 +
{
 +
    padding: 0;
 +
    font-size: 100%;
 +
}
  
#panel
+
#main-div ul, #main-div ol
 
{
 
{
     z-index: 100;
+
     margin: 0px 0px 10px 0;
    position: fixed;
+
}
  
     width: 100%;
+
#main-div ol li
    height: 60px;
+
{
 +
     margin-left: 30px;
 +
}
  
     border-bottom: 1px solid #777777;
+
#main-div ul li
 +
{
 +
     margin-left: 20px;
 +
    list-style: none;
 +
}
  
     left: 0;
+
#main-div ul li:before
     top: 18px;
+
{
 +
     content: "• ";
 +
    color: #CC1D24;
 +
    margin-left: -12px;
 +
     padding-right: 3px;
 +
    position: relative;
 +
    z-index: 5;
 +
}
  
     background-color: #D5D5D5;
+
#main-div ul.gallery li
 +
{
 +
     list-style: none;
 
}
 
}
  
#panel ul
+
#main-div ul.gallery li:before
 
{
 
{
     margin-left: 20%;
+
     content: ""
    list-style-type: none;
+
    padding-top: 10px 0;
+
 
}
 
}
  
#panel ul li
+
.image
 
{
 
{
     text-decoration: none;
+
    position: relative;
 +
    z-index: 20;
 +
}
 +
 
 +
.break
 +
{
 +
    clear: both;
 +
}
 +
 
 +
#main-div .thumb.tright
 +
{
 +
    border: 0;
 +
    margin: 1em;
 +
}
 +
 
 +
#main-div .thumbinner
 +
{
 +
    padding: 0 !important;
 +
    border: 0;
 +
    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-family: Roboto;
 +
    src: url(https://static.igem.org/mediawiki/2015/2/2e/Czech_Republic_Roboto-Light.ttf);
 +
    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;
 
     display: inline-block;
     padding: 10px;
+
     position: relative;  
 
}
 
}
  
#panel ul li a
+
h1 .mw-headline:after
 
{
 
{
     text-decoration: none;
+
     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;
 
     display: inline-block;
    padding: 0 0 0 10px;
 
 
}
 
}
  
#panel ul li:hover
+
.floatnone img
 
{
 
{
     background-color: #E05454;
+
     margin: 5px 0 15px 0;
 
}
 
}
  
#panel ul li:hover > a
+
pre
 
{
 
{
     color: #FFFFFF;
+
     word-wrap: break-word;
 +
    white-space: pre-wrap;
 +
    height: 8em;
 +
    overflow-y: scroll;
 +
    resize: vertical;
 
}
 
}
  
 +
/* GLOBAL --------------------------------------------------------------- */
  
/* HEADER ---------------------------------------------------------------- */
+
p, a
 +
{
 +
    margin-top: 2px;
 +
    margin-bottom: 10px;
 +
    text-align: justify;
 +
    position: relative;
 +
    z-index: 2;
 +
}
  
#header
+
#main-div a, #main-div a:visited,
 +
#main-div a.external, #main-div a.external:visited
 
{
 
{
     width: 100%;
+
     color: #CC1D24;
    border-bottom: 1px solid #777777;
+
    top: 0;
+
 
}
 
}
  
#header img
+
#main-div a.external
 
{
 
{
     width: 100%;
+
     background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QAzAAdACT9W2pXAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3wkQEC4amPZikgAAAP5JREFUKM+VkjtrAlEQhb97s5jVwgexsRCbBERThDwgRYr8Ba2sbLRLk9YmgbSC3XZbS3q7QCB2QrLpTG0hWIh2rhrWR6GEZffekAwMwwxzmJkzR3xkj/mvSU39AfA0jqEBPe3jNVAGFvs8BPICQAH0VdsEC4aZSkaBDDAAKoALxADzp8mPuLirM59M2+54cj547baAL6AAPAND5STHsjFTyepR/uQtd3vzCDSADlAEespJAELKOVBLF/PN75l7P3r/PAVGPnLCRzqWDcBmvW5kLs/6B5HIVZBV5Z8cy0ZI6a2Wy9JhIv4S2sanCE+ngM2Of0N1k+7RiD/K6FfbAqsCPj1oC/QAAAAAAElFTkSuQmCC)
 
}
 
}
  
/* CENTER ------------------------------------------------------------------*/
+
h1, h2, h3, h4, h5, h6
 +
{
 +
    margin: 15px 0px 0px 0px;
 +
    border: none;
 +
    padding: none;
 +
    color: #CC1D24;
 +
}
  
.center
+
hr
 
{
 
{
    width: 70%;
+
     margin: 1em 0 1.5em 0;
    clear: both;
+
    margin-left: auto;
+
     margin-right: auto;
+
 
}
 
}
  
/* NAVIGATION ---------------------------------------------------------------- */
+
/* TABLE --------------------------------------------------------------- */
  
#analyzer_button, #gas_button, #randomizer_button
+
.wikitable td
 
{
 
{
     clear: both;
+
     text-align: center;
    margin: 20px 10px 10px 10px;
+
     padding: 5px 20px;
    float: right;
+
    background-color: #FFFFFF;
+
     padding: 10px 20px;
+
    border: 1px solid #E05454;
+
    border-radius: 10px;
+
 
}
 
}
  
#analyzer_button:hover, #gas_button:hover, #randomizer_button:hover
+
.wikitable th
 
{
 
{
     background-color: #FFE0E0;
+
     text-align: left;
 +
    padding: 10px;
 
}
 
}
  
#gas_button
+
.wikitable
 
{
 
{
     float: left;
+
     width: 100%
    padding: 5px 10px;
+
 
}
 
}
  
#analyzer_button:hover > #wheel, #gas_button:hover > #catcher, #randomizer_button:hover > #square
+
/* TABLE OF CONTENTS --------------------------------------------------------------*/
 +
 
 +
@media screen and (min-width: 1800px)
 
{
 
{
    -webkit-animation-play-state: running;
+
#main-div #toc, #main-div .toc
     -moz-animation-play-state: running;
+
{
     -ms-animation-play-state: running;
+
    z-index: 98;
     -o-animation-play-state: running;
+
     position: fixed;
     animation-play-state: running;
+
 
 +
     left: 50%;
 +
     margin: 0px 0px 0px 540px;
 +
     top: 97px;
 +
 
 +
    padding: 0px;
 +
}
 
}
 
}
  
#wheel
+
#main-div #toc, #main-div .toc
 
{
 
{
     -webkit-animation: spin 3s linear infinite;
+
     border: none;
     -moz-animation: spin 3s linear infinite;
+
     background: transparent;
    -ms-animation: spin 3s linear infinite;
+
}
    -o-animation: spin 3s linear infinite;
+
    animation: spin 3s linear infinite;
+
  
    -webkit-animation-play-state: paused;
+
#main-div #toc #toctitle, #main-div .toc #toctitle
    -moz-animation-play-state: paused;
+
{
     -ms-animation-play-state: paused;
+
     text-align: left;
     -o-animation-play-state: paused;
+
     margin-bottom: 10px;
    animation-play-state: paused;
+
 
}
 
}
  
#catcher
+
#main-div #toc #toctitle h2, #main-div .toc #toctitle h2
 
{
 
{
     -webkit-animation: flip 2s linear infinite;
+
     font-size: 120%;
     -moz-animation: flip 2s linear infinite;
+
     margin-right: 10px;
    -ms-animation: flip 2s linear infinite;
+
}
    -o-animation: flip 2s linear infinite;
+
    animation: flip 2s linear infinite;
+
  
    -webkit-animation-play-state: paused;
+
#main-div #toc li
    -moz-animation-play-state: paused;
+
{
     -ms-animation-play-state: paused;
+
     margin-left: 0;
     -o-animation-play-state: paused;
+
     list-style: none;
    animation-play-state: paused;
+
 
}
 
}
  
#square
+
#main-div #toc ul li:before
 
{
 
{
     -webkit-animation: wobble 0.5s linear infinite;
+
     content: "";
    -moz-animation: wobble 0.5s linear infinite;
+
}
    -ms-animation: wobble 0.5s linear infinite;
+
    -o-animation: wobble 0.5s linear infinite;
+
    animation: wobble 0.5s linear infinite;
+
  
    -webkit-animation-play-state: paused;
+
/* PANEL -------------------------------------------------------------------*/
    -moz-animation-play-state: paused;
+
#panel
    -ms-animation-play-state: paused;
+
{
    -o-animation-play-state: paused;
+
    z-index: 100;
     animation-play-state: paused;
+
     position: fixed;
 +
 
 +
    height: 40px;
 +
    width: 100%;
 +
 
 +
    left: 0px;
 +
    top: 17px;
 +
 
 +
    background-color: #303030;
 
}
 
}
  
@-webkit-keyframes spin
+
.centered-list
 
{
 
{
  100%
+
     text-align: center;
  {
+
    width: 95%;
     -webkit-transform: rotate(360deg);
+
    margin: auto;
      -moz-transform: rotate(360deg);
+
        -ms-transform: rotate(360deg);
+
        -o-transform: rotate(360deg);
+
            transform: rotate(360deg);
+
  }
+
 
}
 
}
  
@keyframes spin
+
#panel-ul
 
{
 
{
  100%
+
     margin: 0px;
  {
+
    padding: 0px;
     -webkit-transform: rotate(360deg);
+
    list-style-type: none;
      -moz-transform: rotate(360deg);
+
    display: inline-block;
        -ms-transform: rotate(360deg);
+
        -o-transform: rotate(360deg);
+
            transform: rotate(360deg);
+
  }
+
 
}
 
}
  
@-webkit-keyframes flip
+
#panel-ul li
 
{
 
{
  100%
+
    display: inline-block;
  {
+
 
        -webkit-transform: rotateY(360deg);
+
    margin: 0px;
          -moz-transform: rotateY(360deg);
+
    padding: 0px 20px;
            -ms-transform: rotateY(360deg);
+
 
            -o-transform: rotateY(360deg);
+
    height: 100%;
                transform: rotateY(360deg);
+
  }
+
 
}
 
}
  
@keyframes flip
+
#panel-ul li a
 
{
 
{
     100%
+
     color: white;
 +
    text-decoration: none;
 +
 
 +
    margin: 0px;
 +
    padding: 0px;
 +
}
 +
 
 +
#panel-ul-logo {
 +
    display: inline-block;
 +
    margin: 0;
 +
}
 +
 
 +
#panel-ul-logo img {
 +
    vertical-align: middle;
 +
    width: 112px;
 +
    height: 40px;
 +
}
 +
 
 +
#panel-ul li:hover > a, #panel-ul-logo:hover
 +
{
 +
    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
 
     {
 
     {
         -webkit-transform: rotateY(360deg);
+
        transition: opacity 0.3s ease;
          -moz-transform: rotateY(360deg);
+
         -webkit-transition: opacity 0.3s ease;
            -ms-transform: rotateY(360deg);
+
        -moz-transition: opacity 0.3s ease;
            -o-transform: rotateY(360deg);
+
        -o-transition: opacity 0.3s ease;
                transform: rotateY(360deg);
+
        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;
 
     }
 
     }
 
}
 
}
  
@-webkit-keyframes wobble
+
/* CONTENT ------------------------------------------------------------------*/
 +
 
 +
#home-div
 
{
 
{
  0%
+
    left: 0;
  {
+
    margin: 0;
      -webkit-transform:  rotate(0deg);
+
    padding: 0;
          -moz-transform: rotate(0deg);
+
          -ms-transform: rotate(0deg);
+
            -o-transform: rotate(0deg);
+
              transform: rotate(0deg);
+
  }
+
  25%
+
  {
+
      -webkit-transform:  rotate(15deg);
+
          -moz-transform: rotate(15deg);
+
          -ms-transform: rotate(15deg);
+
            -o-transform: rotate(15deg);
+
              transform: rotate(15deg);
+
  }
+
  75%
+
  {
+
      -webkit-transform:  rotate(-15deg);
+
          -moz-transform: rotate(-15deg);
+
          -ms-transform: rotate(-15deg);
+
            -o-transform: rotate(-15deg);
+
              transform: rotate(-15deg);
+
  }
+
  100%
+
  {
+
      -webkit-transform:  rotate(0deg);
+
          -moz-transform: rotate(0deg);
+
          -ms-transform: rotate(0deg);
+
            -o-transform: rotate(0deg);
+
              transform: rotate(0deg);
+
  }
+
 
}
 
}
  
@keyframes wobble
+
#main-div
 
{
 
{
  0%
+
    left: 0;
  {
+
    margin: 0;
      -webkit-transform:  rotate(0deg);
+
    padding: 45px 20px 40px 20px;
          -moz-transform: rotate(0deg);
+
 
          -ms-transform: rotate(0deg);
+
    width: 960px;
            -o-transform: rotate(0deg);
+
    margin: 0px auto;
              transform: rotate(0deg);
+
  }
+
  25%
+
  {
+
      -webkit-transform: rotate(15deg);
+
          -moz-transform: rotate(15deg);
+
          -ms-transform: rotate(15deg);
+
            -o-transform: rotate(15deg);
+
              transform: rotate(15deg);
+
  }
+
  75%
+
  {
+
      -webkit-transform:  rotate(-15deg);
+
          -moz-transform: rotate(-15deg);
+
          -ms-transform: rotate(-15deg);
+
            -o-transform: rotate(-15deg);
+
              transform: rotate(-15deg);
+
  }
+
  100%
+
  {
+
      -webkit-transform:  rotate(0deg);
+
          -moz-transform: rotate(0deg);
+
          -ms-transform: rotate(0deg);
+
            -o-transform: rotate(0deg);
+
              transform: rotate(0deg);
+
  }
+
 
}
 
}
  
/* BUTTONS ------------------------------------------------------------*/
+
#header
 +
{
 +
    width: 100%;
 +
 
 +
    left: 0;
 +
    margin: 0;
 +
    padding:0;
 +
}
  
.button_big
+
.left
 
{
 
{
background-color:#FFFFFF;
+
    display: inline-block;
color: #000000;
+
    float: left;
font-size:18px;
+
    width: 475px;
border-radius:5px;
+
}
border: 1px solid #777777;
+
 
width:160px;
+
.right
height:35px;
+
{
 +
    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;
 
     cursor: pointer;
 
}
 
}
  
.button_small
+
.visibility-toggle:hover
 
{
 
{
background-color:#FFFFFF;
+
    text-decoration: underline;
color:#000000;
+
font-size:18px;
+
border-radius:5px;
+
border: 1px solid #777777;
+
width:90px;
+
height:26px;
+
        cursor: pointer;
+
 
}
 
}
  
.button_big.red, .button_small.red
+
.thumb
 
{
 
{
     border-color: #E05454;
+
     z-index: 5;
 +
    position: relative;
 
}
 
}
  
.button_big.red:hover, .button_small.red:hover
+
video
 
{
 
{
     background-color: #FFE0E0;
+
     margin: 1em;
    border-color: #E05454;
+
    border-width: 2px;
+
 
}
 
}
  
.button_big:hover, .button_small:hover
+
/* FOOTER ------------------------------------------------------------------*/
 +
 
 +
#footer
 
{
 
{
     background-color: #D5D5D5;
+
     width: 100%;
     border-color: #000000;
+
     position: relative;
     border-width: 2px;
+
    left: 0;
 +
    bottom: 0;
 +
 
 +
    clear: both;
 +
 
 +
    background-color: #F2F2F2;
 +
     color: black;
 
}
 
}
 +
 +
#footer-container
 +
{
 +
    width: 100%;
 +
 +
    padding: 4em 0 4em 0;
 +
    margin: 0 0;
 +
}
 +
 +
#footer-right, #footer-left
 +
{
 +
    display: inline-block;
 +
    vertical-align: top;
 +
    margin: 0 8%
 +
}
 +
 +
#footer h1
 +
{
 +
    color: #CC1D24;
 +
    font-size: 15px;
 +
    font-weight: 700;
 +
 +
    border: 0;
 +
    padding: 0;
 +
    margin: 0 0 2em;
 +
 +
    float: left;
 +
}
 +
 +
#footer p, #footer a
 +
{
 +
    text-decoration: none;
 +
    color: inherit;
 +
 +
    font-size: 14px;
 +
    font-weight: 300;
 +
    line-height: 1em;
 +
 +
    margin: 0 0 3px;
 +
    padding: 0;
 +
 +
    clear: both;
 +
    float: left;
 +
}
 +
 +
#footer a:hover
 +
{
 +
    text-decoration: underline;
 +
    color: #CC1D24;
 +
}
 +
 
</style>
 
</style>
</head>
 
 
</html>
 
</html>

Latest revision as of 15:18, 18 September 2015