Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Webpage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LEAPS WG3
Webpage
Commits
e53f8f2a
Commit
e53f8f2a
authored
1 year ago
by
Sophie Servan (DESY)
Browse files
Options
Downloads
Patches
Plain Diff
add posts
parent
bdc31d23
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
_data/navigation.yml
+4
-0
4 additions, 0 deletions
_data/navigation.yml
_layouts/post.html
+10
-0
10 additions, 0 deletions
_layouts/post.html
_sass/main.scss
+34
-10
34 additions, 10 deletions
_sass/main.scss
posts.html
+14
-0
14 additions, 0 deletions
posts.html
with
62 additions
and
10 deletions
_data/navigation.yml
+
4
−
0
View file @
e53f8f2a
...
...
@@ -13,6 +13,10 @@
-
name
:
Current work
link
:
"
/current-work.html"
description
:
The current focus of the working group, in particular the special interest groups and projects.
-
name
:
Posts
link
:
"
/posts.html"
description
:
News or blog posts from our members.
-
name
:
Funding
link
:
"
/funding.html"
...
...
This diff is collapsed.
Click to expand it.
_layouts/post.html
0 → 100644
+
10
−
0
View file @
e53f8f2a
---
layout: default
---
<h1>
{{ page.title }}
</h1>
<p><b>
{{ page.date | date_to_string }}
</b></p>
<p>
{{ page.excerpt }}
</p>
<a
href=
"{{ page.link }}"
><img
src=
'{{ page.pic | relative_url }}'
alt=
"pic missing"
class=
"hundred"
></a>
{{ content }}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
_sass/main.scss
+
34
−
10
View file @
e53f8f2a
...
...
@@ -37,11 +37,6 @@ h1, th, strong, .focus {
h1
{
padding-top
:
$padding-big
;
font-size
:
$big-font-size
;
a
{
color
:
inherit
;
font-size
:
inherit
;
text-decoration
:
none
;
}
}
h2
{
...
...
@@ -65,7 +60,13 @@ p, td {
// links
a
:hover
{
color
:
$color-strong
;
text-decoration
:
underline
;
text-decoration
:
inherit
;
}
h1
a
,
h2
a
{
color
:
inherit
;
font-size
:
inherit
;
text-decoration
:
none
;
}
// images
...
...
@@ -92,6 +93,10 @@ img.inline-orcid {
width
:
16px
;
}
img
.hundred
{
width
:
100%
;
}
// boxes
.container
{
display
:
flex
;
...
...
@@ -99,7 +104,7 @@ img.inline-orcid {
justify-content
:
center
;
}
.page-box
,
.member-box
{
.page-box
,
.member-box
,
.post-box
{
border
:
$border-std
solid
$color-strong
;
border-radius
:
$padding-big
;
box-sizing
:
border-box
;
...
...
@@ -107,11 +112,20 @@ img.inline-orcid {
margin
:
$padding-std
;
}
.page-box
,
.post-box
{
text-decoration
:
none
;
transition
:
background-color
0
.3s
ease
;
:first-child
{
margin-top
:
0
;
}
:last-child
{
margin-bottom
:
0
;
}
}
.page-box
{
width
:
$box-size
;
box-shadow
:
$padding-std
$padding-std
$color-fade
;
text-decoration
:
none
;
transition
:
background-color
0
.3s
ease
;
.box-title
{
margin-left
:
0
;
text-align
:
center
;
...
...
@@ -120,7 +134,17 @@ img.inline-orcid {
}
}
.page-box
:hover
,
.member-box
{
.post-box
{
h2
{
margin-top
:
$padding-std
;
margin-bottom
:
$padding-std
;
}
.sticker
{
float
:
right
;
}
}
.page-box
:hover
,
.member-box
,
.post-box
:hover
{
background-color
:
$color-fade
;
text-decoration
:
none
;
}
...
...
This diff is collapsed.
Click to expand it.
posts.html
0 → 100644
+
14
−
0
View file @
e53f8f2a
---
title: Posts
---
<h1>
Latest posts from our members
</h1>
<div
class=
"container"
>
{% for post in site.posts %}
<a
href=
"{{ post.url }}"
class=
"post-box"
>
<p>
{{ post.date | date_to_string }}
<span
class=
"sticker"
>
{{ post.category }}
</span></p>
<h2>
{{ post.title }}
</h2>
<p>
{{ post.excerpt }}
<b>
Read more...
</b></p>
</a>
{% endfor %}
</div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment