Difference between revisions of "Template:Edigem15 Design"

(Created page with "<html> <!-- Start of CSS--> <style type="text/css"> #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear { display: no...")
 
 
(55 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
+
gh
 
<!-- Start of CSS-->
 
<!-- Start of CSS-->
 
<style type="text/css">
 
<style type="text/css">
 
 
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear
 
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear
  
Line 28: Line 27:
 
height: 100%;
 
height: 100%;
 
border: 0px;
 
border: 0px;
background-color: transparent;
+
background-color: #fff;
 
margin: 0px;
 
margin: 0px;
 
padding: 0px;
 
padding: 0px;
Line 38: Line 37:
 
width: 100%;
 
width: 100%;
 
height: 100%;
 
height: 100%;
margin-left: auto;
+
margin-left: none;
margin-right: auto;
+
margin-right: none;
background-color: transparent;
+
background-color: #fff;
 +
                        border: none;
 
padding: 0px;
 
padding: 0px;
 
font-size: 100%;
 
font-size: 100%;
Line 53: Line 53:
 
         margin: 0px;
 
         margin: 0px;
 
         padding: 0px;
 
         padding: 0px;
         background-color: #000;
+
         background-color: #fff;
 
         -webkit-background-size: cover;
 
         -webkit-background-size: cover;
 
         -moz-background-size: cover;
 
         -moz-background-size: cover;
 
         -o-background-size: cover;
 
         -o-background-size: cover;
 
         background-size: cover;
 
         background-size: cover;
}
 
 
 
body {
 
    width: 100%;
 
    height: 100%;
 
    font-family: Lora,"Helvetica Neue",Helvetica,Arial,sans-serif;
 
    color: #fff;
 
    background-color: #000;
 
}
 
 
html {
 
    width: 100%;
 
    height: 100%;
 
}
 
 
h1,
 
h2,
 
h3,
 
h4,
 
h5,
 
h6 {
 
    margin: none;
 
    text-transform: uppercase;
 
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
 
    font-weight: 700;
 
    letter-spacing: 1px;
 
border-bottom: none;
 
 
 
 
}
 
}
  
Line 96: Line 66:
 
}
 
}
  
@media(min-width:768px) {
+
 
    p {
+
        margin: 0 0 35px;
+
        font-size: 20px;
+
        line-height: 1.6;
+
    }
+
}
+
  
  
Line 108: Line 72:
 
     display: table;
 
     display: table;
 
     width: 100%;
 
     width: 100%;
     height: auto;
+
     height: 100;
 
     text-align: center;
 
     text-align: center;
 
     color: #fff;
 
     color: #fff;
     background-color: #000;
+
     background-color: #fff;
     background: url("https://static.igem.org/mediawiki/2015/6/62/Edigem15_practices_Story.png") no-repeat bottom center scroll;  
+
     background: url("https://static.igem.org/mediawiki/2015/7/78/Edigem15_Design_tower.jpeg") no-repeat bottom center scroll;  
 
     -webkit-background-size: cover;
 
     -webkit-background-size: cover;
 
     -moz-background-size: cover;
 
     -moz-background-size: cover;
