forked from gunn4r/position-practice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (84 loc) · 1.31 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
padding: 0;
margin: 0;
box-sizing: border-box;
}
*:before, *:after {
box-sizing: inherit;
}
body {
position: relative;
}
.component {
position: absolute;
top: 100px;
left: 100px;
background: #333;
width: 250px;
color: #FFF;
border-radius: 10px;
font-family: 'Arial', sans-serif;
font-size: 11px;
}
.component .header {
background: #111;
text-align: center;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
padding: 2px;
text-transform: uppercase;
}
.component .content {
height: 80px;
padding: 10px;
position: relative;
overflow: hidden;
}
.component .emote{
float: left;
margin-right: 10px;
}
.component .tags {
overflow-y: scroll;
height: 100%;
}
.component .tag {
color: #888;
}
.component .tag:before{
content: "# ";
}
.component .bignumber {
position: absolute;
color: #222;
right: 30px;
top: 15%;
font-size: 50px;
font-weight: bold;
}
.component .footer {
background: #37493d;
border-radius: 10px;
padding: 2px 8px;
}
.component .comment {
float: left;
width: 30%;
}
.component .time {
float: left;
width: 50%;
text-align: center;
}
.component .link {
float: left;
width: 20%;
text-align: right;
}
/*CLEARFIX*/
.component .footer:after,
.component .content:after {
content: "";
display:block;
clear: both;
}