Skip to content

Commit

Permalink
up css
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-lemeur committed Apr 3, 2024
1 parent e5f0e74 commit dd283b4
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 5 deletions.
13 changes: 13 additions & 0 deletions assets/sass/_custom.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
flex-direction: column
align-items: center
justify-content: center
background-color: var(--haze)

.excerpt:has(.communityGroup) .excerpt_header,
.excerpt:has(.communityGroup) .excerpt_footer .pale
Expand All @@ -21,12 +22,18 @@
align-items: center
justify-content: center

.excerpt:has(.communityGroup) .excerpt_footer .pale a
display: none


.excerpt:has(.communityGroup) .excerpt_header h3
font-size: 200%
background

.communityGroup
color: #0077b8!important
text-align: center
background-color: inherit

.image_excerpt
display: bloc
Expand All @@ -36,6 +43,12 @@
display: bloc
width: 20em

.nav_body
justify-content: flex-end

.nav_body .follow
flex: unset

.nav_item
text-decoration: none
color: inherit
Expand Down
2 changes: 1 addition & 1 deletion config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Collaborations = "ig"
# series = "series"
Services = "services"
# geographies = "geographies"
draft = "draft"
active = "active"

[outputs]
home = ["HTML", "RSS", "JSON"]
30 changes: 28 additions & 2 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,34 @@ description: "Welcome to the EDRlab members directory!"
date: "2024-01-24"
author: "EDRLab"
# layout: about
tags: ["index"]
---

Welcome to the EDRlab members directory!

You can search or browse members list by professions, services provided and collaboration to EDRLab mains activities.
Welcome to the EDRlab members directory!
<br/>You can search or browse members list by professions, services provided and collaboration to EDRLab mains activities.


## Not yet a member?

*The value returned by open-source and standards organizations is many multiples of a yearly membership cost, even for the most modest organization. Even being able to publish at scale regardless of the organizational size is riding on the community’s coat-tails. Presume if every publisher had its own distribution format, every bookstore had its own distribution channel, each with their own identifier and distribution methodology, you needed to produce a serape metadata file and develop reading software engines for every search site or library. Now consider the staff time that is saved because of things like EPUB, OPDS, ONIX, ISBN and the open-source Readium toolkits.*

Consider [Becoming a member!](https://www.edrlab.org/become-a-member/).

EDRLab is much more than a development laboratory: it is a community of practice for the publishing industry, in Europe and around the world. By becoming member of EDRLab you will:

* Participate to the evolution of a real open ebook ecosystem (take it as a protection against the monopoly of proprietary platforms),
* Participate to the development of open-source software via the Readium project,
* Participate to the development of user-friendly Readium LCP DRM, especially useful for e-lending,
* Participate to the evolution of EPUB. Via EDRLab’s W3C membership:
* you’ll get feedback on what the W3C Publishing WG is working on,
* you’ll be able to present your ideas to the W3C Publishing WG,
* Participate to enhancements on ebook accessibility,
* Participate to EDRLab Working Groups (BDComicsManga, LCP evolutions …) and informative webinars,
* Provide strategic direction, new perspectives and your specific use cases by:
* giving advice on prospective open source projects and other undertakings of EDRLab that may be submitted to the membership for approval,
* participating to EDRLab Board of Director elections,
* running and serve on the EDRLab Board of Directors,
* Network, create business partnerships with other industry members, develop expert resource contracts,
* Attend the Digital Publishing Summit at discounted member rates.

4 changes: 2 additions & 2 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
{{- end }}
{{- $image := $scratch.Get "image" }}
{{- $bg := absLangURL (path.Join "images" $image) }}
{{ $taxonomyObject := .Site.Taxonomies.draft }}
{{ $taxonomyObject := .Site.Taxonomies.active }}
<div class="{{ if ne $p.singleColumn true }}grid-inverse {{ end }}wrap content">
<article class="post_content">
<h2 class="membersCounter">Current Members: <strong>{{ $taxonomyObject.Count "false" }}</strong></h2>
<h2 class="membersCounter">Current Members: <strong>{{ $taxonomyObject.Count "true" }}</strong></h2>
{{- $t := .Title }}
<h1 class="post_title">{{ $t | markdownify }}</h1>
{{- partial "post-meta" . }}
Expand Down
4 changes: 4 additions & 0 deletions layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,15 @@ <h2 class="mt-4 taxonomy" id="{{ $key }}-section">{{ T $key }}</h2>
{{- $onPageTags := $.Page.Params.tags }}
{{- $slicedTags := ($value.ByCount | first $tagsLimit) }}
{{- range $slicedTags }}
{{if eq .Name "true" }}
<p></p>
{{ else }}
<a href='{{ absLangURL $key }}/{{ (replace .Name "#" "%23") | urlize }}/' class="post_tag button button_translucent" title="{{ .Name }}">
{{ upper .Name }}
<span class="button_tally">{{ .Count }}</span>
</a>
{{ end }}
{{ end }}
{{ if gt (len $value.ByCount) $tagsLimit }}
<br>
<div class="post_tags_toggle button">{{ T (printf "all_%s" (lower $key)) }}</div>
Expand Down

0 comments on commit dd283b4

Please sign in to comment.