Skip to content

Commit 2b5b300

Browse files
authored
Merge pull request topcoder-archive#876 from appirio-tech/tom-tco17-banner
Tom tco17 banner
2 parents 4885859 + 7abac76 commit 2b5b300

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

app/my-dashboard/my-dashboard.jade

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77

88
//- .ttl
99
//- tc-banner(theme="black", banner-name="ttl")
10+
.tco.tco17
11+
.tc-banner-placeholder.black.bg-image
12+
.title 2017 Topcoder Open
13+
.subtitle The Ultimate Programming & Design tournament
14+
.description Earn your way to the USA!
15+
a(href="http://tco17.topcoder.com/").cta.tc-btn-white.tc-btn-radius Learn More
1016

1117
.tco
1218
tc-banner(theme="black", banner-name="tco16")

assets/css/directives/tc-banner.scss

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
$tco-color: #F47A20;
44
$tco-color-dark: #ea690b;
55

6+
.tco17 {
7+
margin-bottom: 10px;
8+
}
9+
610
.tc-banner-placeholder {
711
display: flex;
812
flex-direction: column;
@@ -113,6 +117,11 @@ $tco-color-dark: #ea690b;
113117
color: $white;
114118
}
115119

120+
.subtitle {
121+
@extend .title;
122+
@include sofia-pro-regular;
123+
}
124+
116125
.description {
117126
color: $white;
118127
}
@@ -124,5 +133,41 @@ $tco-color-dark: #ea690b;
124133
}
125134
}
126135
}
136+
137+
.tc-btn-white {
138+
background-color: white;
139+
color: #0096FF;
140+
padding: 10px 20px;
141+
margin-top: 5px;
142+
}
143+
144+
.tc-btn-radius {
145+
border-radius: 26px;
146+
}
147+
}
148+
.tc-banner-placeholder.bg-image {
149+
background-image: url(../../images/home-hero.jpg);
150+
background-size: 100%;
151+
height: 352px;
152+
background-position: center 40%;
153+
background-repeat: no-repeat;
154+
155+
padding-top: 50px;
156+
padding-right: 350px;
157+
158+
.title {
159+
font-size: 36px;
160+
margin-bottom: 5px;
161+
margin-top: 10px;
162+
}
163+
164+
.subtitle {
165+
margin-top: 20px;
166+
width: 450px;
167+
}
168+
169+
.cta {
170+
margin-top: 20px;
171+
}
127172
}
128173

assets/images/home-hero.jpg

106 KB
Loading

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy