8000 fix sponsor logo · mitar/vuejs.org@2db3f0d · GitHub
[go: up one dir, main page]

Skip to content

Commit 2db3f0d

Browse files
committed
fix sponsor logo
1 parent 7f4ac45 commit 2db3f0d

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

themes/vue/layout/partials/ad.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div id="ad" style="width:140px">
2-
<a href="https://strikingly.com/s/careers?utm_source=v" target="_blank">
3-
<span>Proudly sponsored by</span><br>
1+
<div id="ad">
2+
<a href="https://strikingly.com/s/careers?utm_source=v" target="_blank">
3+
<span>Proudly sponsored by</span><br>
44
<img src="/images/strikingly.png">
55
</a>
66
</div>

themes/vue/source/css/page.styl

Lines changed: 18 additions & 17 d 8000 eletions
Original file line numberDiff line numberDiff line change
@@ -246,23 +246,18 @@ $header-height = 40px
246246
border-top 1px solid #e5e5e5
247247
font-size .9em
248248

249-
@media screen and (min-width: 720px)
250-
#main.fix-sidebar
251-
.sidebar
252-
position fixed
253-
254249
@media screen and (max-width: 1200px)
255250
.content.with-sidebar
256251
margin-left 280px
257252
#ad
258253
z-index 8
259254
position relative
260-
width auto
255+
width 140px
261256
height 60px
262257
padding 0
263258
bottom 0
264259
right 0
265-
margin 0 0 15px
260+
margin 0 0 15px -6px
266261
.carbon-wrap, .carbon-img, .carbon-text, .carbon-poweredby
267262
display inline-block
268263
vertical-align top
@@ -277,17 +272,13 @@ $header-height = 40px
277272
#donate
278273
margin-top 15px
279274

280-
@media screen and (max-width: 560px)
281-
#downloads
282-
text-align center
283-
margin-bottom 25px
284-
.info
285-
margin-top 5px
286-
margin-left 0
287-
iframe
288-
margin: 0 !important
289-
290275
@media screen and (max-width: 720px)
276+
#ad
277+
width 100%
278+
margin-bottom -25px
279+
#main.fix-sidebar
280+
.sidebar
281+
position fixed
291282
body
292283
-webkit-text-size-adjust none
293284
font-size 14px
@@ -331,3 +322,13 @@ $header-height = 40px
331322
.footer
332323
margin-left 0
333324
text-align center
325+
326+
@media screen and (max-width: 560px)
327+
#downloads
328+
text-align center
329+
margin-bottom 25px
330+
.info
331+
margin-top 5px
332+
margin-left 0
333+
iframe
334+
margin: 0 !important

0 commit comments

Comments
 (0)
0