-
-
Notifications
You must be signed in to change notification settings - Fork 872
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fefd2e3
commit 749998a
Showing
4 changed files
with
71 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,67 @@ | ||
<template> | ||
<div class="sponsors"> | ||
<div class="sponsors" :class="level"> | ||
<slot /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
level: { | ||
type: String, | ||
}, | ||
}, | ||
} | ||
</script> | ||
|
||
<style lang="stylus" scoped> | ||
.sponsors | ||
max-width 800px | ||
margin 0 auto | ||
h2 | ||
margin-left 0 | ||
text-decoration none | ||
a.header-anchor | ||
width auto | ||
margin-right 0 | ||
p | ||
font-size 24px | ||
img | ||
width 100% | ||
&.platinum, &.gold, &.bronze | ||
img | ||
width 100% | ||
a | ||
display block | ||
margin-bottom 10px | ||
@media only screen and (min-width: $MQMobileNarrow) | ||
display inline-block | ||
margin-bottom 0 | ||
a:last-child | ||
margin-right 0 | ||
&.platinum | ||
a | ||
width 100% | ||
@media only screen and (min-width: $MQMobileNarrow) | ||
width 45% | ||
margin-right 8% | ||
&.gold | ||
a | ||
width 45% | ||
margin-right 4% | ||
@media only screen and (min-width: $MQMobileNarrow) | ||
width 31% | ||
margin-right 2% | ||
a | ||
width 100% | ||
display block | ||
margin-bottom 10px | ||
@media only screen and (min-width: $MQMobileNarrow) | ||
&.bronze | ||
a | ||
width 45% | ||
display inline-block | ||
margin-bottom 0 | ||
margin-right 4% | ||
@media only screen and (min-width: $MQMobileNarrow) | ||
width 22% | ||
margin-right 3% | ||
a:first-child | ||
margin-right 8% | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.