From 89ed19c833b85ef71486f9e3dacedd5c252d156b Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Sat, 8 Jul 2017 20:09:02 +0100 Subject: [PATCH] add notification icon to 'Yhdistys' link --- src/styles/_header.styl | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/styles/_header.styl b/src/styles/_header.styl index baddeb7..db74ade 100644 --- a/src/styles/_header.styl +++ b/src/styles/_header.styl @@ -35,13 +35,33 @@ headerHeight = 400px top 20px a color white - font-size 18px + font-size 16px + font-weight bold margin-left 16px text-shadow 0 2px 0 rgba(0,0,0,0.1) - @media screen and (max-width: 1030px) + position relative + @media screen and (max-width: 420px) display block margin-top 5px + &:last-child + margin-left 1.5em + &:before + content '!' + font-size 11px + line-height 15px + width 14px + height 14px + text-align center + background #ec3d3d + display inline-block + margin-right 5px + top -5px + right -15px + border-radius 100% + position absolute + text-shadow none + .header__headline display table-cell padding 0 1em