]> 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 82ee4a50b699a424761bddc31bed2f7666285e28..3a17665514518200ca1cddd2c36ed89b7ba759c4 100644 (file)
+html {
+       width: 100%;
+       height: 100%;
+}
+
 body {
-       padding-top: 45px;
+       width: 100%;
+       height: 100%;
+       padding-top: 90px;
 }
 
-.container-body {
-       background-color: white;
+.btn {
+       -webkit-transition: all 0.3s ease-in-out;
+       -moz-transition: all 0.3s ease-in-out;
+       transition: all 0.3s ease-in-out;
+}
 
-       padding-top: 10px;
-       padding-left: 15px;
-       padding-right: 15px;
-       padding-bottom: 10px;
+.btn-default {
+       border: 2px solid #333;
+       color: #333;
+       background-color: transparent;
 }
 
-.ac, td.ac {
-       text-align: center;
+.btn-default:hover, .btn-default:focus {
+       border: 2px solid #333;
+       outline: none;
+       color: #ffffff;
+       background-color: #333;
 }
 
-.ar {
-       text-align: right;
+.btn-primary {
+       border: 2px solid #880400;
+       color: #880400;
+       background-color: transparent;
 }
 
-.clear {
-       clear: both;
+.btn-primary:hover, .btn-primary:focus {
+       border: 2px solid #880400;
+       outline: none;
+       color: #ffffff;
+       background-color: #880400;
 }
 
-.separator {
-  margin: 40px 0 39px;
+.btn-success {
+       border: 2px solid #5cb85c;
+       color: #5cb85c;
+       background-color: transparent;
 }
 
-.img-padding {
-       padding: 10px;
+.btn-success:hover, .btn-success:focus {
+       border: 2px solid #5cb85c;
+       outline: none;
+       color: #ffffff;
+       background-color: #5cb85c;
 }
 
-table.table-fireinfo td.bar {
-       width: 70%;
+.btn-info {
+       border: 2px solid #5bc0de;
+       color: #5bc0de;
+       background-color: transparent;
 }
 
-table.table-fireinfo td.key {
-       width: 20%;
+.btn-info:hover, .btn-info:focus {
+       border: 2px solid #5bc0de;
+       outline: none;
+       color: #ffffff;
+       background-color: #5bc0de;
 }
 
-table.table-fireinfo td.val {
-       width: 10%;
+.btn-warning {
+       border: 2px solid #f0ad4e;
+       color: #f0ad4e;
+       background-color: transparent;
 }
 
-.wishes li div.thumbnail {
-       padding: 1em;
+.btn-warning:hover, .btn-warning:focus {
+       border: 2px solid #f0ad4e;
+       outline: none;
+       color: #ffffff;
+       background-color: #f0ad4e;
 }
 
-.objectives .icon {
-       padding: 1.2em;
+.btn-danger {
+       border: 2px solid #d9534f;
+       color: #d9534f;
+       background-color: transparent;
 }
 
-.thumbnails .download-box {
-       padding-top: 2em;
-       padding-left: 2em;
-       padding-right: 2em;
+.btn-danger:hover, .btn-danger:focus {
+       border: 2px solid #d9534f;
+       outline: none;
+       color: #ffffff;
+       background-color: #d9534f;
 }
 
-section {
-       padding-top: 40px;
+.btn-lwl {
+       border: 2px solid #4b0082;
+       color: #4b0082;
+       background-color: transparent;
 }
 
-section > .page-header, section > .lead {
-       color: #5a5a5a;
+.btn-lwl:hover, .btn-lwl:focus {
+       border: 2px solid #4b0082;
+       outline: none;
+       color: #ffffff;
+       background-color: #4b0082;
 }
 
-section > ul li {
-       margin-bottom: 5px;
+.navbar {
+       margin-bottom: 0;
+       border-bottom: 1px solid rgba(255, 255, 255, 0.3);
+       background-color: #ffffff;
 }
 
-.jumbotron {
-       position: relative;
-       padding: 40px 0;
-       color: #fff;
-       text-align: center;
-       text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);
-       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);
-       margin-bottom: 1em;
+.navbar-brand {
+       font-weight: 600;
 }
 
-.jumbotron h1 {
-       font-size: 80px;
-       font-weight: bold;
-       letter-spacing: -1px;
-       line-height: 1;
+.navbar-brand:focus {
+       outline: none;
 }
 
-.jumbotron p {
-       font-size: 24px;
-       font-weight: 300;
-       line-height: 1.25;
-       margin-bottom: 30px;
+.navbar-brand .navbar-brand-logo {
+       float: left;
+       width: 25px;
+       height: 25px;
+       margin-right: 5px;
 }
 
-.jumbotron a {
-       color: #fff;
-       color: rgba(255,255,255,.5);
+.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;
 }
 
-.jumbotron a:hover {
-       color: #fff;
-       text-shadow: 0 0 10px rgba(255,255,255,.25);
+.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);
 }
 
-/* Download button */
-.masthead .btn, .download-button {
-  padding: 19px 24px;
-  font-size: 24px;
-  font-weight: 200;
-  color: #fff;
+.navbar-toggle {
+       padding: 4px 6px;
+       font-size: 16px;
+       color: #000000;
 }
 
-.jumbotron .container {
-       position: relative;
-       z-index: 2;
+.navbar-toggle:focus, .navbar-toggle:active {
+       outline: none;
 }
 
-.masthead {
-       padding: 70px 0 60px;
-       margin-bottom: 0;
-       color: #fff;
+@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);
+       }
 }
 
-.masthead h1 {
+.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;
 }
 
-.masthead p {
-       font-size: 40px;
-       font-weight: 200;
-       line-height: 1.25;
-}
+@media (min-width: 767px) {
+       .intro {
+               height: 100%;
+               padding: 0;
+       }
 
-.masthead-links {
-       margin: 0;
-       list-style: none;
+       .intro-body {
+               padding-bottom: 50px;
+       }
 }
 
-.masthead-links li {
-       display: inline;
-       padding: 0 10px;
-       color: rgba(255,255,255,.5);
+.content-section {
+       padding-top: 50px;
+       padding-bottom: 50px;
 }
 
-.subhead {
-       text-align: left;
-       border-bottom: 1px solid #ddd;
+.content-section:first-of-type {
+       padding-top: 0;
 }
 
-.subhead h1 {
-       font-size: 60px;
+.content-section:last-of-type {
+       margin-bottom: 50px;
 }
 
-.subhead p {
-       margin-bottom: 20px;
+@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;
+       }
 }
 
-.subhead .navbar {
-       display: none;
+.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;
 }
 
-.footer {
-/*     text-align: center; */
-       padding: 30px 0;
-       margin-top: 70px;
-       border-top: 1px solid #e5e5e5;
-       background-color: #f8f8f8;
+.dark-background .btn-default {
+       border: 2px solid white;
+       color: white;
 }
 
-.footer p {
-       margin-bottom: 0;
-       color: #777;
+.dark-background .btn-default:hover, .dark-background .btn-default:focus {
+       color: #333;
+       background-color: white;
 }
 
-.footer-links {
-       margin: 10px 0;
+
+.light-background {
+       background: #e1e1e1;
 }
 
-.footer-links li {
-       display: inline;
-       padding: 0 2px;
+.lighter-background {
+       background: #eeeeee;
 }
 
-.footer-links li:first-child {
-       padding-left: 0;
+.red-background {
+       background: #880400;
+       color: white;
 }
 
-.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);
+.red-background a {
+       color: white;
+       text-decoration: underline;
 }
 
-.sidenav > li > a {
-       display: block;
-       width: 190px \9;
-       margin: 0 0 -1px;
-       padding: 8px 14px;
-       border: 1px solid #e5e5e5;
+.red-background a:hover, .red-background a:focus {
+       text-decoration: none;
 }
 
-.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;
+.page-header {
+       text-align: center;
 }
 
-.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;
+.about-section {
+       width: 100%;
+       padding: 50px 0;
+       color: white;
+       -webkit-background-size: cover;
+       -moz-background-size: cover;
+       background-size: cover;
+       -o-background-size: cover;
 }
 
-.sidenav > .active > a {
-       position: relative;
-       z-index: 2;
-       padding: 9px 15px;
-       border: 0;
-       text-shadow: 0 1px 0 rgba(0,0,0,.15);
-       -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
-          -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
-               box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
+@media (min-width: 767px) {
+       .about-section {
+               padding: 100px 0;
+       }
 }
 
-.sidenav .icon-chevron-left {
-       float: left;
-       margin-top: 2px;
-       margin-left: -6px;
-       opacity: .25;
+.contribute-section hr {
+       margin-top: 50px;
+       margin-bottom: 50px;
 }
 
-.sidenav > li > a:hover {
-       background-color: #f5f5f5;
+.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;
 }
 
-.sidenav a:hover .icon-chevron-left {
-       opacity: .5;
+.btn-circle:hover,
+.btn-circle:focus {
+       outline: none;
+       color: #000000;
+       background: rgba(255, 255, 255, 0.1);
 }
 
-.sidenav .active .icon-chevron-left, .sidenav .active a:hover .icon-chevron-left {
-  background-image: url(../img/glyphicons-halflings-white.png);
-  opacity: 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;
 }
 
-.sidenav.affix {
-       top: 40px;
+.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;
 }
 
-.sidenav.affix-bottom {
-       position: absolute;
-       top: auto;
-       bottom: 270px;
+.container-body {
+  background-color: #FFF;
+  padding: 10px 15px;
 }
 
-.download-box {
+.text-center, .ac, td.ac {
        text-align: center;
-
-       margin-top: 100px;
-       margin-bottom: 100px;
 }
 
-.progress-small {
-       margin-top: 6px;
-       height: 6px;
+.ar {
+       text-align: right;
 }
 
-@media (min-width: 768px) and (max-width: 979px) {
-       body {
-               padding-top: 0;
-       }
-       .jumbotron {
-               margin-top: -25px; /* Offset bottom margin on .navbar */
-       }
-
-       .sidenav {
-               width: 166px;
-               margin-top: 20px;
-       }
-       .sidenav.affix {
-               top: 0;
-       }
+.clear {
+       clear: both;
 }
 
-@media (max-width: 767px) {
-       body {
-               padding-top: 0;
-       }
-
-       .jumbotron {
-               padding: 40px 20px;
-               margin-top:   -25px; /* Offset bottom margin on .navbar */
-               margin-right: -20px;
-               margin-left:  -20px;
-       }
-
-       .masthead h1 {
-               font-size: 90px;
-       }
-
-       .masthead p, .masthead .btn {
-               font-size: 24px;
-       }
-
-       .sidenav {
-               width: auto;
-               margin-bottom: 20px;
-       }
-
-       .sidenav.affix {
-               position: static;
-               width: auto;
-               top: 0;
-       }
+.separator {
+       margin: 40px 0 39px;
+}
 
-       .footer {
-               margin-left: -20px;
-               margin-right: -20px;
-               padding-left: 20px;
-               padding-right: 20px;
-       }
+.img-padding {
+       padding: 10px;
+}
 
-       .footer p {
-               margin-bottom: 9px;
-       }
+a.link-normal {
+       color: inherit;
 }
 
-@media (max-width: 480px) {
-       body {
-               padding-top: 0;
-       }
+.text-overflow {
+       white-space: nowrap;
+       overflow: hidden;
+       text-overflow: ellipsis;
+}
 
-       h2 small {
-               display: block;
-       }
+table.table-fireinfo td.bar {
+width: 70%;
+}
+table.table-fireinfo td.key {
+width: 20%;
+}
+table.table-fireinfo td.val {
+width: 10%;
+}
+.objectives .icon {
+padding: 1.2em;
+}
+.thumbnails .download-box {
+padding: 2em 2em 0 2em;
+}
 
-       .jumbotron h1 {
-               font-size: 45px;
-       }
+section > .page-header ~ .page-header {
+       padding-top: 60px;
+}
 
-       .jumbotron p, .jumbotron .btn {
-               font-size: 18px;
-       }
+.jumbotron {
+       color: white;
+       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);
+       text-align: center;
+}
 
-       .jumbotron .btn {
-               display: block;
-               margin: 0 auto;
-       }
+.jumbotron a {
+       color: white;
+}
 
-       .subhead h1, .subhead p {
-               text-align: center;
-       }
+/* Download button */
+.masthead .btn, .download-button {
+       padding: 19px 24px;
+       font-size: 24px;
+}
 
-       table code {
-               white-space: normal;
-               word-wrap: break-word;
-               word-break: break-all;
-       }
+.masthead {
+       padding-top: 70px;
+       margin-bottom: 0;
+}
 
-       .footer {
-               padding-top: 20px;
-               padding-bottom: 20px;
-       }
+.masthead h1 {
+       font-size: 120px;
+       line-height: 1;
+       letter-spacing: -2px;
 }
 
-.planet-table td.date {
-       width: 10em;
+.masthead p.lead {
+       font-size: 36px;
+       font-weight: 200;
+       line-height: 1.25;
 }
 
-.planet-table td.author {
-       width: 10em;
+.footer {
+       bottom: 0;
+       height: 220px;
+       width: 100%;
+       border-top: 1px solid #E7E7E7;
+       background-color: #F9F9F9;
+       color: #777;
+       padding: 20px 0;
+       margin-top: 70px;
 }
 
-.news-entries td.date {
-       width: 8em;
-       text-align: right;
+.footer .links a {
+       color: #777;
 }
 
-.well-white {
-       background-color: white;
+.download-box {
+text-align: center;
+margin: 100px 0;
+}
+.progress-small {
+margin-top: 6px;
+height: 6px;
+}
+.planet-table td.author,
+.planet-table td.date {
+width: 10em;
+}
+.news-entries td.date {
+width: 8em;
+text-align: right;
 }
 
 .table-wishlist-widget {
        width: 100%;
 }
-
-.table-wishlist-widget td.progress-bar {
-       width: 40%;
-}