forked from EclipseFdn/asciidoc-wg.eclipse.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolves EclipseFdn#29 replace featured story with a static block
- Loading branch information
1 parent
0bbd779
commit b6b8121
Showing
5 changed files
with
86 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
block_type: "purpose" | ||
--- | ||
|
||
== Purpose | ||
|
||
Our goal is to support the development, deployment, management, and usage of software documentation, applications, and services that use AsciiDoc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{{ define "main" }} | ||
<div class="featured-story featured-story-nid-default-featured-story featured-story-light" id="featured-story" data-publish-target="asciidoc"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-12 col-sm-offset-2 col-md-16 col-md-offset-0 featured-story-block featured-story-block-content match-height-item-by-row featured-container" | ||
style="height: 279px;"> | ||
{{ range where .Site.Pages "Params.block_type" "purpose" }} | ||
{{ .Content }} | ||
{{ end }} | ||
{{/* | ||
<h2 class="margin-top-30">Eclipse Foundation Events</h2> | ||
<p>Join the world’s leading technologists and open source leaders at Eclipse Foundation events to share ideas, learn and collaborate.</p> | ||
<ul class="list-inline list-inline-xs-margin"> | ||
<li><a class="btn btn-primary" href="https://events.eclipse.org">View Events</a></li> | ||
</ul> | ||
*/}} | ||
</div> | ||
<div class="col-sm-9 col-md-8 featured-side featured-story-block match-height-item-by-row" style="height: 279px;"> | ||
<div class="featured-side-content text-center"> | ||
<p> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="1" stroke-linecap="round" | ||
stroke-linejoin="round" class="feather feather-mail"> | ||
<path d="M4 4h16c1.1.0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1.0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path> | ||
<polyline points="22,6 12,13 2,6"></polyline> | ||
</svg> | ||
</p> | ||
<p>Sign up to our<br>Mailing list</p> | ||
<p> | ||
<a class="button btn btn-primary" href="https://accounts.eclipse.org/mailing-list/asciidoc-wg">Subscribe</a></p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{ .Content }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,40 @@ | ||
/*! | ||
* Copyright (c) 2021 Eclipse Foundation, Inc. | ||
* | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License v. 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* | ||
* Contributors: | ||
* Christopher Guindon <[email protected]> | ||
* | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
//== Colors | ||
@brand-primary: #324d7c; | ||
@brand-tertiary: #f15f28; | ||
@brand-secondary: #083194; | ||
@brand-secondary: #083194; | ||
@brand-quaternary: #527bbd; | ||
@brand-quinary: @brand-secondary; | ||
@brand-info: @brand-tertiary; | ||
@brand-info-light: #dbe3f8; | ||
@brand-warning: @brand-primary; | ||
|
||
@footer-color: #404040; | ||
@footer-link-color: #404040; | ||
@border-color: #ccc; | ||
@featured-block-list-h2-color: #3d3d3d; | ||
|
||
//== Breadcrumb | ||
@breadcrumb-color:#fff; | ||
@breadcrumb-hover:@brand-quaternary; | ||
@breadcrumb-active-color:#fff; | ||
|
||
|
||
//== Featured story | ||
@featured-story-h2-color: #333; | ||
@featured-story-p-size: 18px; | ||
@featured-story-ad-bg-color: #6b747b; | ||
|
||
//== Featured block | ||
@featured-block-list-media-link-bg-color-hover: #d3d3d3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
/*! | ||
* Copyright (c) 2021 Eclipse Foundation, Inc. | ||
* | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License v. 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* | ||
* Contributors: | ||
* Christopher Guindon <[email protected]> | ||
* | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
|
@@ -23,11 +23,11 @@ | |
.list-inline { | ||
margin-top: 20px; | ||
} | ||
|
||
p { | ||
font-weight: 300; | ||
&:last-child{ | ||
margin-bottom:0; | ||
margin-bottom: 0; | ||
} | ||
} | ||
|
||
|
@@ -41,24 +41,34 @@ | |
} | ||
|
||
h1 { | ||
margin-bottom:10px; | ||
margin-top:50px; | ||
margin-bottom: 10px; | ||
margin-top: 50px; | ||
&:after { | ||
display:none; | ||
display: none; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.featured-side a{ | ||
float:none; | ||
.featured-side a { | ||
float: none; | ||
} | ||
|
||
.featured-side .featured-side-content { | ||
color: white; | ||
} | ||
|
||
.featured-story { | ||
/* negate container-fluid margin */ | ||
margin-left: -15px; | ||
margin-right: -15px; | ||
} | ||
|
||
.news-list .news-list-col { | ||
margin-bottom:0; | ||
padding-bottom:0; | ||
margin-bottom: 0; | ||
padding-bottom: 0; | ||
h2.heading-line { | ||
text-align:center; | ||
text-align: center; | ||
border-bottom: 1px solid @border-color; | ||
padding-bottom: 5px; | ||
} | ||
|
@@ -76,10 +86,10 @@ | |
} | ||
} | ||
|
||
.featured-footer{ | ||
margin-top:50px; | ||
.featured-footer { | ||
margin-top: 50px; | ||
} | ||
|
||
.logo-eclipse-default-mobile { | ||
max-width:165px; | ||
} | ||
max-width: 165px; | ||
} |