Skip to content

Commit 04afc17

Browse files
committed
messed with some styles
1 parent 453917d commit 04afc17

3 files changed

Lines changed: 59 additions & 17 deletions

File tree

public/css/app.css

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,40 +34,61 @@ a {
3434
float: left;
3535
width: 300px;
3636
text-align: left;
37-
background-color: #222;
38-
padding: 10px;
3937
margin-top: 15px;
4038
margin-left: 10px;
41-
height: 230px;
42-
overflow: auto;
39+
}
40+
#panels li.panel li {
41+
clear: both;
4342
}
4443
#panels li.panel .title {
4544
font-size: 14px;
4645
}
4746
#panels li.panel ul {
48-
padding: 0;
47+
background-color: #222;
48+
overflow: auto;
49+
height: 230px;
50+
padding: 0px 2px 10px 10px;
4951
margin-left: 10px;
52+
margin-top: 5px;
5053
list-style-type: none;
5154
}
5255
#panels li.panel h2 {
5356
font-size: 20px;
5457
clear: both;
55-
margin-bottom: 10px;
58+
width: 300px;
59+
text-align: center;
5660
}
5761
#panels li.panel a.message {
5862
font-size: 0.5em;
5963
}
6064
#panels li.panel .time {
6165
font-size: 11px;
6266
color: #888;
67+
font-style: italic;
68+
float: right;
69+
margin-right: 5px;
6370
}
6471
#panels li.panel .teaser {
6572
font-size: 12px;
6673
}
74+
.tweets li {
75+
margin-bottom: 5px;
76+
}
77+
.tweets li p.teaser {
78+
max-height: 60px;
79+
word-wrap: break-word;
80+
overflow: hidden;
81+
}
6782
.tweets .avatar {
6883
float: left;
6984
margin-right: 10px;
7085
}
86+
.tweets img {
87+
-webkit-border-radius: 3px;
88+
-moz-border-radius: 3px;
89+
border-radius: 3px;
90+
margin-top: 10px;
91+
}
7192
p.join {
7293
clear: both;
7394
margin-top: 10px;

public/css/app.styl

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import 'mixins'
2+
13
html, *
24
margin 0
35
padding 0
@@ -32,33 +34,48 @@ a
3234
float left
3335
width 300px
3436
text-align left
35-
background-color #222
36-
padding 10px
3737
margin-top 15px
3838
margin-left 10px
39-
height 230px
40-
overflow auto
41-
39+
li
40+
clear both
4241
.title
4342
font-size 14px
4443
ul
45-
padding 0
44+
background-color #222
45+
overflow auto
46+
height 230px
47+
padding 0px 2px 10px 10px
4648
margin-left 10px
49+
margin-top 5px
4750
list-style-type none
4851
h2
4952
font-size 20px
50-
clear both
51-
margin-bottom 10px
53+
clear both
54+
width 300px
55+
text-align center
5256
a.message
5357
font-size .5em
5458
.time
5559
font-size 11px
5660
color #888
61+
font-style italic
62+
float right
63+
margin-right 5px
5764
.teaser
5865
font-size 12px
59-
.tweets .avatar
60-
float left
61-
margin-right 10px
66+
.tweets
67+
li
68+
margin-bottom 5px
69+
p.teaser
70+
max-height 60px
71+
word-wrap break-word
72+
overflow hidden
73+
.avatar
74+
float left
75+
margin-right 10px
76+
img
77+
border-radius(3px)
78+
margin-top 10px
6279
p.join
6380
clear both
6481
margin-top 10px

public/css/mixins.styl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
border-radius()
2+
-webkit-border-radius arguments
3+
-moz-border-radius arguments
4+
border-radius arguments

0 commit comments

Comments
 (0)