]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - static/css/style.css
Massive web site update
[people/shoehn/ipfire.org.git] / static / css / style.css
index f8006300d731bc544a23c03330c0fa45eb71b0f3..3a17665514518200ca1cddd2c36ed89b7ba759c4 100644 (file)
+html {
+       width: 100%;
+       height: 100%;
+}
+
 body {
-       padding-top: 45px;
+       width: 100%;
+       height: 100%;
+       padding-top: 90px;
+}
+
+.btn {
+       -webkit-transition: all 0.3s ease-in-out;
+       -moz-transition: all 0.3s ease-in-out;
+       transition: all 0.3s ease-in-out;
+}
+
+.btn-default {
+       border: 2px solid #333;
+       color: #333;
+       background-color: transparent;
+}
+
+.btn-default:hover, .btn-default:focus {
+       border: 2px solid #333;
+       outline: none;
+       color: #ffffff;
+       background-color: #333;
 }
 
-.navbar-inverse .navbar-brand,
-.navbar-inverse .navbar-nav > li > a {
-  color:#DDD;
+.btn-primary {
+       border: 2px solid #880400;
+       color: #880400;
+       background-color: transparent;
 }
-.sidenav > li.active > a {
-  background: #880400;
-  color: #FFF;
+
+.btn-primary:hover, .btn-primary:focus {
+       border: 2px solid #880400;
+       outline: none;
+       color: #ffffff;
+       background-color: #880400;
+}
+
+.btn-success {
+       border: 2px solid #5cb85c;
+       color: #5cb85c;
+       background-color: transparent;
+}
+
+.btn-success:hover, .btn-success:focus {
+       border: 2px solid #5cb85c;
+       outline: none;
+       color: #ffffff;
+       background-color: #5cb85c;
+}
+
+.btn-info {
+       border: 2px solid #5bc0de;
+       color: #5bc0de;
+       background-color: transparent;
+}
+
+.btn-info:hover, .btn-info:focus {
+       border: 2px solid #5bc0de;
+       outline: none;
+       color: #ffffff;
+       background-color: #5bc0de;
 }
+
+.btn-warning {
+       border: 2px solid #f0ad4e;
+       color: #f0ad4e;
+       background-color: transparent;
+}
+
+.btn-warning:hover, .btn-warning:focus {
+       border: 2px solid #f0ad4e;
+       outline: none;
+       color: #ffffff;
+       background-color: #f0ad4e;
+}
+
+.btn-danger {
+       border: 2px solid #d9534f;
+       color: #d9534f;
+       background-color: transparent;
+}
+
+.btn-danger:hover, .btn-danger:focus {
+       border: 2px solid #d9534f;
+       outline: none;
+       color: #ffffff;
+       background-color: #d9534f;
+}
+
+.btn-lwl {
+       border: 2px solid #4b0082;
+       color: #4b0082;
+       background-color: transparent;
+}
+
+.btn-lwl:hover, .btn-lwl:focus {
+       border: 2px solid #4b0082;
+       outline: none;
+       color: #ffffff;
+       background-color: #4b0082;
+}
+
+.navbar {
+       margin-bottom: 0;
+       border-bottom: 1px solid rgba(255, 255, 255, 0.3);
+       background-color: #ffffff;
+}
+
+.navbar-brand {
+       font-weight: 600;
+}
+
+.navbar-brand:focus {
+       outline: none;
+}
+
+.navbar-brand .navbar-brand-logo {
+       float: left;
+       width: 25px;
+       height: 25px;
+       margin-right: 5px;
+}
+
+.navbar-custom .nav li a {
+       -webkit-transition: background 0.3s ease-in-out;
+       -moz-transition: background 0.3s ease-in-out;
+       transition: background 0.3s ease-in-out;
+}
+
+.navbar-custom .nav li a:hover, .navbar-custom .nav li a:focus,
+.navbar-custom .nav li.active {
+       outline: none;
+       background-color: rgba(255, 255, 255, 0.2);
+}
+
+.navbar-toggle {
+       padding: 4px 6px;
+       font-size: 16px;
+       color: #000000;
+}
+
+.navbar-toggle:focus, .navbar-toggle:active {
+       outline: none;
+}
+
+@media (min-width: 767px) {
+       .navbar {
+               padding: 20px 0;
+               border-bottom: none;
+               letter-spacing: 1px;
+               background: transparent;
+               -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
+               -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
+               transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
+       }
+
+       .top-nav-collapse {
+               padding: 0;
+               background-color: rgba(255, 255, 255, 0.95);
+       }
+
+       .navbar-custom.top-nav-collapse {
+               border-bottom: 1px solid rgba(136, 4, 0, 0.3);
+       }
+}
+
+.intro {
+       display: table;
+       width: 100%;
+       height: auto;
+       padding: 100px 0;
+       text-align: center;
+       background-color: #ffffff;
+       -webkit-background-size: cover;
+       -moz-background-size: cover;
+       background-size: cover;
+       -o-background-size: cover;
+}
+
+.intro-body {
+       display: table-cell;
+       vertical-align: middle;
+}
+
+.intro-body h1 {
+       font-size: 120px;
+       line-height: 1;
+       letter-spacing: -2px;
+}
+
+@media (min-width: 767px) {
+       .intro {
+               height: 100%;
+               padding: 0;
+       }
+
+       .intro-body {
+               padding-bottom: 50px;
+       }
+}
+
+.content-section {
+       padding-top: 50px;
+       padding-bottom: 50px;
+}
+
+.content-section:first-of-type {
+       padding-top: 0;
+}
+
+.content-section:last-of-type {
+       margin-bottom: 50px;
+}
+
+@media (min-width: 767px) {
+       .content-section {
+               padding-top: 75px;
+               padding-bottom: 75px;
+       }
+
+       .content-section:first-of-type {
+               padding-top: 0;
+       }
+
+       .content-section:last-of-type {
+               margin-bottom: 75px;
+       }
+}
+
+.dark-background {
+       background: #880400; /* Old browsers */
+       background: -moz-linear-gradient(45deg, #000000 0%, #880400 100%); /* FF3.6+ */
+       background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#000000), color-stop(100%,#880400)); /* Chrome,Safari4+ */
+       background: -webkit-linear-gradient(45deg, #000000 0%,#880400 100%); /* Chrome10+,Safari5.1+ */
+       background: -o-linear-gradient(45deg, #000000 0%, #880400 100%); /* Opera 11.10+ */
+       background: -ms-linear-gradient(45deg, #000000 0%, #880400 100%); /* IE10+ */
+       background: linear-gradient(45deg,  #000000 0%, #880400 100%); /* W3C */
+       filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#880400',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
+       -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
+       -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
+       box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
+
+       color: white;
+}
+
+.dark-background .btn-default {
+       border: 2px solid white;
+       color: white;
+}
+
+.dark-background .btn-default:hover, .dark-background .btn-default:focus {
+       color: #333;
+       background-color: white;
+}
+
+
+.light-background {
+       background: #e1e1e1;
+}
+
+.lighter-background {
+       background: #eeeeee;
+}
+
+.red-background {
+       background: #880400;
+       color: white;
+}
+
+.red-background a {
+       color: white;
+       text-decoration: underline;
+}
+
+.red-background a:hover, .red-background a:focus {
+       text-decoration: none;
+}
+
+.page-header {
+       text-align: center;
+}
+
+.about-section {
+       width: 100%;
+       padding: 50px 0;
+       color: white;
+       -webkit-background-size: cover;
+       -moz-background-size: cover;
+       background-size: cover;
+       -o-background-size: cover;
+}
+
+@media (min-width: 767px) {
+       .about-section {
+               padding: 100px 0;
+       }
+}
+
+.contribute-section hr {
+       margin-top: 50px;
+       margin-bottom: 50px;
+}
+
+.btn-circle {
+       width: 70px;
+       height: 70px;
+       margin-top: 15px;
+       padding: 7px 16px;
+       border: 2px solid #880400;
+       border-radius: 35px;
+       font-size: 40px;
+       background: transparent;
+       -webkit-transition: background 0.3s ease-in-out;
+       -moz-transition: background 0.3s ease-in-out;
+       transition: background 0.3s ease-in-out;
+       vertical-align: bottom;
+}
+
+.btn-circle:hover,
+.btn-circle:focus {
+       outline: none;
+       color: #000000;
+       background: rgba(255, 255, 255, 0.1);
+}
+
+.page-scroll .btn-circle i.animated {
+       -webkit-transition-property: -webkit-transform;
+       -webkit-transition-duration: 1s;
+       -moz-transition-property: -moz-transform;
+       -moz-transition-duration: 1s;
+}
+
+.page-scroll .btn-circle:hover i.animated {
+       -webkit-animation-name: pulse;
+       -moz-animation-name: pulse;
+       -webkit-animation-duration: 1.5s;
+       -moz-animation-duration: 1.5s;
+       -webkit-animation-iteration-count: infinite;
+       -moz-animation-iteration-count: infinite;
+       -webkit-animation-timing-function: linear;
+       -moz-animation-timing-function: linear;
+}
+
 .container-body {
   background-color: #FFF;
   padding: 10px 15px;
 }
 
-.ac, td.ac {
+.text-center, .ac, td.ac {
        text-align: center;
 }
 
@@ -35,6 +372,16 @@ body {
        padding: 10px;
 }
 
+a.link-normal {
+       color: inherit;
+}
+
+.text-overflow {
+       white-space: nowrap;
+       overflow: hidden;
+       text-overflow: ellipsis;
+}
+
 table.table-fireinfo td.bar {
 width: 70%;
 }
@@ -44,24 +391,15 @@ width: 20%;
 table.table-fireinfo td.val {
 width: 10%;
 }
-.wishes div.thumbnail {
-padding: 1em;
-}
 .objectives .icon {
 padding: 1.2em;
 }
 .thumbnails .download-box {
 padding: 2em 2em 0 2em;
 }
-section > .page-header {
-margin:0;
-padding:40px 0 20px;
-}
-section > .page-header, section > .lead {
-color: #5a5a5a;
-}
-section > ul li {
-margin-bottom: 5px;
+
+section > .page-header ~ .page-header {
+       padding-top: 60px;
 }
 
 .jumbotron {
@@ -77,6 +415,11 @@ margin-bottom: 5px;
        -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
        -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
        box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
+       text-align: center;
+}
+
+.jumbotron a {
+       color: white;
 }
 
 /* Download button */
@@ -103,70 +446,20 @@ margin-bottom: 5px;
 }
 
 .footer {
-  border-top: 1px solid #E7E7E7;
-  padding: 30px 0;
-  margin-top: 70px;
-}
-.footer p {
-margin-bottom: 0;
-color: #777;
-}
-.footer-links {
-margin: 10px 0;
-}
-.footer-links li {
-display: inline;
-padding: 0 2px;
-}
-.footer-links li:first-child {
-padding-left: 0;
-}
-.sidenav {
-width: 228px;
-margin: 30px 0 0;
-padding: 0;
-background-color: #fff;
--webkit-border-radius: 6px;
--moz-border-radius: 6px;
-border-radius: 6px;
--webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
--moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
-box-shadow: 0 1px 4px rgba(0,0,0,.065);
-}
-.sidenav > li > a {
-display: block;
-width: 190px \9;
-margin: 0 0 -1px;
-padding: 8px 14px;
-border: 1px solid #e5e5e5;
-}
-.sidenav > li:first-child > a {
--webkit-border-radius: 6px 6px 0 0;
--moz-border-radius: 6px 6px 0 0;
-border-radius: 6px 6px 0 0;
-}
-.sidenav > li:last-child > a {
--webkit-border-radius: 0 0 6px 6px;
--moz-border-radius: 0 0 6px 6px;
-border-radius: 0 0 6px 6px;
-}
-.sidenav .glyphicon-chevron-left {
-opacity: .25;
-}
-.sidenav a:hover .glyphicon-chevron-left {
-opacity: .5;
-}
-.sidenav .active .glyphicon-chevron-left, .sidenav .active a:hover .glyphicon-chevron-left {
-opacity: 1;
-}
-.sidenav.affix {
-top: 40px;
-}
-.sidenav.affix-bottom {
-position: absolute;
-top: auto;
-bottom: 270px;
+       bottom: 0;
+       height: 220px;
+       width: 100%;
+       border-top: 1px solid #E7E7E7;
+       background-color: #F9F9F9;
+       color: #777;
+       padding: 20px 0;
+       margin-top: 70px;
+}
+
+.footer .links a {
+       color: #777;
 }
+
 .download-box {
 text-align: center;
 margin: 100px 0;