Skip to content

Fixed some handy code format #1222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/support-vuejs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ However, the amount of effort needed to maintain and develop new features for th
</a><a href="https://onsen.io/vue/" target="_blank" style="width: 125px;">
<img src="/images/onsen-ui.png" style="width: 125px;">
</a><a href="http://tooltwist.com/" target="_blank" style="width: 125px;">
<img src="/images/tooltwist.png" style="width: 125px">
<img src="/images/tooltwist.png" style="width: 125px;">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion themes/vue/layout/partials/sponsors.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<img src="<%- url_for("/images/onsen-ui.png") %>" style="width: 105px;">
</a>
<a href="http://tooltwist.com/" target="_blank" style="width: 100px;">
<img src="<%- url_for("/images/tooltwist.png") %>" style="width: 100px">
<img src="<%- url_for("/images/tooltwist.png") %>" style="width: 100px;">
</a>
<br>

Expand Down
64 changes: 32 additions & 32 deletions themes/vue/source/css/_style-guide.styl
Original file line number Diff line number Diff line change
Expand Up @@ -16,62 +16,62 @@ $style-guide-priority-d-color = white
.style-example, details, .style-enforcement
border-radius $radius
margin: 1.6em 0
padding 1.6em
padding: 1.6em
h4
margin-top: 0
figure, p
&:last-child
margin-bottom 0
padding-bottom 0
margin-bottom: 0
padding-bottom: 0
.style-example
&.example-bad
background $style-guide-bad-bg
background: $style-guide-bad-bg
h4
color $style-guide-bad-text
color: $style-guide-bad-text
&.example-good
background $style-guide-good-bg
background: $style-guide-good-bg
h4
color $style-guide-good-text
color: $style-guide-good-text
details, .style-enforcement
background-color #eee
background-color: #eee
details
display block // Add the correct display in IE and Edge.
position relative
display: block // Add the correct display in IE and Edge.
position: relative
&:not([open]) summary
&::after
content "..."
content: "..."
&:hover
background rgba(255, 255, 255, .3)
background: rgba(255, 255, 255, .3)
summary
cursor pointer
padding 1.6em
margin -1.6em
outline none
cursor: pointer
padding: 1.6em
margin: -1.6em
outline: none
> h4
display inline-block
margin 0
display: inline-block
margin: 0
.style-enforcement
table
width 100%
background-color $codebg
border-radius $radius
width: 100%
background-color: $codebg
border-radius: $radius
th, td
padding .4em
text-align center
padding: .4em
text-align: center
th
padding-bottom .2em
padding-bottom: .2em
td
padding-top .2em
padding-top: .2em
.style-rule-tag
background-color $codebg
border-radius $radius
font-size .9em
color $style-guide-good-text
font-weight 600
text-transform uppercase
background-color: $codebg
border-radius: $radius
font-size: .9em
color: $style-guide-good-text
font-weight: 600
text-transform: uppercase
padding: .1em .4em
a > .style-rule-tag
color $green
color: $green
sup
text-transform: uppercase
font-size: .7em
Expand Down