Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new row for scala center activities #305

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions _layouts/frontpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</div>
</div>
</div>
<div class="container inner-splash" style="margin-top: 135px;">
<div class="container inner-splash main-logo-wrap">
<div class="row">
<div class="col-md-6 col-md-offset-3 text-center">
<img src="/resources/img/scala-center-main-logo@2x.png" width="100%" alt="ScalaCenter. For Open Source. For Education" >
Expand All @@ -47,7 +47,7 @@
<div class="col-md-12 text-center">
<div class="objectives">
An independent not-for-profit center established at EPFL.<br/>
<b>Focused on:</b>
<b>Focused on</b>
</div>
</div>
</div>
Expand All @@ -57,6 +57,19 @@
<a class="btn btn-default btn" data-toggle="popover" data-placement="bottom" data-container="body" href="#education">Education</a>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<div class="objectives short">
<b>Activities</b>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center home-popovers">
<a class="btn btn-default btn" href="https://www.scala-lang.org/blog/2023/01/31/scala-center-2023-roadmap.html">2023 Roadmap</a>
<a class="btn btn-default btn" href="/records/first-five-years/">5 year impact report</a>
</div>
</div>
</div>
<div class="vertical-spacer-bottom gradient"></div>
</div>
Expand Down
26 changes: 22 additions & 4 deletions resources/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ $fa-font-path: "./../../bower_components/font-awesome/fonts";
overflow-x: hidden;
}

.main-logo-wrap {
margin-top: 135px;

@media (max-width: 991px) {
margin-top: 42px;
}

@media (max-width: 767px) {
margin-top: 154px;
}
}

/* HEADER */
.header-logo {
.swirl {
Expand Down Expand Up @@ -121,9 +133,6 @@ $fa-font-path: "./../../bower_components/font-awesome/fonts";
.popover .arrow {
left: 50% !important;
}
body.home .splash {
height: 815px !important;
}
}

/* HOME */
Expand Down Expand Up @@ -180,7 +189,13 @@ body.home {
}

.splash {
height: 650px;
height: 720px;
@media (max-width: 768px) {
height: 770px;
}
@media (max-width: 520px) {
height: 900px;
}
background-color: #15414c;
position: relative;
font-family: "Lato", sans-serif;
Expand Down Expand Up @@ -255,6 +270,9 @@ body.home {
line-height: 1.42;
margin-bottom: 40px;
font-weight: 400;
&.short {
height: 14px;
}
b {
margin-top: 15px;
display: block;
Expand Down
Loading