Skip to content

Commit 6632e6e

Browse files
authored
Merge pull request #2141 from codebar/update-emails-design
Update the emails socials and some other small design tweaks
2 parents 102a5ed + 2161c6f commit 6632e6e

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

app/assets/stylesheets/email.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ body {
2525
/* -------------------------------------
2626
ELEMENTS
2727
------------------------------------- */
28-
a { color: #2BA6CB;}
28+
a { color: #006cc2;}
2929

3030
.btn {
3131
text-decoration:none;
3232
color: #FFF;
33-
background-color: #666;
33+
background-color: #006cc2;
3434
padding:10px 16px;
3535
font-weight:bold;
3636
margin-right:10px;
@@ -56,17 +56,19 @@ table.social {
5656
}
5757
.social .soc-btn {
5858
padding: 3px 7px;
59-
font-size:12px;
59+
font-size:13px;
6060
margin-bottom:10px;
6161
text-decoration:none;
6262
color: #FFF;font-weight:bold;
6363
display:block;
6464
text-align:center;
6565
}
6666
a.fb { background-color: #3B5998!important; }
67-
a.tw { background-color: #1daced!important; }
68-
a.gp { background-color: #DB4A39!important; }
67+
a.bs { background-color: #1daced!important; }
6968
a.ms { background-color: #000!important; }
69+
a.sl { background-color: #2EB67D!important; }
70+
a.yt { background-color: #FF0000!important; }
71+
a.li { background-color: #0077B5!important; }
7072

7173
.sidebar .soc-btn {
7274
display:block;
@@ -121,10 +123,10 @@ h6 { font-weight:900; font-size: 14px; text-transform: uppercase; color:#444;}
121123
p, ul {
122124
margin-bottom: 10px;
123125
font-weight: normal;
124-
font-size:14px;
126+
font-size:15px;
125127
line-height:1.6;
126128
}
127-
p.lead { font-size:17px; }
129+
p.lead { font-size:18px; }
128130
p.last { margin-bottom:0px;}
129131

130132
ul li {

app/views/shared_mailers/_social.html.haml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99

1010
%h5 Connect with us:
1111
%p
12-
%a{ href: "https://www.facebook.com/codebarHQ", class: 'soc-btn fb'} Like us on Facebook
13-
%a{ href: "https://twitter.com/codebar", class: "soc-btn tw" }Follow us on Twitter
14-
%a{ href: "https://www.facebook.com/groups/codebarcommunity", class: 'soc-btn fb'} Join our facebook community
12+
%a{ href: "https://slack.codebar.io/", class: 'soc-btn sl'} Join us on Slack
13+
%a{ href: "https://www.youtube.com/channel/UCEYz232agE47GHUq8wneBCA", class: "soc-btn li" } Follow us on LinkedIn
14+
%a{ href: "https://www.facebook.com/codebarHQ", class: 'soc-btn fb'} Follow us on Facebook
15+
%a{ href: "https://bsky.app/profile/codebar.bsky.social", class: "soc-btn bs" } Follow us on Bluesky
16+
%a{ href: "https://www.youtube.com/channel/UCEYz232agE47GHUq8wneBCA", class: "soc-btn yt" }Follow us on YouTube
17+
1518
1619
1720
%table.column{ align: "left" }

0 commit comments

Comments
 (0)