Skip to content
Snippets Groups Projects
Commit 49551b99 authored by Olivier Goulet's avatar Olivier Goulet
Browse files

Merge branch 'oliviergoulet/main/436-research' into 'main'

feat: new research jumbotron

See merge request !162
parents 0412c931 574b79d6
No related branches found
No related tags found
2 merge requests!221feat: Add specification section to project resources,!162feat: new research jumbotron
Pipeline #42151 passed
...@@ -4,22 +4,15 @@ cascade: ...@@ -4,22 +4,15 @@ cascade:
# header # header
header_wrapper_class: "header-research-bg-img small-jumbotron-subtitle" header_wrapper_class: "header-research-bg-img small-jumbotron-subtitle"
headline: "Research @ Eclipse Foundation" headline: "Research @ Eclipse Foundation"
jumbotron_class: "col-sm-24" jumbotron_class: "col-md-24"
custom_jumbotron_class: "col-sm-24" custom_jumbotron_class: "research-custom-jumbotron col-sm-24"
custom_jumbotron: | custom_jumbotron: |
<div class="home-custom-jumbotron row"> <div class="research-custom-jumbotron row">
<p class="col-sm-14"> <p class="col-md-14">
Business-friendly open source and open innovation underpin Business-friendly open source and open innovation underpin
exploitation, community building, and dissemination strategies for exploitation, community building, and dissemination strategies for
European projects European projects
</p> </p>
<div class="research-logo-wrapper col-sm-10">
<img
class="research-logo"
src="/images/eclipse-research-logo-transparent.svg"
alt="Eclipse Research Logo"
/>
</div>
</div> </div>
hide_call_for_action : true hide_call_for_action : true
...@@ -33,7 +26,6 @@ cascade: ...@@ -33,7 +26,6 @@ cascade:
page_css_file: /public/css/research-styles.css page_css_file: /public/css/research-styles.css
date: 2019-09-10T15:50:25-04:00 date: 2019-09-10T15:50:25-04:00
links: [[href: "#projects", text: "Research Projects"], [href: "#collaborations", text: "Collaborations"]]
hide_page_title: true hide_page_title: true
show_featured_story: false show_featured_story: false
show_featured_footer: false show_featured_footer: false
......
...@@ -11,11 +11,12 @@ ...@@ -11,11 +11,12 @@
* SPDX-License-Identifier: EPL-2.0 * SPDX-License-Identifier: EPL-2.0
*/ */
@white: #fff; // Colors
@header-default-bg-img: url('images/research-jumbo-image.jpg');
@mobile-menu-logo-max-width: 250px;
@light-gray: #f0f2f2; @light-gray: #f0f2f2;
@mid-gray: #dddbd8; @mid-gray: #dddbd8;
@dark-blue: #000c2d;
@dark-gray: #37474f; @dark-gray: #37474f;
@mid-blue: #456e9d; @mid-blue: #456e9d;
@regal-blue: #004d66;
// Backgrounds
@header-default-bg-img: url('./images/home-jumbotron.jpg');
less/page_css_file/research/images/home-jumbotron.jpg

159 KiB

less/page_css_file/research/images/research-jumbo-image.jpg

186 KiB

...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* SPDX-License-Identifier: EPL-2.0 * SPDX-License-Identifier: EPL-2.0
*/ */
@import (reference) '~eclipsefdn-solstice-assets/less/quicksilver/styles.less'; @import (reference) '~eclipsefdn-solstice-assets/less/astro/main.less';
@import '_variables.less'; @import '_variables.less';
// layout styling // layout styling
...@@ -111,10 +111,77 @@ main { ...@@ -111,10 +111,77 @@ main {
} }
} }
.featured-jumbotron {
& &-headline {
margin-bottom: 10rem;
color: @white;
text-shadow: unset;
font-weight: 500;
text-align: center;
}
}
.research-custom-jumbotron {
margin-top: 20rem;
}
.header-research-bg-img .featured-jumbotron { .header-research-bg-img .featured-jumbotron {
background-image: @header-default-bg-img; position: relative;
background-size: cover; background-color: @regal-blue;
background-repeat: no-repeat;
&::before,
&::after {
content: '';
position: absolute;
left: 0;
top: 30%;
width: 100%;
height: 20rem;
}
&::before {
background: @header-default-bg-img;
background-repeat: no-repeat;
background-size: cover;
}
&::after {
background: linear-gradient(to bottom, @regal-blue 0%, transparent 35%, transparent 65%, @regal-blue 100%);
}
}
@media (min-width: @screen-sm-min) {
.research-custom-jumbotron {
margin-top: 13rem;
}
}
@media (min-width: @screen-md-min) {
.featured-jumbotron {
& &-headline {
text-align: left;
margin-bottom: 2rem;
}
}
.header-research-bg-img .featured-jumbotron {
&::before,
&::after {
top: 0;
left: 60%;
width: calc(100% - 60%);
height: 100%;
}
&::after {
background: linear-gradient(to right, @regal-blue 0%, transparent 35%);
}
}
// Add gap between jumbotron content and image
.research-custom-jumbotron {
margin-top: unset;
}
} }
.overflow-hidden { .overflow-hidden {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment