CSS Beautification

- fixed URL
This commit is contained in:
Hendrik Blöß committed 2017-06-08 17:01:11 +02:00
1 parent 3949d34318
commit c0b6c5eba8
2 files changed
+166 -118

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
# NB! Set your site's url, otherwise stuff will break :) # NB! Set your site's url, otherwise stuff will break :)
url: "https://hendrikbl.github.io" url: "https://hendrikbl.github.io/Vocaluxe"
# If you're hosting your site at a Project repository on GitHub pages # If you're hosting your site at a Project repository on GitHub pages
# (https://yourusername.github.io/repository-name) # (https://yourusername.github.io/repository-name)
+165 -117
View File
@@ -18,32 +18,38 @@ body {
} }
a { a {
color: #2576E5; color: #428bca;
-webkit-transition: all 0.2s linear; -webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear; -moz-transition: all 0.2s linear;
-o-transition: all 0.2s linear; -o-transition: all 0.2s linear;
transition: all 0.2s linear; transition: all 0.2s linear;
} }
a:hover { a:hover {
color: #e76c3c; color: #E74C3C;
} }
.row { .row {
padding: 50px 0px; padding: 50px 0px;
} }
.btn { .btn {
-webkit-transition: all 0.2s linear; -webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear; -moz-transition: all 0.2s linear;
-o-transition: all 0.2s linear; -o-transition: all 0.2s linear;
transition: all 0.2s linear; transition: all 0.2s linear;
} }
.btn-lg{
.btn-lg {
border-radius: 25px; border-radius: 25px;
} }
.btn-common { .btn-common {
background: transparent; background: transparent;
color: #fff; color: #fff;
border: 1px solid white; border: 1px solid #fff;
} }
.btn-common:hover { .btn-common:hover {
border-color: #428bca; border-color: #428bca;
color: #428bca; color: #428bca;
@@ -61,17 +67,19 @@ a:hover {
font-weight: 100; font-weight: 100;
padding-bottom: 25px; padding-bottom: 25px;
position: relative; position: relative;
color: white; color: #fff;
} }
/**Navigation**/ /**Navigation**/
.navbar { .navbar {
margin-bottom: 0; margin-bottom: 0;
color: white; color: #fff;
} }
.navbar li { .navbar li {
color: white; color: #fff;
} }
.navbar-default { .navbar-default {
@@ -84,18 +92,20 @@ a:hover {
transition: all 0.2s linear; transition: all 0.2s linear;
} }
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav > .active > a:focus { .navbar-default .navbar-nav>.active>a:focus {
background: none; background: none;
color: #fff; color: #fff;
} }
.navbar-default .navbar-nav li a, .navbar-default .navbar-nav li a,
.navbar-default .navbar-nav li a:hover { .navbar-default .navbar-nav li a:hover {
color: #fff; color: #fff;
font-weight: 100; font-weight: 100;
} }
.navbar-default .navbar-nav > .active,
.navbar-default .navbar-nav>.active,
.navbar-default .navbar-nav li:hover { .navbar-default .navbar-nav li:hover {
border-bottom: 3px solid #428bca; border-bottom: 3px solid #428bca;
color: #fff; color: #fff;
@@ -110,7 +120,7 @@ a:hover {
transition: all 0.2s linear; transition: all 0.2s linear;
} }
.navbar-default .faviconPng{ .navbar-default .faviconPng {
height: 16pt; height: 16pt;
width: 16pt; width: 16pt;
-webkit-transition: all 0.2s linear; -webkit-transition: all 0.2s linear;
@@ -122,16 +132,19 @@ a:hover {
.navbar-default .navbar-brand:hover { .navbar-default .navbar-brand:hover {
color: #eee; color: #eee;
} }
.navbar-default .navbar-toggle .icon-bar { .navbar-default .navbar-toggle .icon-bar {
background: #fff; background: #fff;
} }
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { .navbar-default .navbar-toggle:focus {
background: transparent; background: transparent;
} }
.affix.navbar-default { .affix.navbar-default {
background: #2C3E50; background: #2C3E50;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
padding-top: 0; padding-top: 0;
-webkit-transition: all 0.2s linear; -webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear; -moz-transition: all 0.2s linear;
@@ -148,7 +161,7 @@ a:hover {
transition: all 0.2s linear; transition: all 0.2s linear;
} }
.affix.navbar-default .navbar-brand .faviconPng{ .affix.navbar-default .navbar-brand .faviconPng {
height: 16pt; height: 16pt;
width: 16pt; width: 16pt;
-webkit-transition: all 0.2s linear; -webkit-transition: all 0.2s linear;
@@ -157,16 +170,14 @@ a:hover {
transition: all 0.2s linear; transition: all 0.2s linear;
} }
@media (min-width: 767px){ @media (min-width: 767px) {
.navbar-default { .navbar-default {
padding-top: 30px; padding-top: 30px;
} }
.navbar-default .navbar-brand { .navbar-default .navbar-brand {
font-size: 25px; font-size: 25px;
} }
.navbar-default .faviconPng {
.navbar-default .faviconPng{
height: 25pt; height: 25pt;
width: 25pt; width: 25pt;
-webkit-transition: all 0.2s linear; -webkit-transition: all 0.2s linear;
@@ -176,7 +187,9 @@ a:hover {
} }
} }
/**Hero area**/ /**Hero area**/
#hero-area { #hero-area {
background: #2C3E50; background: #2C3E50;
color: #fff; color: #fff;
@@ -194,11 +207,10 @@ a:hover {
padding-bottom: 100px; padding-bottom: 100px;
} }
@media (max-width: 992px){ @media (max-width: 992px) {
#hero-area img { #hero-area img {
display: none; display: none;
} }
#hero-area .row { #hero-area .row {
padding-top: 75px; padding-top: 75px;
padding-bottom: 50px; padding-bottom: 50px;
@@ -208,11 +220,13 @@ a:hover {
#hero-area .btn { #hero-area .btn {
margin-right: 20px; margin-right: 20px;
} }
#hero-area .title { #hero-area .title {
font-size: 60pt; font-size: 60pt;
text-align: left; text-align: left;
margin-bottom: 5px; margin-bottom: 5px;
} }
#hero-area .subtitle { #hero-area .subtitle {
font-size: 32pt; font-size: 32pt;
font-weight: 100; font-weight: 100;
@@ -221,31 +235,38 @@ a:hover {
margin-bottom: 0px; margin-bottom: 0px;
padding-bottom: 0px; padding-bottom: 0px;
} }
#hero-area p { #hero-area p {
font-size: 14pt; font-size: 14pt;
font-weight: 100; font-weight: 100;
padding: 25px 0; padding: 25px 0;
} }
#services h3 { #services h3 {
margin-top: 0; margin-top: 0;
font-size: 28px; font-size: 28px;
color: #2576E5; color: #2576E5;
} }
/*Portfolio*/ /*Portfolio*/
#portfolio { #portfolio {
background: #EEEEEE; background: #EEEEEE;
} }
/*Portfolio Overlay */ /*Portfolio Overlay */
.portfolio-item { .portfolio-item {
position: relative; position: relative;
margin-bottom: 15px; margin-bottom: 15px;
} }
.portfolio-item img { .portfolio-item img {
width: 100%; width: 100%;
} }
.portfolio-item .overlay { .portfolio-item .overlay {
position: absolute; position: absolute;
top: 0; top: 0;
@@ -255,6 +276,7 @@ a:hover {
background-color: rgba(0, 0, 0, 0.8); background-color: rgba(0, 0, 0, 0.8);
display: none; display: none;
} }
.portfolio-item:hover .overlay { .portfolio-item:hover .overlay {
position: absolute; position: absolute;
top: 0; top: 0;
@@ -264,6 +286,7 @@ a:hover {
background-color: rgba(0, 0, 0, 0.8); background-color: rgba(0, 0, 0, 0.8);
display: block; display: block;
} }
.portfolio-item .icons .preview { .portfolio-item .icons .preview {
position: absolute; position: absolute;
left: 40%; left: 40%;
@@ -276,12 +299,15 @@ a:hover {
-webkit-animation-fill-mode: both; -webkit-animation-fill-mode: both;
animation-fill-mode: both; animation-fill-mode: both;
} }
.portfolio-item .icons .preview i { .portfolio-item .icons .preview i {
color: #2576E5; color: #2576E5;
} }
#clients { #clients {
background: #fff; background: #fff;
} }
#about { #about {
background: #2C3E50; background: #2C3E50;
color: #fff; color: #fff;
@@ -290,18 +316,23 @@ a:hover {
#contact { #contact {
background: #f1f1f1; background: #f1f1f1;
} }
#contact ::-webkit-input-placeholder { #contact ::-webkit-input-placeholder {
color: #ecf0f1; color: #ecf0f1;
} }
#contact :-moz-placeholder { #contact :-moz-placeholder {
color: #ecf0f1; color: #ecf0f1;
} }
#contact ::-moz-placeholder { #contact ::-moz-placeholder {
color: #ecf0f1; color: #ecf0f1;
} }
#contact :-ms-input-placeholder { #contact :-ms-input-placeholder {
color: #ecf0f1; color: #ecf0f1;
} }
#contact .social i { #contact .social i {
color: #fff; color: #fff;
padding: 10px; padding: 10px;
@@ -311,39 +342,49 @@ a:hover {
vertical-align: middle; vertical-align: middle;
background: #34495e; background: #34495e;
} }
#contact .social .social-links a:hover { #contact .social .social-links a:hover {
color: #fff; color: #fff;
} }
#contact .social .fa-facebook:hover { #contact .social .fa-facebook:hover {
background: #3b5998; background: #3b5998;
color: #fff; color: #fff;
} }
#contact .social .fa-twitter:hover { #contact .social .fa-twitter:hover {
background: #00CAFB; background: #00CAFB;
color: #fff; color: #fff;
} }
#contact .social .fa-google-plus:hover { #contact .social .fa-google-plus:hover {
background: #D23A1D; background: #D23A1D;
color: #fff; color: #fff;
} }
#contact .social .fa-linkedin:hover { #contact .social .fa-linkedin:hover {
background: #007bb6; background: #007bb6;
color: #fff; color: #fff;
} }
#contact .social .fa-dribbble:hover { #contact .social .fa-dribbble:hover {
background: #ea4c89; background: #ea4c89;
color: #fff; color: #fff;
} }
#contact .social .fa-github:hover { #contact .social .fa-github:hover {
background: #171515; background: #171515;
color: #fff; color: #fff;
} }
#contact .contact-info { #contact .contact-info {
margin: 40px 0; margin: 40px 0;
} }
#contact .contact-info p { #contact .contact-info p {
font-size: 20px; font-size: 20px;
} }
#contact .contact-form .form-control { #contact .contact-form .form-control {
box-shadow: none; box-shadow: none;
font-size: 17px; font-size: 17px;
@@ -352,7 +393,9 @@ a:hover {
border: none; border: none;
} }
/*Scroll Top*/ /*Scroll Top*/
.to-top i { .to-top i {
padding: 10px 15px; padding: 10px 15px;
margin: 10px; margin: 10px;
@@ -360,6 +403,7 @@ a:hover {
color: #34495e; color: #34495e;
border: 2px solid #34495e; border: 2px solid #34495e;
} }
.to-top i:hover { .to-top i:hover {
background: #34495e; background: #34495e;
color: #fff; color: #fff;
@@ -373,66 +417,68 @@ a:hover {
background: #F1F1F1; background: #F1F1F1;
color: #333; color: #333;
} }
#copyright a { #copyright a {
color: #333; color: #333;
} }
/*Feature Section*/ /*Feature Section*/
.feature { .feature {
padding: 0px; padding: 0px;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
height: 250px; height: 250px;
background-color: white; background-color: #fff;
margin-bottom: 30px; margin-bottom: 30px;
border-radius: 7px; border-radius: 7px;
} }
.feature:hover .caption { .feature:hover .caption {
opacity: 1; opacity: 1;
transform: translateY(-250px); transform: translateY(-250px);
-webkit-transform: translateY(-250px); -webkit-transform: translateY(-250px);
-moz-transform: translateY(-250px); -moz-transform: translateY(-250px);
-ms-transform: translateY(-250px); -ms-transform: translateY(-250px);
-o-transform: translateY(-250px); -o-transform: translateY(-250px);
} }
.feature img{ .feature img {
z-index: 4; z-index: 4;
height: 100px; height: 100px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-top: 50px; margin-top: 50px;
} }
.feature .caption{ .feature .caption {
position: absolute; position: absolute;
top: 242px; top: 242px;
-webkit-transition:all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out;
-moz-transition:all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out;
-o-transition:all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out;
-ms-transition:all 0.4s ease-in-out; -ms-transition: all 0.4s ease-in-out;
transition:all 0.4s ease-in-out; transition: all 0.4s ease-in-out;
width: 100%; width: 100%;
} }
.feature .blur{ .feature .blur {
background-color: #428bca; background-color: #428bca;
height: 300px; height: 300px;
z-index: 5; z-index: 5;
position: absolute; position: absolute;
width: 100%; width: 100%;
} }
.feature .caption-text{ .feature .caption-text {
z-index: 10; z-index: 10;
color: white; color: #fff;
position: absolute; position: absolute;
height: 300px; height: 300px;
text-align: center; text-align: center;
top:-20px; top: -20px;
width: 100%; width: 100%;
font-size: 12pt; font-size: 12pt;
} }
@@ -456,8 +502,8 @@ a:hover {
.feature .caption-text h4 { .feature .caption-text h4 {
font-size: 20pt; font-size: 20pt;
color: #2C3E50; color: #2C3E50;
padding: 0px; padding: 0px;
margin-top: -40px; margin-top: -40px;
-webkit-transition: all 0.27s ease-in-out; -webkit-transition: all 0.27s ease-in-out;
-moz-transition: all 0.27s ease-in-out; -moz-transition: all 0.27s ease-in-out;
-o-transition: all 0.27s ease-in-out; -o-transition: all 0.27s ease-in-out;
@@ -465,8 +511,8 @@ a:hover {
} }
.feature:hover .caption-text h4 { .feature:hover .caption-text h4 {
margin-top: 40px; margin-top: 40px;
color: white; color: #fff;
-webkit-transition: all 0.27s ease-in-out; -webkit-transition: all 0.27s ease-in-out;
-moz-transition: all 0.27s ease-in-out; -moz-transition: all 0.27s ease-in-out;
-o-transition: all 0.27s ease-in-out; -o-transition: all 0.27s ease-in-out;
@@ -474,17 +520,20 @@ a:hover {
} }
.contribute-icon { .contribute-icon {
font-size:65px; font-size: 65px;
margin-top: 15px; margin-top: 15px;
margin-bottom: 15px; margin-bottom: 15px;
} }
.content-section { .content-section {
text-align:center; text-align: center;
} }
/*Download Section*/ /*Download Section*/
#download, #help {
#download,
#help {
background: #EEEEEE; background: #EEEEEE;
} }
@@ -492,7 +541,7 @@ a:hover {
padding: 25px; padding: 25px;
margin: 25px; margin: 25px;
border-radius: 10px; border-radius: 10px;
color: white; color: #fff;
} }
.card h2 { .card h2 {
@@ -531,7 +580,7 @@ a:hover {
} }
.release-details { .release-details {
text-align: center; text-align: center;
} }
.card .release-date { .card .release-date {
@@ -541,9 +590,9 @@ a:hover {
} }
.btnDownload { .btnDownload {
margin: 5px; margin: 5px;
background: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.2);
border: none; border: none;
} }
.btnDownload:hover { .btnDownload:hover {
@@ -551,78 +600,77 @@ a:hover {
} }
.btnDownloadIcon { .btnDownloadIcon {
/*flex: 0 0 auto;*/ /*flex: 0 0 auto;*/
padding-right: 5px; padding-right: 5px;
/*font-size: 1em;*/ /*font-size: 1em;*/
} }
.release-section { .release-section {
display:flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: stretch;
justify-content: space-around; justify-content: space-around;
} }
@media (min-width: 992px){ @media (min-width: 992px) {
.release-section { .release-section {
flex-direction: row; flex-direction: row;
} }
.card {
.card { max-width: 27%;
max-width: 27%; min-width: 27%;
min-width: 27%; }
}
} }
.flex-box-col { .flex-box-col {
display:flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.flex-box-row { .flex-box-row {
display:flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
} }
.flex00a { .flex00a {
flex: 0 0 auto; flex: 0 0 auto;
} }
.flex11a { .flex11a {
flex: 1 1 auto; flex: 1 1 auto;
} }
.flex11100 { .flex11100 {
flex: 1 1 100%; flex: 1 1 100%;
} }
.no-release-text { .no-release-text {
margin-top: 40px; margin-top: 40px;
} }
.stamp { .stamp {
position: absolute; position: absolute;
display: inline-block; display: inline-block;
color: red; color: red;
padding: 15px; padding: 15px;
background-color: white; background-color: #fff;
box-shadow: inset 0px 0px 0px 10px red; box-shadow: inset 0px 0px 0px 10px red;
transform: rotate(30deg); transform: rotate(30deg);
margin-top: 20%; margin-top: 20%;
margin-left: 20%; margin-left: 20%;
font-size: 25px; font-size: 25px;
width: 65%; width: 65%;
} }
.stamp:after { .stamp:after {
content: ''; content: '';
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url("../img/stamp.jpg"); background-image: url("../img/stamp.jpg");
mix-blend-mode: lighten; mix-blend-mode: lighten;
} }