Line 126: Line 90:
  
 
.intro .intro-body .brand-heading {
 
.intro .intro-body .brand-heading {
 +
color: #000;
 
     margin-top: 15%;
 
     margin-top: 15%;
 
     font-size: 40px;
 
     font-size: 40px;
Line 139: Line 104:
 
@media(min-width:768px) {
 
@media(min-width:768px) {
 
     .intro {
 
     .intro {
         height: 50%;
+
         height: 100%;
 
         padding: 0;
 
         padding: 0;
         box-shadow: 0 -100px 100px #000 inset;
+
         box-shadow: 0 -100px 100px #fff inset;
 
     }
 
     }
  
Line 153: Line 118:
 
}
 
}
  
 
+
body {
/*foreword*/
+
    width: 100%;
 
+
    height: 100%;
 
+
     font-family: Lora,"Helvetica Neue",Helvetica,Arial,sans-serif;
header .intro-text {
+
     color: #fff;
     padding-top: 50px;
+
    background-color: #000;
     padding-bottom: 50px;
+
 
}
 
}
  
header .intro-text .intro-lead-in {
+
html {
     margin-bottom: 25px;
+
     width: 100%;
     font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
+
     height: 100%;
    font-size: 22px;
+
    font-style: italic;
+
    line-height: 22px;
+
text-color: #fff;
+
 
+
 
}
 
}
  
header .intro-text .intro-heading {
+
h1,
     margin-bottom: 25px;
+
h2,
 +
h3,
 +
h4,
 +
h5,
 +
h6 {
 +
     margin: none;
 
     text-transform: uppercase;
 
     text-transform: uppercase;
 
     font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
 
     font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 50px;
 
 
     font-weight: 700;
 
     font-weight: 700;
     line-height: 50px;
+
     letter-spacing: 1px;
 +
border-bottom: none;
 +
 
 +
 
 +
}
 +
.arrowtext
 +
{
 +
    width: 100%;
 +
    display: block;
 
}
 
}
  
@media(min-width:768px) {
+
.arrow
    header .intro-text {
+
{
        padding-top: 50px;
+
    height: 50px;
        padding-bottom: 100px;
+
    width: 100px;
     }
+
     opacity: 0.7;
 +
}
  
    header .intro-text .intro-lead-in {
 
        margin-bottom: 25px;
 
        font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
 
        font-size: 40px;
 
        font-style: italic;
 
        line-height: 40px;
 
    }
 
  
    header .intro-text .intro-heading {
+
/*COMPONENTS*/
        margin-bottom: 50px;
+
 
        text-transform: uppercase;
+
*,
        font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
+
*:after,
        font-size: 75px;
+
*::before {
        font-weight: 700;
+
-webkit-box-sizing: border-box;
        line-height: 75px;
+
-moz-box-sizing: border-box;
    }
+
box-sizing: border-box;
 +
}
 +
 
 +
/* General styles and layout */
 +
 
 +
 
 +
 
 +
.container {
 +
overflow: hidden;
 +
/* we don't want the pseudo-elements sticking out */
 +
}
 +
 
 +
.container svg {
 +
display: block;
 
}
 
}
  
 
section {
 
section {
    padding: 10px 0;
+
        width: 100%;
 +
position: relative;
 +
padding: 10em 10%;
 +
background: #fff;
 +
color: #740404;
 +
text-align: center;
 
}
 
}
  
section h2.section-heading
+
section h2 {
{
+
        color: #740404;
    margin-top: 0;
+
margin: 0;
    margin-bottom: 15px;
+
padding: 0;
    font-size: 40px;
+
font-size: 2.8em;
    color: white;
+
font-weight: 400;
border-bottom: none;
+
}
  
 +
section p {
 +
color: #740404;
 +
font-size: 1.3em;
 +
line-height: 1.5;
 +
        text-align: justify;
 +
}
  
 +
.text:first-child {
 +
text-align: right;
 
}
 
}
  
section h3.section-subheading {
+
.text:nth-child(2) {
    margin-bottom: 75px;
+
text-align: left;
    text-transform: none;
+
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
+
    font-size: 16px;
+
    font-style: italic;
+
    font-weight: 400;
+
 
}
 
}
  
@media(min-width:768px) {
+
.col-2 .column {
    section {
+
width: 49%;
        padding: 10px 0;
+
    }
+
 
}
 
}
  
.service-heading {
+
.col-3 .column {
    margin: 15px 0;
+
padding: 0 1%;
    text-transform: none;
+
width: 33%;
 +
text-align: center;
 
}
 
}
  
 +
.col-3 .column p {
 +
padding: 1.4em;
 +
}
  
/*timeline */
+
.column {
 +
display: inline-block;
 +
vertical-align: top;
 +
}
  
.timeline {
+
.icon {
    position: relative;
+
display: block;
    padding:4px 0 0 0;
+
width: 2em;
    margin-top:22px;
+
height: 2em;
    list-style: none;
+
border-radius: 50%;
 +
background: rgba(0,0,0,0.1);
 +
color: #fff;
 +
text-align: center;
 +
font-size: 8em;
 +
line-height: 2em;
 +
margin: 0 auto;
 
}
 
}
  
.timeline>li:nth-child(even) {
+
section.color h2 {
    position: relative;
+
color: #fff;
    margin-bottom: 50px;
+
    height: 180px;
+
    right:-100px;
+
 
}
 
}
  
.timeline>li:nth-child(odd) {
+
section.color p {
    position: relative;
+
color: #fff;
    margin-bottom: 50px;
+
    height: 180px;
+
    left:-100px;
+
 
}
 
}
  
.timeline>li:before,
+
.color {
.timeline>li:after {
+
background: #000;
    content: " ";
+
    display: table;
+
 
}
 
}
  
.timeline>li:after {
+
/*** Individual section styles and separators ***/
    clear: both;
+
 
    min-height: 170px;
+
/* Common style for pseudo-elements */
 +
section::before,
 +
section::after {
 +
position: absolute;
 +
content: '';
 +
pointer-events: none;
 
}
 
}
  
.timeline > li .timeline-panel {
+
/* Triangles */
  position: relative;
+
.ss-style-triangles::before,
  float: left;
+
.ss-style-triangles::after {
  width: 41%;
+
left: 50%;
  padding: 0 20px 20px 30px;
+
width: 100px;
  text-align: right;
+
height: 100px;
 +
-webkit-transform: translateX(-50%) rotate(45deg);
 +
transform: translateX(-50%) rotate(45deg);
 
}
 
}
  
.timeline>li .timeline-panel:before {
+
.ss-style-triangles::before {
    right: auto;
+
top: -50px;
    left: -15px;
+
background: #2980b9;
    border-right-width: 15px;
+
    border-left-width: 0;
+
 
}
 
}
  
.timeline>li .timeline-panel:after {
+
.ss-style-triangles::after {
    right: auto;
+
bottom: -50px;
    left: -14px;
+
z-index: 10;
    border-right-width: 14px;
+
background: inherit;
    border-left-width: 0;
+
 
}
 
}
  
.timeline>li .timeline-image {
+
/* Double Diagonal line */
    z-index: 100;
+
 
    position: absolute;
+
.ss-style-doublediagonal {
    left: 50%;
+
z-index: 1;
    border: 7px solid #fff;
+
padding-top: 6em;
    border-radius: 100%;
+
/*background: #391919;*/
    background-color: #fff;
+
    box-shadow: 0 0 5px #fff;
+
    width: 200px;
+
    height: 200px;
+
    margin-left: -100px;
+
 
}
 
}
  
.timeline>li .timeline-image h4 {
+
.ss-style-doublediagonal::before,
    margin-top: 12px;
+
.ss-style-doublediagonal::after {
    font-size: 10px;
+
top: 0;
    line-height: 14px;
+
left: -25%;
 +
z-index: -1;
 +
width: 100%;
 +
height: 75%;
 +
background: inherit;
 +
-webkit-transform: rotate(-2deg);
 +
transform: rotate(-2deg);
 +
-webkit-transform-origin: 0 0;
 +
transform-origin: 0 0;
 
}
 
}
  
.timeline>li.timeline-inverted>.timeline-panel {
+
.ss-style-doublediagonal::before {
    float: right;
+
height: 50%;
    padding: 0 30px 20px 20px;
+
/*background: #391919;*/
    text-align: left;
+
-webkit-transform: rotate(-3deg);
 +
transform: rotate(-3deg);
 +
-webkit-transform-origin: 3% 0;
 +
transform-origin: 3% 0;
 
}
 
}
  
.timeline>li.timeline-inverted>.timeline-panel:before {
+
/* Half Circle */
    right: auto;
+
.ss-style-halfcircle::before,
    left: -15px;
+
.ss-style-halfcircle::after {
    border-right-width: 15px;
+
left: 50%;
    border-left-width: 0;
+
z-index: 10;
 +
width: 100px;
 +
height: 100px;
 +
border-radius: 50%;
 +
background: inherit;
 +
-webkit-transform: translateX(-50%);
 +
transform: translateX(-50%);
 
}
 
}
  
.timeline>li.timeline-inverted>.timeline-panel:after {
+
.ss-style-halfcircle::before {
    right: auto;
+
top: -50px;
    left: -14px;
+
    border-right-width: 14px;
+
    border-left-width: 0;
+
 
}
 
}
  
.timeline>li:last-child {
+
.ss-style-halfcircle::after {
    margin-bottom: 0;
+
bottom: -50px;
 
}
 
}
  
.timeline .timeline-heading h4 {
+
/* Big Triangle */
  margin-top:22px;
+
svg#bigTriangleColor {
    margin-bottom: 4px;
+
pointer-events: none;
    padding:0;
+
    color: #b3b3b3;
+
 
}
 
}
  
.timeline .timeline-heading h4.subheading {
+
#bigTriangleColor path {
  margin:0;
+
fill: #000;
  padding:0;
+
stroke: #000;
    text-transform: none;
+
stroke-width: 2;
    font-size:18px;
+
    color:#333333;
+
 
}
 
}
  
