THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

intro: Update intro page styles

New head cover image from:
https://unsplash.com/@svetacreative?photo=tI_Odb7ZU6M
tags/v1.3.0
Suwon Chae 3 years ago
parent
commit
c300862a5f
3 changed files with 9 additions and 6 deletions
  1. +7
    -4
      app/assets/stylesheets/less/_page.less
  2. +2
    -2
      app/views/index/partial_intro.scala.html
  3. BIN
      public/images/bg-samples/photo-svetacreative.jpg

+ 7
- 4
app/assets/stylesheets/less/_page.less View File

@@ -731,10 +731,11 @@
.siteintro {
border-bottom:1px solid #e8e8e8;

background-image:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0,0,0, 0.3)), url('../images/bg-samples/desk-pen-photo.jpg');
background-image:linear-gradient(rgba(0, 0, 0, 0.5), rgba(0,0,0, 0.3)), url('../images/bg-samples/photo-svetacreative.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
border-bottom: 1px solid #333;

.siteintro-cover {
opacity: 1;
@@ -758,7 +759,8 @@
font-size:34px;
font-weight:normal;
color: #FAFAFA;
font-family: Apple SD Gothic Neo, D2Coding, sans-serif;
font-family: sans-serif;
opacity: 0.9;
}

.site-features {
@@ -770,7 +772,7 @@
margin-top:5px;

li {
color:#9E9E9E;
color:#FFF;
display:inline-block;
font-size:16px;
margin-left:5px;
@@ -779,6 +781,7 @@
&:first-child {
margin-left:0;
}
opacity: 0.5;
}
}
}
@@ -801,7 +804,7 @@

h2 {
padding:0;
font-size: 20px;
font-size: 26px;
font-weight:normal;
margin-top: 30px;
display:block;


+ 2
- 2
app/views/index/partial_intro.scala.html View File

@@ -38,7 +38,7 @@
<h2><span>@Messages("title.features")</span></h2>
<ul class="feature-wrap">
<li>
<div class="feature-image"><i class="yobicon-database-add"></i></div>
<div class="feature-image"><i class="yobicon-cgicenter"></i></div>
<div class="feature-info">
<h3 class="feature-title">@Messages("title.unlimitedProjects")</h3>
<p class="feature-desc">@Messages("site.features.unlimitedProjects")</p>
@@ -52,7 +52,7 @@
</div>
</li>
<li>
<div class="feature-image"><i class="yobicon-science"></i></div>
<div class="feature-image"><i class="yobicon-articles"></i></div>
<div class="feature-info">
<h3 class="feature-title">@Messages("title.issueTracker")</h3>
<p class="feature-desc">@Messages("site.features.issueTracker")</p>


BIN
public/images/bg-samples/photo-svetacreative.jpg View File

Before After
Width: 2200  |  Height: 610  |  Size: 822 KiB

Loading…
Cancel
Save