forked from lzxb/flex.css
-
Notifications
You must be signed in to change notification settings - Fork 2
/
demo.css
122 lines (104 loc) · 1.87 KB
/
demo.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
* {
padding: 0;
margin: 0;
list-style: none;
}
body {
max-width: 940px;
margin: 0 auto;
font: 14px/1.5 "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
background: #222;
}
.about {
padding: 10px;
color: #fff;
font-size: 14px;
background: #1D1F21;
}
.item {
margin: 10px 10px 30px 10px;
background: #333;
}
.item .tit {
overflow: hidden;
padding: 5px 10px;
font-size: 16px;
color: #fff;
background: #24a990;
}
.item .tit span {
display: inline-block;
padding: 3px 10px;
margin: 0 5px;
font-size: 12px;
-webkit-border-radius: 5px;
border-radius: 5px;
background: #298675;
cursor: pointer;
}
.item .tit span.on {
background: #0e5044;
}
.item .content {
padding: 10px;
font-size: 14px;
color: #fff;
}
.item .attr {
border: 1px solid #24a990;
}
.item .attr li {
padding-left: 10px;
border-top: 1px solid #24a990;
line-height: 38px;
}
.item .attr li h3 {
font-weight: normal;
font-size: 16px;
color: #A84C60;
}
.item .query {
margin-left: 60px;
color: #D8932B;
}
.item .query li {
line-height: 28px;
border-top: none;
}
textarea {
overflow-y: scroll;
display: block;
width: 100%;
min-height: 100px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 10px;
resize: none;
border: none;
color: #fff;
background: #222;
}
textarea:focus {
outline: none;
}
.demo {
width: 250px;
height: 250px;
background: #108423;
}
.demo div {
min-width: 40px;
min-height: 40px;
background: #f1d722;
text-align: center;
line-height: 50px;
color: #222;
}
.demo div+div {
line-height: 23px;
background: #f95656;
}
.demo div+div+div {
line-height: 30px;
background: #5fc383;
}