Skip to content
Snippets Groups Projects
Commit 7e37adef authored by alexisben's avatar alexisben
Browse files

fix article

parent d4580d59
No related branches found
No related tags found
No related merge requests found
// FONTS
@font-face
font-display: swap
font-family: Aestetico
font-style: normal
font-weight: 400
src: url(https://ran-coper.fr/assets/fonts/Aestetico-Light/font.woff2) format("woff2"), url(https://ran-coper.fr/assets/fonts/Aestetico-Light/font.woff) format("woff")
src: url(https://osuny.s3.fr-par.scw.cloud/fonts/Aestetico-Light/font.woff2) format("woff2"), url(https://osuny.s3.fr-par.scw.cloud/fonts/Aestetico-Light/font.woff) format("woff")
@font-face
font-display: swap
font-family: Aestetico
font-style: italic
font-weight: 400
src: url(https://ran-coper.fr/assets/fonts/Aestetico-LightIt/font.woff2) format("woff2"), url(https://ran-coper.fr/assets/fonts/Aestetico-LightIt/font.woff) format("woff")
src: url(https://osuny.s3.fr-par.scw.cloud/fonts/Aestetico-LightIt/font.woff2) format("woff2"), url(https://osuny.s3.fr-par.scw.cloud/fonts/Aestetico-LightIt/font.woff) format("woff")
@font-face
font-display: swap
font-family: Aestetico
font-style: normal
font-weight: 700
src: url(https://ran-coper.fr/assets/fonts/Aestetico-Regular/font.woff2) format("woff2"), url(https://ran-coper.fr/assets/fonts/Aestetico-Regular/font.woff) format("woff")
src: url(https://osuny.s3.fr-par.scw.cloud/fonts/Aestetico-Regular/font.woff2) format("woff2"), url(https://osuny.s3.fr-par.scw.cloud/fonts/Aestetico-Regular/font.woff) format("woff")
@font-face
font-display: swap
font-family: Aestetico
font-style: italic
font-weight: 700
src: url(https://ran-coper.fr/assets/fonts/Aestetico-RegularIt/font.woff2) format("woff2"), url(https://ran-coper.fr/assets/fonts/Aestetico-RegularIt/font.woff) format("woff")
src: url(https://osuny.s3.fr-par.scw.cloud/fonts/Aestetico-RegularIt/font.woff2) format("woff2"), url(https://osuny.s3.fr-par.scw.cloud/fonts/Aestetico-RegularIt/font.woff) format("woff")
// VARIABLES
$color-accent: #134b3e
......@@ -59,9 +60,9 @@ nav.navbar
font-size: 1.125rem
font-weight: 300
&::after
margin-left: $spacer
margin-left: 1rem
&.dropdown-toggle i
margin-right: $spacer
margin-right: 1rem
&.dropdown-item:active
background-color: transparentize($color-accent, .5)
.active .nav-link
......
<div class="row mt-n5">
<% posts.each do |post| %>
<div class="col-lg-4">
<article class="col-lg-4">
<div class="position-relative mt-5">
<% if post.featured_image.attached? && post.featured_image.representable? %>
<%= kamifusen_tag post.featured_image, width: 800, height: 500, class: 'img-fluid' %>
......@@ -11,6 +11,6 @@
</p>
<%= link_to t('extranet.posts.read_post'), posts_communication_extranet_post_path(post.slug), class: ' btn btn-outline-primary stretched-link' %>
</div>
</div>
</article>
<% end %>
</div>
\ No newline at end of file
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