Skip to content

Commit

Permalink
CSS Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Feb 17, 2018
1 parent 9269d99 commit 81036dd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion poll/about.page
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >
brings them all together into a simpler yet more extensible system in a single folder.
author: Taufik Nurrohman
type: Markdown
version: 1.0.8
version: 1.0.9

dependency:
extension:
Expand Down
15 changes: 12 additions & 3 deletions poll/lot/asset/css/poll.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
.poll {display:block}
.poll,
.poll.p {
display:block;
margin-bottom:-.5em;
}
.poll p:after,
.poll span span:after {
content:"";
Expand Down Expand Up @@ -35,7 +39,9 @@
border:0;
outline:0;
}
.poll span + span {margin-left:.5em}
.poll span {margin:0 .5em .5em 0}
.poll span:last-child {margin-right:0}
.poll span span {margin:0}
.poll span i {font:inherit}
.poll .a button {
color:#06c;
Expand All @@ -61,12 +67,15 @@
.poll-love .a.done button {color:#c00}

/* @react */
.poll-react,
.poll-react.p {margin-bottom:-1em}
.poll-react span {
background:#fffade;
color:#222;
line-height:1.5em;
margin:0 1em 1em 0;
}
.poll-react span + span {margin-left:1em}
.poll-react span:last-child {margin-right:0}
.poll-react span button,
.poll-react span i {
display:block;
Expand Down
2 changes: 1 addition & 1 deletion poll/lot/asset/css/poll.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81036dd

Please sign in to comment.