Skip to content

Commit 59fc7b6

Browse files
authored
Merge pull request #305 from scala/add-sc-activities
add new row for scala center activities
2 parents bcce351 + 219a371 commit 59fc7b6

File tree

2 files changed

+37
-6
lines changed

2 files changed

+37
-6
lines changed

_layouts/frontpage.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</div>
3535
</div>
3636
</div>
37-
<div class="container inner-splash" style="margin-top: 135px;">
37+
<div class="container inner-splash main-logo-wrap">
3838
<div class="row">
3939
<div class="col-md-6 col-md-offset-3 text-center">
4040
<img src="/resources/img/scala-center-main-logo@2x.png" width="100%" alt="ScalaCenter. For Open Source. For Education" >
@@ -47,7 +47,7 @@
4747
<div class="col-md-12 text-center">
4848
<div class="objectives">
4949
An independent not-for-profit center established at EPFL.<br/>
50-
<b>Focused on:</b>
50+
<b>Focused on</b>
5151
</div>
5252
</div>
5353
</div>
@@ -57,6 +57,19 @@
5757
<a class="btn btn-default btn" data-toggle="popover" data-placement="bottom" data-container="body" href="#education">Education</a>
5858
</div>
5959
</div>
60+
<div class="row">
61+
<div class="col-md-12 text-center">
62+
<div class="objectives short">
63+
<b>Activities</b>
64+
</div>
65+
</div>
66+
</div>
67+
<div class="row">
68+
<div class="col-md-12 text-center home-popovers">
69+
<a class="btn btn-default btn" href="https://www.scala-lang.org/blog/2023/01/31/scala-center-2023-roadmap.html">2023 Roadmap</a>
70+
<a class="btn btn-default btn" href="/records/first-five-years/">5 year impact report</a>
71+
</div>
72+
</div>
6073
</div>
6174
<div class="vertical-spacer-bottom gradient"></div>
6275
</div>

resources/css/main.scss

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ $fa-font-path: "./../../bower_components/font-awesome/fonts";
5757
overflow-x: hidden;
5858
}
5959

60+
.main-logo-wrap {
61+
margin-top: 135px;
62+
63+
@media (max-width: 991px) {
64+
margin-top: 42px;
65+
}
66+
67+
@media (max-width: 767px) {
68+
margin-top: 154px;
69+
}
70+
}
71+
6072
/* HEADER */
6173
.header-logo {
6274
.swirl {
@@ -121,9 +133,6 @@ $fa-font-path: "./../../bower_components/font-awesome/fonts";
121133
.popover .arrow {
122134
left: 50% !important;
123135
}
124-
body.home .splash {
125-
height: 815px !important;
126-
}
127136
}
128137

129138
/* HOME */
@@ -180,7 +189,13 @@ body.home {
180189
}
181190

182191
.splash {
183-
height: 650px;
192+
height: 720px;
193+
@media (max-width: 768px) {
194+
height: 770px;
195+
}
196+
@media (max-width: 520px) {
197+
height: 900px;
198+
}
184199
background-color: #15414c;
185200
position: relative;
186201
font-family: "Lato", sans-serif;
@@ -255,6 +270,9 @@ body.home {
255270
line-height: 1.42;
256271
margin-bottom: 40px;
257272
font-weight: 400;
273+
&.short {
274+
height: 14px;
275+
}
258276
b {
259277
margin-top: 15px;
260278
display: block;

0 commit comments

Comments
 (0)