forked from DanBUK/irc.bejes.us
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a new stylesheet irc.styl using the stylus pre-processor
- Loading branch information
Showing
4 changed files
with
176 additions
and
51 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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,71 @@ | |||
* { | |||
margin: 0; | |||
} | |||
body { | |||
background: #fff; | |||
color: #222; | |||
font: 12px Helvetica, Arial, sans-serif; | |||
padding: 0 0 30px; | |||
} | |||
#nick_list { | |||
display: none; | |||
float: right; | |||
width: 150px; | |||
} | |||
#chat_body { | |||
padding: 10px; | |||
width: 100%; | |||
} | |||
#chat_body, | |||
#chat_body th, | |||
#chat_body td { | |||
vertical-align: top; | |||
} | |||
#chat_body .author { | |||
font-weight: bold; | |||
padding: 2px 4px 2px 10px; | |||
text-align: right; | |||
width: 100px; | |||
} | |||
#chat_body .msg { | |||
background: #f6f6f6; | |||
padding: 2px 6px; | |||
} | |||
#chat_body .me .author { | |||
font-style: italic; | |||
} | |||
#chat_body tr:nth-child(2n) .msg { | |||
background: #efefef; | |||
} | |||
#chat_bar { | |||
background: #fff; | |||
bottom: 0; | |||
left: 0; | |||
padding: 5px; | |||
position: fixed; | |||
right: 0; | |||
z-index: 1000; | |||
} | |||
#chat_bar, | |||
#chat_bar button { | |||
height: 25px; | |||
line-height: 25px; | |||
} | |||
#chat_bar input { | |||
height: 23px; | |||
left: 5px; | |||
margin: 0; | |||
padding: 0 5px; | |||
position: absolute; | |||
right: 85px; | |||
} | |||
#chat_bar button { | |||
padding: 0; | |||
position: absolute; | |||
right: 5px; | |||
width: 75px; | |||
} | |||
#chat_bar .push { | |||
clear: both; | |||
height: 2em; | |||
} |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,74 @@ | |||
* | |||
margin 0 | |||
|
|||
body | |||
background #fff | |||
color #222 | |||
font 12px Helvetica, Arial, sans-serif | |||
padding 0 0 30px | |||
|
|||
#top_section | |||
//border 1px solid red | |||
|
|||
#nick_list | |||
display none | |||
float right | |||
width 150px | |||
|
|||
#chat_body | |||
padding 10px | |||
width 100% | |||
|
|||
&, th, td | |||
vertical-align top | |||
|
|||
.author | |||
font-weight bold | |||
padding 2px 4px 2px 10px | |||
text-align right | |||
width 100px | |||
|
|||
.msg | |||
background #f6f6f6 | |||
padding 2px 6px | |||
|
|||
.me | |||
.author | |||
font-style italic | |||
|
|||
@css { | |||
#chat_body tr:nth-child(2n) .msg { | |||
background: #efefef; | |||
} | |||
} | |||
|
|||
#chat_bar | |||
background #fff | |||
bottom 0 | |||
left 0 | |||
padding 5px | |||
position fixed | |||
right 0 | |||
z-index 1000 | |||
|
|||
&, button | |||
height 25px | |||
line-height 25px | |||
|
|||
input | |||
height 23px | |||
left 5px | |||
margin 0 | |||
padding 0 5px | |||
position absolute | |||
right 85px | |||
|
|||
button | |||
padding 0 | |||
position absolute | |||
right 5px | |||
width 75px | |||
|
|||
.push | |||
clear both | |||
height 2em |
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