-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlight.css
More file actions
131 lines (131 loc) · 2.58 KB
/
light.css
File metadata and controls
131 lines (131 loc) · 2.58 KB
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
123
124
125
126
127
128
129
130
131
* {
margin: 0;
padding: 0;
}
body {
background-color: #F5F5DC;
}
div#header {
padding: 5px;
max-width: 840px;
margin: auto;
}
/* 声明清除浮动的样式 */
.clearfix:before,
.clearfix:after {
content: "";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix {
*zoom: 1; /* IE6、IE7专门清除浮动样式 */
}
div#example {
float: left;
height: 20px;
line-height: 20px;
font-size: 16px;
background-color: transparent;
color: black;
}
select#example_select {
font-size: 14px;
border-radius: 8px;
margin: 2px;
padding: 2px;
background-color: white;
border: black solid 1px;
color: black;
}
div#change_style {
background-color: white;
border: black solid 2px;
border-radius: 21px;
cursor: pointer;
float: right;
}
div#switch {
float: left;
color: white;
background-color: black;
/* border: white solid 2px; */
margin: 1px;
border-radius: 50%;
line-height: 16px;
font-size: 10px;
width: 16px;
height: 16px;
text-align: center;
margin-left: 16px;
}
div.container {
max-width: 840px;
background-color: #F5F5DC;
color: black;
margin: auto;
padding: 10px;
font-size: 16px;
font-family: "Microsoft Yahei", Arial, sans-serif;
}
div.input-div,
div#content,
input#generate_btn {
color: black;
font-weight: 400;
background-color: transparent;
display: inline-block;
border: gray solid 1px;
border-radius: 5px;
min-width: 50px;
padding-left: 2px;
padding-right: 2px;
margin-top: 1px;
margin-bottom: 1px;
transition: color 0.3s ease,
background-color 0.3s ease,
border-color 0.3s ease;
}
div.input-div:focus,
div#content:focus {
font-weight: 700;
border: #0092fa solid 2px;
padding-left: 1px;
padding-right: 1px;
margin-top: 0px;
margin-bottom: 0px;
outline:none;
}
div.input-div:hover,
div#content:hover,
input#generate_btn:hover {
background-color: #DEDEDE;
}
div.btn {
text-align: center;
}
input#generate_btn {
margin-top: 10px;
margin-bottom: 10px;
font-size: 20px;
padding: 2px;
color: black;
border-width: 2px;
cursor: pointer;
}
div#content {
width: 100%;
font-size: 16px;
word-wrap: break-word;
overflow-x: hidden;
overflow-y: auto;
}
div.footer {
color: gray;
text-align: center;
}
div.footer>a {
text-decoration: none;
color: gray;
}