.timeline .timeline-body>p,
+
/* Curves */
.timeline .timeline-body>ul {
+
#curveUpColor path,
    margin-bottom: 0;
+
#curveDownColor path {
    color:#808080;
+
fill: #000;
 +
stroke: #000;
 +
        background-color: #8C001A;
 
}
 
}
/*Style for even div.line*/
+
 
.timeline>li:nth-child(odd) .line:before {
+
/* Multiple Triangles */
    content: "";
+
.ss-style-multitriangles::before,
    position: absolute;
+
.ss-style-multitriangles::after {
    top: 60px;
+
left: 50%;
    bottom: 0;
+
width: 50px;
    left: 690px;
+
height: 50px;
    width: 4px;
+
-webkit-transform: translateX(-50%) rotate(45deg);
    height:340px;
+
transform: translateX(-50%) rotate(45deg);
    background-color: #fff;
+
    -ms-transform: rotate(-44deg); /* IE 9 */
+
    -webkit-transform: rotate(-44deg); /* Safari */
+
    transform: rotate(-44deg);
+
    box-shadow: 0 0 5px #fff;
+
 
}
 
}
/*Style for odd div.line*/
+
 
.timeline>li:nth-child(even) .line:before {
+
.ss-style-multitriangles::before {
    content: "";
+
top: -25px;
    position: absolute;
+
background: inherit;
    top: 60px;
+
box-shadow: -50px 50px 0 #3498db, 50px -50px 0 #3498db;
    bottom: 0;
+
    left: 450px;
+
    width: 4px;
+
    height:340px;
+
    background-color: #fff;
+
    -ms-transform: rotate(44deg); /* IE 9 */
+
    -webkit-transform: rotate(44deg); /* Safari */
+
    transform: rotate(44deg);
+
    box-shadow: 0 0 5px #fff;
+
 
}
 
}
/* Medium Devices, .visible-md-* */
+
 
