diff --git a/app/assets/stylesheets/application.css.sass b/app/assets/stylesheets/application.css.sass index a4495936..18bcedd1 100644 --- a/app/assets/stylesheets/application.css.sass +++ b/app/assets/stylesheets/application.css.sass @@ -22,10 +22,11 @@ a &:hover color: yellow +p + margin: 0.4em 0 + h1 font-size: 7vmin - width: 100% - text-align: center header font-size: 3vmin @@ -58,7 +59,8 @@ header font-size: 2em > h1 padding-top: .6em - text-indent: -7.5em + align-self: start + text-indent: .4em #home-headline, .home-headline diff --git a/app/assets/stylesheets/profiles.sass b/app/assets/stylesheets/profiles.sass index 6c8c6ada..4a5bddb9 100644 --- a/app/assets/stylesheets/profiles.sass +++ b/app/assets/stylesheets/profiles.sass @@ -5,6 +5,8 @@ padding: 1rem margin: 1rem border: .1rem solid #333333 + h1 + margin: 0.35em 0 a .profile span, p diff --git a/app/views/profiles/index.html.haml b/app/views/profiles/index.html.haml index 1116e654..a80ee72a 100644 --- a/app/views/profiles/index.html.haml +++ b/app/views/profiles/index.html.haml @@ -12,16 +12,9 @@ .profile %h1= profile.name %span= profile.summary - -# = link_to "", "#" - .social-links + .social-links{style: "margin-top: .4em;"} - profile.social_links.each do |social_link| - - if policy(social_link).destroy? - %span.controls - = link_to '📝', edit_social_link_path(social_link) - = link_to '❌', social_link, method: :delete, data: { confirm: 'Are you sure?' } = social_link.to_icon.html_safe - - if policy(profile).edit? - %br= link_to '+ Add Social Link', new_social_link_path(profile_id: profile.id) %p= profile.about - if policy(profile).destroy? = link_to 'Edit', edit_profile_path(profile)