Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1924fa8

Browse files
authoredMar 13, 2017
Merge pull request #1081 from shizhouxing/dev
Issue #1058
2 parents 1044c75 + 2a5ce5a commit 1924fa8

File tree

3 files changed

+38
-23
lines changed

3 files changed

+38
-23
lines changed
 

‎app/my-dashboard/my-dashboard.jade

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414

1515
.tco.tco17
1616
.tc-banner-placeholder.black.bg-image
17-
.title 2017 Topcoder Open
18-
.subtitle The Ultimate Programming & Design tournament
19-
.description Earn your way to the USA!
20-
a(href="http://tco17.topcoder.com/").cta.tc-btn-white.tc-btn-radius Learn More
17+
.container
18+
.title 2017 Topcoder Open
19+
.subtitle The Ultimate Programming & Design tournament
20+
.description Earn your way to the USA!
21+
a(href="http://tco17.topcoder.com/").cta.tc-btn-white.tc-btn-radius Learn More
2122

2223
.srms(id="srms", ui-view="srms", ng-show="dashboard.showSRMs")
2324

‎assets/css/directives/tc-banner.scss

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -150,33 +150,47 @@ $tco-color-dark: #ea690b;
150150
background-image: url(../../images/home-hero.jpg);
151151
background-size: 100%;
152152
height: 352px;
153-
background-position: center 40%;
153+
background-position: center 25%;
154154
background-repeat: no-repeat;
155+
flex-direction: row;
155156

156157
padding-top: 50px;
158+
159+
.container {
160+
width: 50%;
161+
display: flex;
162+
flex-direction: column;
163+
align-items: flex-start;
164+
margin-left: 37px;
165+
height: 95%;
166+
justify-content: space-between;
157167

158-
.title {
159-
margin-top: 10px;
160-
@include sofia-pro-bold;
161-
color: $white;
162-
}
168+
.title {
169+
margin-top: 10px;
170+
@include sofia-pro-bold;
171+
color: $white;
172+
}
163173

164-
.subtitle {
165-
margin-top: 20px;
166-
width: 450px;
167-
font-size: 20px;
168-
@extend .title;
169-
@include sofia-pro-regular;
170-
}
174+
.subtitle {
175+
margin-top: 20px;
176+
width: 450px;
177+
font-size: 20px;
178+
@extend .title;
179+
@include sofia-pro-regular;
180+
text-align: left;
181+
}
171182

172-
.description {
173-
margin-top: 20px;
174-
margin-bottom: 5px;
175-
}
183+
.description {
184+
margin-top: 20px;
185+
margin-bottom: 5px;
186+
}
176187

177-
.cta {
178-
margin-top: 20px;
188+
.cta {
189+
margin-top: 20px;
190+
}
191+
179192
}
193+
180194
}
181195

182196

‎assets/images/home-hero.jpg

281 KB
Loading

0 commit comments

Comments
 (0)
This repository has been archived.