Improve style make the text pop

This commit is contained in:
Jesse C. Fisher 2023-11-10 14:18:13 +00:00
parent acd7580e93
commit 2afae71d95
4 changed files with 42 additions and 14 deletions

View File

@ -15,6 +15,9 @@ body
font-size: 2vmin font-size: 2vmin
// overflow: hidden // overflow: hidden
body, .social-links, .social-link a
text-shadow: -1px 1px #e1b027, 1px -1px #00ddff
a a
text-decoration: none text-decoration: none
color: #e7dede color: #e7dede
@ -29,6 +32,12 @@ h1
font-size: 7vmin font-size: 7vmin
margin-bottom: 0 margin-bottom: 0
// h2
margin-bottom: 0
a
text-shadow: none
header header
font-size: 3vmin font-size: 3vmin
// margin-bottom: 10vmin // margin-bottom: 10vmin
@ -78,6 +87,7 @@ header
margin: 0 margin: 0
border: 3px solid black border: 3px solid black
background-color: #33cc3399 background-color: #33cc3399
text-shadow: -3px 3px #e1b027, 3px -3px #00ddff
#main-menu #main-menu
flex: 1 1 auto flex: 1 1 auto
@ -212,6 +222,7 @@ textarea
width: 100% width: 100%
max-width: 1200px max-width: 1200px
padding: 0 1em padding: 0 1em
margin: 0 auto
@import doodads @import doodads
@import profiles @import profiles

View File

@ -14,6 +14,7 @@
margin: 0 margin: 0
a.profile a.profile
display: block
&:hover &:hover
background: #ffffff55 background: #ffffff55
span, p, .social-links span, p, .social-links
@ -38,3 +39,18 @@ a.profile
.controls .controls
a a
font-size: 0.6em font-size: 0.6em
.about
background: #34b134
background: image-url('backgrounds/felt-green.png')
width: 100%
color: #019d01
background: #031804
text-shadow: none
h2
text-align: center
color: #000
text-shadow: -1px 1px #e1b027, 1px -1px #00ddff
p
text-shadow: -1px 1px #34b134
font-family: "sans"

View File

@ -8,7 +8,8 @@
= link_to 'Sign In', new_user_session_path = link_to 'Sign In', new_user_session_path
to create a new Profile to create a new Profile
- @profiles.each do |profile| .contain
- @profiles.each do |profile|
= link_to profile, class: "profile" do = link_to profile, class: "profile" do
%h1= profile.name %h1= profile.name
%span= profile.summary %span= profile.summary

View File

@ -17,8 +17,8 @@
- if policy(@profile).edit? - if policy(@profile).edit?
%br= link_to '+ Add Social Link', new_social_link_path(profile_id: @profile.id) %br= link_to '+ Add Social Link', new_social_link_path(profile_id: @profile.id)
%h2 About #{@profile.name}
.about .about
.contain
%h2 About #{@profile.name}
%p= @profile.about %p= @profile.about