File tree 3 files changed +31
-14
lines changed
3 files changed +31
-14
lines changed Original file line number Diff line number Diff line change 1
1
/* Github Box */
2
2
3
+ .github-box-wrap {
4
+ display : inline-block;
5
+ width : 46% ;
6
+ margin-right : 0.6em ;
7
+ margin-left : 0.6em ;
8
+ margin-bottom : 2em ;
9
+ }
10
+
3
11
.github-box {
4
12
font-family : "Helvetica Neue" , Arial, sans-serif;
5
13
background : # fafafa ;
6
14
border : 1px solid # ddd ;
7
15
color : # 666 ;
8
16
border-radius : 5px ;
9
- float : left;
10
- margin-right : 1.2em ;
11
- margin-bottom : 2em ;
12
- width : 46% ;
17
+ width : 100% ;
13
18
}
14
19
15
20
.github-box a {
92
97
93
98
.github-box .github-box-content p {
94
99
margin : 0 ;
100
+ width : 100% ;
101
+ white-space : nowrap;
102
+ overflow : hidden;
103
+ text-overflow : ellipsis;
95
104
}
96
105
97
106
.github-box .github-box-content .repo-link {
153
162
border-bottom-color : # 9fc7db ;
154
163
filter : progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
155
164
opacity : 1 ;
156
- }
165
+ }
166
+
167
+ /* breakpoint content-driven */
168
+ @media all and (max-width : 678px ) {
169
+ .github-box-wrap {
170
+ display : block;
171
+ width : inherit;
172
+ margin-right : 0 ;
173
+ }
174
+ }
Original file line number Diff line number Diff line change 23
23
}
24
24
25
25
.title {
26
- width : 700 px ;
26
+ width : 90 % ;
27
27
margin : 0 auto;
28
- padding-right : 35px ;
29
28
}
30
29
31
30
.title p {
32
31
text-align : center;
32
+ margin-bottom : 40px ;
33
33
}
34
34
35
35
.credits {
36
36
margin : 0 auto;
37
- width : 700 px ;
37
+ width : 90 % ;
38
38
text-align : center;
39
39
clear : both;
40
40
}
56
56
}
57
57
58
58
.projects {
59
- width : 700 px ;
59
+ width : 90 % ;
60
60
margin : 0 auto;
61
- padding : 30px ;
62
61
}
63
62
64
63
/* Font-face */
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ <h1>jQuery Github</h1>
24
24
</ div >
25
25
26
26
< div class ="projects ">
27
- < div data-repo ="jquery-boilerplate/boilerplate "> </ div >
28
- < div data-repo ="zenorocha/diveintohtml5 "> </ div >
29
- < div data-repo ="zenorocha/jquery-github "> </ div >
30
- < div data-repo ="zenorocha/hub.me "> </ div >
27
+ < div data-repo ="jquery-boilerplate/boilerplate " class =" github-box-wrap " > </ div >
28
+ < div data-repo ="zenorocha/diveintohtml5 " class =" github-box-wrap " > </ div >
29
+ < div data-repo ="zenorocha/jquery-github " class =" github-box-wrap " > </ div >
30
+ < div data-repo ="zenorocha/hub.me " class =" github-box-wrap " > </ div >
31
31
</ div >
32
32
33
33
< p class ="credits "> Made with love by < a href ="http://zenorocha.com "> Zeno Rocha</ a > .</ p >
You can’t perform that action at this time.
0 commit comments