@media (min-width: 992px) and (max-width: 1199px) {
+
.ss-style-multitriangles::after {
  .timeline > li:nth-child(even) {
+
bottom: -25px;
    margin-bottom: 0px;
+
z-index: 10;
    min-height: 0px;
+
background: inherit;
    right: 0px;
+
box-shadow: -50px 50px 0 #3498db, 50px -50px 0 #3498db;
  }
+
  .timeline > li:nth-child(odd) {
+
    margin-bottom: 0px;
+
    min-height: 0px;
+
    left: 0px;
+
  }
+
  .timeline>li:nth-child(even) .timeline-image {
+
    left: 0;
+
    margin-left: 0px;
+
  }
+
  .timeline>li:nth-child(odd) .timeline-image {
+
    left: 690px;
+
    margin-left: 0px;
+
  }
+
  .timeline > li:nth-child(even) .timeline-panel {
+
    width: 76%;
+
    padding: 0 0 20px 0px;
+
    text-align: left;
+
  }
+
  .timeline > li:nth-child(odd) .timeline-panel {
+
    width: 70%;
+
    padding: 0 0 20px 0px;
+
    text-align: right;
+
  }
+
  .timeline > li .line {
+
    display: none;
+
  }
+
 
}
 
}
/* Small Devices, Tablets */
+
 
@media (min-width: 768px) and (max-width: 991px) {
+
/* Rounded corners */
  .timeline > li:nth-child(even) {
+
.ss-style-roundedcorners::before {
    margin-bottom: 0px;
+
top: 100%;
    min-height: 0px;
+
left: 0;
    right: 0px;
+
z-index: 10;
  }
+
width: 100%;
  .timeline > li:nth-child(odd) {
+
height: 60px;
    margin-bottom: 0px;
+
border-radius: 0 0 60px 60px;
    min-height: 0px;
+
background: inherit;
    left: 0px;
+
  }
+
  .timeline>li:nth-child(even) .timeline-image {
+
    left: 0;
+
    margin-left: 0px;
+
  }
+
  .timeline>li:nth-child(odd) .timeline-image {
+
    left: 520px;
+
    margin-left: 0px;
+
  }
+
  .timeline > li:nth-child(even) .timeline-panel {
+
    width: 70%;
+
    padding: 0 0 20px 0px;
+
    text-align: left;
+
  }
+
  .timeline > li:nth-child(odd) .timeline-panel {
+
    width: 70%;
+
    padding: 0 0 20px 0px;
+
    text-align: right;
+
  }
+
  .timeline > li .line {
+
    display: none;
+
  }
+
 
}
 
}
/* Custom, iPhone Retina */
+
 
