Skip to content

Commit 4da07ae

Browse files
committed
Merge pull request Automattic#979 from jeherve/fix/styles-gplus-likes
Likes / G+ Authorship: add global sharedaddy styles
2 parents 2014085 + 9317bf6 commit 4da07ae

File tree

2 files changed

+63
-2
lines changed

2 files changed

+63
-2
lines changed

modules/gplus-authorship/style.css

+39-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
/**
2+
* Google+ badge styles
3+
*/
4+
5+
/* Overall Sharedaddy block title */
6+
div.sharedaddy,
7+
#content div.sharedaddy,
8+
#main div.sharedaddy {
9+
clear: both;
10+
}
11+
12+
div.sharedaddy h3.sd-title {
13+
margin: 0 0 1em 0;
14+
display: inline-block;
15+
line-height: 1.2;
16+
font-size: 9pt;
17+
font-weight: bold;
18+
}
19+
20+
div.sharedaddy h3.sd-title:before {
21+
content: "";
22+
display: block;
23+
width: 100%;
24+
min-width: 30px;
25+
border-top: 1px solid #ddd;
26+
margin-bottom: 1em;
27+
}
28+
29+
30+
/* Google+ wrapper */
31+
.sd-block.sd-gplus {
32+
margin: 0 0 .5em 0;
33+
}
34+
35+
.sd-gplus .sd-content {
36+
font-size: 12px;
37+
}
38+
139
.g-follow-wrapper {
240
display: inline-block;
341
position: relative;
@@ -14,4 +52,4 @@
1452

1553
.gplus-profile {
1654
margin-right: 10px;
17-
}
55+
}

modules/likes/style.css

+24-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@
1010
padding-top: .5em;
1111
}
1212

13+
/* Overall Sharedaddy block title */
14+
div.sharedaddy,
15+
#content div.sharedaddy,
16+
#main div.sharedaddy {
17+
clear: both;
18+
}
19+
20+
div.sharedaddy h3.sd-title {
21+
margin: 0 0 1em 0;
22+
display: inline-block;
23+
line-height: 1.2;
24+
font-size: 9pt;
25+
font-weight: bold;
26+
}
27+
28+
div.sharedaddy h3.sd-title:before {
29+
content: "";
30+
display: block;
31+
width: 100%;
32+
min-width: 30px;
33+
border-top: 1px solid #ddd;
34+
margin-bottom: 1em;
35+
}
36+
1337

1438
/* Toolbar */
1539
#wpadminbar li#wp-admin-bar-admin-bar-likes-widget {
@@ -168,4 +192,3 @@ div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget {
168192
.sd-gplus .sd-title {
169193
display: none;
170194
}
171-

0 commit comments

Comments
 (0)