Updated Features Section

- used cards
- updated browser color
This commit is contained in:
Hendrik Blöß committed 2017-06-15 11:51:05 +02:00
1 parent d91ee871a2
commit 59c74cad5e
5 files changed
+93 -196

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ faviconPng: "/img/vocaluxe_icon.png"
############################## ##############################
# Color the browser elements # # Color the browser elements #
############################## ##############################
color-browser: "#000000" color-browser: "#2C3E50"
apple-status-bar-style: "black" apple-status-bar-style: "black"
################ ################
+17 -18
View File
@@ -1,25 +1,24 @@
<!-- About Section --> <!-- About Section -->
<section id="{{ page.section-type }}"> <section id="{{ page.section-type }}">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<h1 class="title">{{ page.title }}</h1> <h1 class="title">{{ page.title }}</h1>
<h2 class="subtitle">{{ page.subtitle }}</h2> <h2 class="subtitle">{{ page.subtitle }}</h2> {% for feature in site.data.features %}
<div class="col-md-3 flex-box-col">
{% for feature in site.data.features %} <div class="card hover-card dark-text">
<div class="col-md-3 col-sm-6"> <img src="{{site.baseurl}}/img/features/{{ feature.image }}" class="img-responsive" alt="">
<div class="feature"> <div class="hover-overlay blue-bg">
<img src="{{site.baseurl}}/img/features/{{ feature.image }}" class="img-responsive" alt=""> <div class="overlay-background">
<div class="caption"> <div class="overlay-content">
<div class="blur"></div> <h4>{{ feature.title }}</h4>
<div class="caption-text"> <p>{{ feature.description }}</p>
<h4>{{ feature.title }}</h4> </div>
<p>{{ feature.description }}</p>
</div>
</div>
</div>
</div> </div>
{% endfor %} </div>
</div> </div>
</div>
{% endfor %}
</div> </div>
</div>
</section> </section>
<!-- About Section End --> <!-- About Section End -->
-1
View File
@@ -5,7 +5,6 @@
<meta name="description" content="{{site.description}}"> <meta name="description" content="{{site.description}}">
<meta name="author" content="{{site.author}}"> <meta name="author" content="{{site.author}}">
<meta name="keywords" content="{{site.keywords}}"> <meta name="keywords" content="{{site.keywords}}">
<meta name="theme-color" content="#2C3E50">
<link rel="canonical" href="{{page.url | replace:'index.html','' | prepend: site.baseurl}}"> <link rel="canonical" href="{{page.url | replace:'index.html','' | prepend: site.baseurl}}">
<title>{{site.title}}{% if page.title %} | {{page.title}}{% endif %}</title> <title>{{site.title}}{% if page.title %} | {{page.title}}{% endif %}</title>
+75 -176
View File
@@ -1,4 +1,6 @@
/****COLORS****/ @import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');
/****Colors****/
.blue-text { .blue-text {
color: #428bca; color: #428bca;
} }
@@ -76,12 +78,13 @@
} }
/*************/ /*************/
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700'); /***General***/
body { body {
font-family: 'Lato', sans-serif; font-family: 'Lato', sans-serif;
font-size: 14pt; font-size: 14pt;
font-weight: 400; font-weight: 400;
color: #2C3E50 color: #2C3E50;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
@@ -145,13 +148,24 @@ a:hover {
color: #fff; color: #fff;
} }
.content-section {
text-align: center;
}
#about, #about,
#songs { #songs {
background: #2C3E50; background: #2C3E50;
color: #fff; color: #fff;
} }
/**Navigation**/ #download,
#help {
background: #EEEEEE;
}
/*************/
/****Navbar***/
.navbar { .navbar {
margin-bottom: 0; margin-bottom: 0;
@@ -183,7 +197,6 @@ a:hover {
.navbar-default .navbar-nav li a:hover, .navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus { .navbar-default .navbar-nav li a:focus {
color: #fff; color: #fff;
font-weight: 100;
} }
.navbar-default .navbar-nav>.active, .navbar-default .navbar-nav>.active,
@@ -269,6 +282,7 @@ a:hover {
} }
} }
/*************/
/**Hero area**/ /**Hero area**/
@@ -324,145 +338,13 @@ a:hover {
padding: 25px 0; padding: 25px 0;
} }
/*Scroll Top*/ /**************/
.to-top i { /***Download***/
padding: 10px 15px;
margin: 10px;
background: transparent;
color: #34495e;
border: 2px solid #34495e;
}
.to-top i:hover {
background: #34495e;
color: #fff;
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
}
#download,
#help {
background: #EEEEEE;
}
#copyright {
background: #F1F1F1;
color: #333;
}
#copyright a {
color: #333;
}
/*Feature Section*/
.feature {
padding: 0px;
position: relative;
overflow: hidden;
height: 250px;
background-color: #fff;
margin-bottom: 30px;
border-radius: 7px;
}
.feature:hover .caption {
opacity: 1;
transform: translateY(-250px);
-webkit-transform: translateY(-250px);
-moz-transform: translateY(-250px);
-ms-transform: translateY(-250px);
-o-transform: translateY(-250px);
}
.feature img {
z-index: 4;
height: 100px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
}
.feature .caption {
position: absolute;
top: 242px;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
width: 100%;
}
.feature .blur {
background-color: #428bca;
height: 300px;
z-index: 5;
position: absolute;
width: 100%;
}
.feature .caption-text {
z-index: 10;
color: #fff;
position: absolute;
height: 300px;
text-align: center;
top: -20px;
width: 100%;
font-size: 12pt;
}
.feature .caption-text p {
padding: 25px 15px;
font-weight: 100;
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
-o-transition: all 0.3s linear;
transition: all 0.3s linear;
}
.feature:hover .caption-text p {
padding-top: 10px;
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
-o-transition: all 0.3s linear;
transition: all 0.3s linear;
}
.feature .caption-text h4 {
font-size: 20pt;
color: #2C3E50;
padding: 0px;
margin-top: -40px;
-webkit-transition: all 0.27s ease-in-out;
-moz-transition: all 0.27s ease-in-out;
-o-transition: all 0.27s ease-in-out;
transition: all 0.27s ease-in-out;
}
.feature:hover .caption-text h4 {
margin-top: 40px;
color: #fff;
-webkit-transition: all 0.27s ease-in-out;
-moz-transition: all 0.27s ease-in-out;
-o-transition: all 0.27s ease-in-out;
transition: all 0.27s ease-in-out;
}
.content-section {
text-align: center;
}
/*Download Section*/
#download .card { #download .card {
color: #fff; color: #fff;
text-align: center;
} }
#download .card h2 { #download .card h2 {
@@ -473,7 +355,12 @@ a:hover {
#download .card p { #download .card p {
font-size: 14pt; font-size: 14pt;
margin-bottom: 10px; margin-bottom: 10px;
font-weight: 400; }
#download .card .release-date {
font-size: 11pt;
margin-top: 10px;
margin-bottom: 0px;
} }
.dark-bg .release-date a { .dark-bg .release-date a {
@@ -492,12 +379,6 @@ a:hover {
text-align: center; text-align: center;
} }
.card .release-date {
font-size: 11pt;
margin-top: 10px;
margin-bottom: 0px;
}
.btnDownload { .btnDownload {
margin: 5px; margin: 5px;
} }
@@ -551,6 +432,53 @@ a:hover {
margin-top: 40px; margin-top: 40px;
} }
/**************/
/***Features***/
#about .card {
height: 250px;
background-color: #fff;
margin: 0 0 30px 0;
padding: 0;
}
#about .card img {
z-index: 4;
height: 100px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
}
#about .card .overlay-content p {
padding: 0 15px;
}
#about .card .overlay-content h4 {
font-size: 20pt;
color: #2C3E50;
padding: 0px;
margin-top: -70px;
margin-bottom: 70px;
-webkit-transition: all 0.27s ease-in-out;
-moz-transition: all 0.27s ease-in-out;
-o-transition: all 0.27s ease-in-out;
transition: all 0.27s ease-in-out;
}
#about .card:hover .overlay-content h4 {
margin-top: 10px;
margin-bottom: 10px;
color: #fff;
-webkit-transition: all 0.27s ease-in-out;
-moz-transition: all 0.27s ease-in-out;
-o-transition: all 0.27s ease-in-out;
transition: all 0.27s ease-in-out;
}
/**************/
/*****Help*****/ /*****Help*****/
#help .card, #help .card,
@@ -603,32 +531,3 @@ a:hover {
} }
/**************/ /**************/
/*****Songs****/
/**************/
.stamp {
position: absolute;
display: inline-block;
color: red;
padding: 15px;
background-color: #fff;
box-shadow: inset 0px 0px 0px 10px red;
transform: rotate(30deg);
margin-top: 20%;
margin-left: 20%;
font-size: 25px;
width: 65%;
}
.stamp:after {
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-image: url("../img/stamp.jpg");
mix-blend-mode: lighten;
}
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB