-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patholdCodefundStyle.scss
103 lines (90 loc) · 2.69 KB
/
oldCodefundStyle.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// Not in use
// Kept here for historical purposes
#codefund {
// top: 3em;
// position: sticky;
// margin-top: 3em;
// margin-bottom: 6em; /* So it doesn't overlap section after article */
margin-bottom: 40px;
margin-left: 32px;
.codefund-placeholder {
border-radius: 4px;
padding: 15px;
font-size: 14px;
text-align: center;
background-color: $ad-bg-color;
font-family: Helvetica,Arial,sans-serif;
height: 130px;
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
cursor: default;
}
a {
transition: none;
}
}
/* Default CodeFund CSS from https://api.codefund.app/packs/css/code_fund_ad-fa201a47.css
I put it here to:
a) Reduce request counts
b) Reduce size (original CSS contains all themes & templates)
*/
// #cf[data-template][data-theme=dark],#cf[data-template][data-theme=dark] *,#cf[data-template][data-theme=light],#cf[data-template][data-theme=light] * {
#cf, #cf * {
font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}
// #cf[data-template][data-theme=dark] a,#cf[data-template][data-theme=light] a {
#cf a {
box-shadow: none
}
// #cf[data-template][data-theme=dark] .cf-impression,#cf[data-template][data-theme=light] .cf-impression {
#cf .cf-impression {
visibility: hidden;
width: 0;
height: 0;
border-style: none
}
div#cf/*[data-template=default][data-theme=light]*/ {
margin: 0 auto;
max-width: 330px
}
div#cf/*[data-template=default][data-theme=light]*/ span.cf-wrapper {
border-radius: 4px;
display: block;
padding: 15px;
overflow: hidden;
font-size: 14px;
line-height: 1.4;
text-align: left;
// background-color: rgba(0,0,0,.05);
background-color: $ad-bg-color; // Worked out by eyedropping using the value above
font-family: Helvetica,Arial,sans-serif
}
div#cf/*[data-template=default][data-theme=light]*/ span.cf-wrapper a {
box-shadow: none!important;
text-decoration: none
}
div#cf/*[data-template=default][data-theme=light]*/ span.cf-wrapper span.cf-img-wrapper {
float: left;
margin-right: 15px
}
div#cf/*[data-template=default][data-theme=light]*/ span.cf-wrapper span.cf-img-wrapper img.cf-img {
vertical-align: middle;
border-style: none;
max-width: 130px;
position: relative
}
div#cf/*[data-template=default][data-theme=light]*/ span.cf-wrapper span.cf-text {
color: #333
}
div#cf/*[data-template=default][data-theme=light]*/ span.cf-wrapper a.cf-powered-by {
margin-top: 5px;
font-size: 12px;
display: block;
color: #777
}
/* End default CodeFund CSS */
#cf {
max-width: none !important;
}