@media only screen and (max-width: 767px) {
+
/* Rounded center split and bottom rounded */
  .timeline > li:nth-child(even) {
+
.ss-style-roundedsplit {
    margin-bottom: 0px;
+
padding-top: 7em;
    min-height: 0px;
+
border-radius: 0 0 80px 80px;
    right: 0px;
+
}
  }
+
 
  .timeline > li:nth-child(odd) {
+
.ss-style-roundedsplit::before,
    margin-bottom: 0px;
+
.ss-style-roundedsplit::after {
    min-height: 0px;
+
top: -70px;
    left: 0px;
+
left: 0;
  }
+
z-index: 10;
  .timeline>li .timeline-image {
+
width: 50%;
    position: static;
+
height: 70px;
    width: 150px;
+
background: inherit;
    height: 150px;
+
}
    margin-bottom:0px;
+
 
  }
+
.ss-style-roundedsplit::before {
  .timeline>li:nth-child(even) .timeline-image {
+
border-radius: 0 80px 0 0;
 +
}
 +
 
 +
.ss-style-roundedsplit::after {
 +
left: 50%;
 +
border-radius: 80px 0 0 0;
 +
}
 +
 
 +
/* Inverted rounded corners */
 +
.ss-style-invertedrounded {
 +
margin-bottom: 90px;
 +
padding: 13em 10% 10em;
 +
border-radius: 0 0 0 90px;
 +
}
 +
 
 +
.ss-style-invertedrounded::before,
 +
.ss-style-invertedrounded::after {
 +
left: 0;
 +
z-index: -1;
 +
height: 90px;
 +
background: #3498db;
 +
}
 +
 
 +
.ss-style-invertedrounded::before {
 +
top: 100%;
 +
width: 100%;
 +
border-radius: 0 90px 0 0;
 +
}
 +
 
 +
.ss-style-invertedrounded::after {
 +
bottom: 0;
 +
z-index: -1;
 +
width: 50%;
 +
}
 +
 
 +
/* Boxes */
 +
.ss-style-boxes {
 +
padding-top: 4em;
 +
padding-bottom: 13em;
 +
}
 +
 
 +
.ss-style-boxes::before {
 +
bottom: 0;
 +
left: 0;
 +
width: 100%;
 +
height: 50px;
 +
background-image: -webkit-gradient(linear, 100% 0, 0 100%, color-stop(0.5, #3498db), color-stop(0.5, #2980b9));
 +
background-image: linear-gradient(to right, #3498db 50%, #2980b9 50%);
 +
-webkit-background-size: 130px 100%;
 +
background-size: 130px 100%;
 +
}
 +
 
 +
/* Zig Zag (3d up and simple down) */
 +
.ss-style-zigzag::before,
 +
.ss-style-zigzag::after {
 +
    right: 0;
 
     left: 0;
 
     left: 0;
     margin-left: 0;
+
     z-index: 10;
  }
+
     display: block;
  .timeline>li:nth-child(odd) .timeline-image {
+
     height: 90px;
     float:right;
+
     background-size: 50px 100%;
     left: 0px;
+
     margin-left:0;
+
  }
+
  .timeline > li:nth-child(even) .timeline-panel {
+
    width: 100%;
+
    padding: 0 0 20px 14px;
+
  }
+
  .timeline > li:nth-child(odd) .timeline-panel {
+
    width: 100%;
+
    padding: 0 14px 20px 0px;
+
  }
+
  .timeline > li .line {
+
    display: none;
+
 
   }
 
   }
 +
 +
.ss-style-zigzag::before {
 +
top: -90px;
 +
background-image: -webkit-gradient(linear, 0 0, 300% 100%, color-stop(0.25, transparent), color-stop(0.25, #3498db));
 +
background-image:
 +
linear-gradient(315deg, #3093d5 25%, transparent 25%),
 +
linear-gradient( 45deg, #3498db 25%, transparent 25%);
 +
background-position: 50%;
 
}
 
}
  
 +
.ss-style-zigzag::after {
 +
top: 100%;
 +
background-image: -webkit-gradient(linear, 0 0, 300% 100%, color-stop(0.25, #3498db), color-stop(0.25, #2980b9));
 +
background-image:
 +
linear-gradient(135deg, #3498db 25%, transparent 25%),
 +
linear-gradient(225deg, #3498db 25%, transparent 25%);
 +
background-position: 50%;
 +
}
  
/*overlay */
+
/* Edges */
 +
.ss-style-roundedges {
 +
padding-bottom: 16em;
 +
}
  
#overlay
+
.ss-style-roundedges::before,
{
+
.ss-style-roundedges::after {
    display: none;
+
width: 200px;
 +
height: 200px;
 +
border-radius: 50%;
 +
background: #2980b9;
 +
top: -100px;
 +
-webkit-transform: rotate(45deg);
 +
transform: rotate(45deg);
 
}
 
}
  
#overlay:target{
+
.ss-style-roundedges::before {
    display: block;
+
left: -100px;
    position: fixed;
+
    top: 0;
+
    left: 0;
+
    width: 100%;
+
    height: 100%;
+
    z-index: 99999;
+
    background-color: #000;  
+
 
}
 
}
  
#overlay h2
+
.ss-style-roundedges::after {
{
+
right: -100px;
    margin-top: 0;
+
}
    margin-bottom: 15px;
+
    font-size: 40px;
+
  
 +
/* Slit */
 +
.ss-style-slit {
 +
padding-top: 5em;
 
}
 
}
  
#overlay p{
+
.ss-style-slit::before,
    text-align: center;
+
.ss-style-slit::after {
    margin-bottom: 75px;
+
width: 50.5%;
    text-transform: none;
+
width: -webkit-calc(50% + 10px);
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
+
width: -moz-calc(50% + 10px);
    font-size: 16px;
+
width: calc(50% + 10px);
    font-style: italic;
+
height: 160px;
    font-weight: 400;
+
background: #2980b9;
 +
top: -160px;
 
}
 
}
  
/*menu*/
+
.ss-style-slit::before {
 +
left: -20px;
 +
-webkit-transform: skewX(10deg);
 +
transform: skewX(10deg);
 +
box-shadow: -10px -20px #3192d3;
 +
}
  
 +
.ss-style-slit::after {
 +
right: -20px;
 +
-webkit-transform: skewX(-10deg);
 +
transform: skewX(-10deg);
 +
box-shadow: 10px -20px #3192d3;
 +
}
  
/* Black and White drop Drown Menu for Blogger by labstrikes.blogspot.com */
+
/* Big half circle */
ul.dropdown li a {
+
#bigHalfCircle path {
display: block;
+
fill: #000;
padding: 3px 13px;
+
stroke: #000;
 
}
 
}
ul.dropdown li {
+
 
padding: 0;
+
/* Big triangle with shadow */
 +
 
 +
#trianglePath1 {
 +
fill: #000;
 +
stroke: #000;
 +
}
 +
 
 +
#trianglePath2 {
 +
fill: #777;
 +
stroke: #777;
 
}
 
}
  
ul.dropdown li.dir {
+
/* Inclined Zig Zag */
padding: 7px 20px 7px 12px;
+
.ss-style-inczigzag::before,
 +
.ss-style-inczigzag::after {
 +
left: 0;
 +
width: 100%;
 +
height: 50px;
 +
background-size: 100px 100%;
 
}
 
}
ul.dropdown ul li.dir {
+
 
padding-right: 15px;
+
.ss-style-inczigzag::before {
 +
top: 0;
 +
background-image: -webkit-gradient(linear, 0 0, 10% 100%, color-stop(0.5, #2980b9), color-stop(0.5, #3498db));
 +
background-image: linear-gradient(15deg, #3498db 50%, #2980b9 50%);
 
}
 
}
ul.dropdown ul a {
+
 
padding: 4px 5px 4px 12px;
+
.ss-style-inczigzag::after {
 +
bottom: 0;
 +
background-image: -webkit-gradient(linear, 0 0, 10% 100%, color-stop(0.5, #3498db), color-stop(0.5, #2980b9));
 +
background-image: linear-gradient(15deg, #2980b9 50%, #3498db 50%);
 
}
 
}
ul.dropdown ul a:hover {
+
 
padding: 3px 5px 3px 11px;
+
/* Castle */
border: solid 1px #ddd;
+
.ss-style-castle::before {
background-color: #eee;
+
left: 0;
font-weight: bold;
+
width: 100%;
 +
height: 50px;
 +
background-size: 200px 100%;
 +
top: 0;
 +
background-image: -webkit-linear-gradient(40deg, #3498db 50%, #2980b9 50%);
 +
background-image: linear-gradient(40deg, #3498db 50%, #2980b9 50%);
 
}
 
}
ul.dropdown,
+
 
ul.dropdown li,
+
/* Alternative slit with inner shadow */
ul.dropdown ul {
+
#slitPath1 {
list-style: none;
+
fill: #3498db;
margin: 0;
+
stroke: red;
padding: 0;
+
stroke-width: 0;
 
}
 
}
ul.dropdown {
+
 
position: relative;
+
#slitPath2, #slitPath3 {
z-index: 597;
+
fill: #2072a7;
float: left;
+
 
}
 
}
ul.dropdown li {
+
 
float: left;
+
/* Folded corner */
min-height: 1px;
+
.ss-style-foldedcorner::before,
line-height: 1.3em;
+
.ss-style-foldedcorner::after {
vertical-align: middle;
+
bottom: 0;
 +
width: 100px;
 +
height: 100px;
 
}
 
}
ul.dropdown li.hover,
+
 
ul.dropdown li:hover {
+
.ss-style-foldedcorner::before {
position: relative;
+
right: 0;
z-index: 599;
+
background-image: -webkit-linear-gradient(top left, #37a2ea 50%, #3498db 50%);
cursor: default;
+
background-image: linear-gradient(315deg, #3498db 50%, #37a2ea 50%);
 
}
 
}
ul.dropdown ul {
+
 
visibility: hidden;
+
.ss-style-foldedcorner::after {
position: absolute;
+
right: 100px;
top: 100%;
+
background-image: -webkit-linear-gradient(top left, transparent 50%, #236fa1 50%);
left: 0;
+
background-image: linear-gradient(315deg, #236fa1 50%, transparent 50%);
z-index: 598;
+
width: 100%;
+
 
}
 
}
ul.dropdown ul li {
+
 
float: none;
+
/* Dots */
 +
.ss-style-dots::before {
 +
bottom: 20px;
 +
width: 14px;
 +
height: 14px;
 +
border-radius: 50%;
 +
left: 50%;
 +
-webkit-transform: translateX(-50%);
 +
transform: translateX(-50%);
 +
background: #2072a7;
 +
box-shadow: 30px 0 #2072a7, -30px 0 #2072a7;
 
}
 
}
ul.dropdown ul ul {
+
 
top: 1px;
+
/* Double Line */
left: 99%;
+
.ss-style-doubleline::before {
 +
bottom: 30px;
 +
width: 140px;
 +
height: 2px;
 +
left: 50%;
 +
-webkit-transform: translateX(-50%);
 +
transform: translateX(-50%);
 +
background: #2072a7;
 +
box-shadow: 0 30px 0 #2072a7;
 
}
 
}
ul.dropdown li:hover > ul {
+
 
visibility: visible;
+
/* Cross */
 +
.ss-style-cross {
 +
padding-bottom: 15em;
 
}
 
}
ul.dropdown {
+
 
font: bold 12px Arial, Helvetica, sans-serif;
+
.ss-style-cross::before,
 +
.ss-style-cross::after {
 +
background: #2072a7;
 +
bottom: 70px;
 +
width: 200px;
 +
height: 2px;
 +
left: 50%;
 +
-webkit-transform-origin: 50% 50%;
 +
transform-origin: 50% 50%;
 
}
 
}
    ul.dropdown li {
 
    padding: 3px 12px;
 
    background-color: #000;
 
    color: #fff;
 
    }
 
  
    ul.dropdown li.hover,
+
.ss-style-cross::before {
    ul.dropdown li:hover {
+
-webkit-transform: translateX(-50%) rotate(45deg);
    background-color: #222;
+
transform: translateX(-50%) rotate(45deg);
    }
+
}
    ul.dropdown a:link,
+
    ul.dropdown a:visited { color: #fff; text-decoration: none; }
+
    ul.dropdown a:hover { color: #fff; text-decoration: underline; }
+
    ul.dropdown a:active { color: #fff; }
+
  
    /* -- level mark -- */
+
.ss-style-cross::after {
 +
-webkit-transform: translateX(-50%) rotate(-45deg);
 +
transform: translateX(-50%) rotate(-45deg);
 +
}
  
    ul.dropdown ul {
+
/* Stamp */
    margin-left: -6px;
+
#stamp path {
    width: 170px;
+
fill: #3498db;
    padding-bottom: 9px;
+
stroke: #3498db; /* avoid gap in FF */
    background: url(http://4.bp.blogspot.com/-MwgiNzVwW8Q/UIixwkBTy5I/AAAAAAAAFdg/0UQSjWZV1zU/s1600/dropdown_pane.png) 0 100% no-repeat;
+
}
    color: #000;
+
    font-size: 11px;
+
    font-weight: normal;
+
    }
+
  
        ul.dropdown ul li {
+
/* Clouds */
        background-color: transparent;
+
#clouds path {
        color: #000;
+
fill: #ecf0f1;
        }
+
stroke: #ecf0f1;
 +
}
  
        ul.dropdown ul li.hover,
+
/* Media Queries for the layout */
        ul.dropdown ul li:hover {
+
@media screen and (max-width: 68em) {
        background-color: transparent;
+
section {
        }
+
font-size: 80%;
 +
}
 +
}
  
        ul.dropdown ul li.empty {
+
@media screen and (max-width: 54em) {
        padding: 12px 12px 7px !important;
+
.column {
        font-weight: bold;
+
display: block;
        }
+
width: 100% !important;
 +
}
  
        ul.dropdown ul a:link,
+
.text:first-child,
        ul.dropdown ul a:visited { color: #000; }
+
.text:nth-child(2) {
        ul.dropdown ul a:hover { color: #000; text-decoration: none; }
+
text-align: center;
        ul.dropdown ul a:active { color: #000; }
+
}
  
        /* -- level mark -- */
+
.icon {
 +
margin: 0 auto;
 +
}
  
        ul.dropdown ul ul {
+
.col-2 .column:first-child .icon {
        display: none;
+
margin: 0 auto 50px;
        }
+
}
/* -- Supporting class `dir` -- */
+
 
ul.dropdown *.dir {
+
.col-2 .column:nth-child(2) .icon {
padding-right: 12px;
+
margin: 50px auto 0;
background-image: none;
+
}
background-position: 100% 50%;
+
background-repeat: no-repeat;
+
 
}
 
}
 +
 +
/*menu*/
 +
 +
#custom-bootstrap-menu.navbar-default .navbar-brand {
 +
    color: rgba(255, 255, 255, 1);
 +
}
 +
#custom-bootstrap-menu.navbar-default {
 +
    font-size: 18px;
 +
    background-color: rgba(34, 34, 34, 1);
 +
    border-bottom-width: 0px;
 +
}
 +
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a {
 +
    color: rgba(255, 255, 255, 1);
 +
    background-color: rgba(34, 34, 34, 1);
 +
    padding-left:5px;
 +
    padding-right:5px;
 +
    padding-top: 10px;
 +
}
 +
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:hover,
 +
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:focus {
 +
    color: rgba(255, 255, 255, 1);
 +
    background-color: rgba(87, 86, 86, 1);
 +
}
 +
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a,
 +
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:hover,
 +
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:focus {
 +
    color: rgba(255, 255, 255, 1);
 +
    background-color: rgba(87, 86, 86, 1);
 +
}
 +
#custom-bootstrap-menu.navbar-default .navbar-toggle {
 +
    border-color: #575656;
 +
}
 +
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover,
 +
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus {
 +
    background-color: #575656;
 +
}
 +
#custom-bootstrap-menu.navbar-default .navbar-toggle .icon-bar {
 +
    background-color: #575656;
 +
}
 +
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover .icon-bar,
 +
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus .icon-bar {
 +
    background-color: #222222;
 +
}
 +
 +
/*end menu*/
  
  

Latest revision as of 19:12, 20 November 2015

gh