From d22adf0f81f00817df5809baadabd36cda588b3a Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Wed, 27 Apr 2016 21:52:55 +0200 Subject: [PATCH] [SITE CSS] add style for visited links --- assets/css/main.css | 6 ++++++ assets/css/main.css.map | Bin 8399 -> 8534 bytes assets/css/templates/photo.css | 3 +++ assets/css/templates/photo.css.map | Bin 7395 -> 7466 bytes assets/scss/_mainvariables.scss | 2 ++ assets/scss/main.scss | 8 ++++++++ assets/scss/templates/photo.scss | 5 +++++ 7 files changed, 24 insertions(+) diff --git a/assets/css/main.css b/assets/css/main.css index b2ced04..a65a808 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -26,6 +26,12 @@ a { a:active, a:hover, a:focus { color: #1f7001; } +main p a { + text-decoration: underline; } + +main p a:visited { + color: #999999; } + blockquote { font-size: 1.4em; border-left: 4px solid #dddddd; diff --git a/assets/css/main.css.map b/assets/css/main.css.map index 18087693b69a4fe8b5f4d95f1348877398f55896..4278d3aa9fc6ab6d447c7650a5499756364fc611 100644 GIT binary patch delta 668 zcmYjO&rcIU6i#UmV78?#UAMMK6FnJ+Q2Gnas>$1Nx;wMoEh`GhNgJS~C0Zkt*n?Lu z#%SK1i;<(6>_3411KvEC5Il1AFVNX;i%c?;yqEWV@0;)Y0Y8neAE%;r)xbZ~>J17& ziF{n00R^%JutgXEBP#%phza)>4P6H?>%nwoI1Ta;55Nm>%K`2Iu>owtc!xTq3D6{_ zXw!!QkhlD!sb3SZUAkl7?`%HS=+YK4rQm;8)+b^;wi~o_QPwD;K7EquSawKeii)|Z zbMV>*dWiylNnXM?$&$Q6>06X=$*nu$08f%DO4Txl4Y{|3cT$!z;Oj#nx+jYGJ~fxz z;jN(I$cbClw(j8ZkJFcZGkLejJ%u5^Vgpim-GC z*eZTYm9d%D;yrOr@Iv6z%+m&(wY-zDIc|l-KtucD3@g1=E(ffk|lnrs;)d4s%-r zSkrmU7~rv{O_q%fojbh-o@(=jTEo2%y|h+RI7^LfnV|dJkuqm<$g=mYR~-nqF;R2+ z#yIxdt~0j(0FSb#O0~(ufVimnAFh0gMEh=iB)o#F`NQZl*B#X*Sl9{)Tk2%z)ZoP zV<)$%4I9o_kU#p34O4*C!VB#w{>^Dxm$gU}plJp?WZR?-(8io@+->ZRWFal52oFAG zE0fTGAF?e}^-_j)>BPFs;zg~ks6%dzrBM^Uoe8qf*fmSQ*T%MDHsUwF*BrHcQ|0Q*UyytWJxL+?N~`YRq@8103jfTYUeCnBQBMizVJi^&*=Sf2f@ o9yeJs7vqE2nERllDgrMHC8dv7g?Cdm;g83DDPQIITk$OY58;)dhX4Qo diff --git a/assets/css/templates/photo.css b/assets/css/templates/photo.css index 67853a4..e4bf8d8 100644 --- a/assets/css/templates/photo.css +++ b/assets/css/templates/photo.css @@ -10,6 +10,9 @@ a { a:active, a:hover { color: #42ef01; } +main p a:visited { + color: #cccccc; } + @media (min-width: 544px) { nav ul.nav.main { color: #fff; } } diff --git a/assets/css/templates/photo.css.map b/assets/css/templates/photo.css.map index 7de4be940b78271f3312b052797dd0536489f709..43817c6d0ded8cf0eb167c9cc5a1746f55f3ab5a 100644 GIT binary patch delta 216 zcmaECxyow8Mh=Bw4;_C;M}KQqub=`a9dAcRZyi_9;7}b;M@LT`cdv-a7dhm({X@Zu zfc&7zzc_58eS=~A055B6pq?Bjhz4gzM`s;0!Vw5`0v#O#K@tJhu8z(@Fne6V=K2E7 z^@swR<6rI+GFeYrnkgV>at5clP?|f;8ObgnX>F&;8#!eet0tf4l;SCJg3IPl{>s_U LXuP?VD^3UiJ(N9D delta 165 zcmZ2w_1JR5Mh=BQ4;_C;M}KQquYdw49dAcRZyi_9z)&4eM@LT`cdxL?7dhm(eM7;D zfc${Tzc_3~yn|tUKQC)*M}IS?ET_poIb|5jCa>o-7m9F)X%BS)N#{FH{=q4$Zt0Zg mq?79Cn5yIK=;&F68uX$aY6tX^)U7T diff --git a/assets/scss/_mainvariables.scss b/assets/scss/_mainvariables.scss index bcc55e8..5ec0362 100644 --- a/assets/scss/_mainvariables.scss +++ b/assets/scss/_mainvariables.scss @@ -5,6 +5,7 @@ $color_accent: #2da301; $link_color: $color_accent; $link_active: darken($color_accent, 10%); +$link_visited: lighten($color_font, 60%); $col_xxs_bp: 543px; @@ -21,3 +22,4 @@ $color_bg_inv: #424242; $color_font_inv: #fff; $link_color_inv: lighten($color_accent, 5%); $link_active_inv: lighten($color_accent, 15%); +$link_visited_inv: darken($color_font_inv, 20%); diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 17a6890..0bd26ce 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -33,6 +33,14 @@ a { color: $link_active; } } +main p { + a { + text-decoration: underline; + } + a:visited { + color: $link_visited; + } +} blockquote { font-size: 1.4em; border-left: 4px solid #dddddd; diff --git a/assets/scss/templates/photo.scss b/assets/scss/templates/photo.scss index 97e9658..f9a3083 100644 --- a/assets/scss/templates/photo.scss +++ b/assets/scss/templates/photo.scss @@ -18,6 +18,11 @@ a { color: $link_active_inv; } } +main p { + a:visited { + color: $link_visited_inv; + } +} @include media-breakpoint-up(sm) { nav { ul.nav.main {