-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathall.css
More file actions
126 lines (109 loc) · 2.08 KB
/
all.css
File metadata and controls
126 lines (109 loc) · 2.08 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
body {
font-family: "微軟正黑體";
}
#d2 div {
width: 80px;
height: 30px;
border: 1px solid black;
float:left;
text-align: center;
line-height: 30px;
}
.inputstyle {
margin-top: 50px;
margin-bottom: 50px;
border: none;
border-radius: 5px;
padding: 10px;
background-color: dodgerblue;
}
.inputstyle:focus{
outline:none
}
body {
position: relative;
font-family: 'Roboto Condensed', sans-serif, "微軟正黑體";
width: 100%;
height: 100%;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}
.clearfix {
clear: both;
}
.calculator {
max-width: 600px;
margin: 20px auto;
border: solid 4px #444;
padding: 30px;
background-color: #f3f3f3;
box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.2);
}
.calculator h1 {
font-weight: 200;
font-size: 2em;
text-align: center;
padding: 10px 20px;
margin: -20px -20px 0 -20px;
border-bottom: solid 4px #444;
background-color: rgb(238, 202, 1);
color: #f3f3f3;
font-weight: 600;
}
.calculator h2 {
margin: 20px;
text-align: center;
}
.fields .bmi_calcu {
padding: 16px 3px;
margin-top: 20px;
BORDER: 3px solid #444;
font-size: 1.3em;
align-items: center;
}
.fields label {
margin-left: 20px;
}
#resultText {
text-align: center;
font-weight: 100;
font-size: 100px;
}
#bmiText {
margin: 0 auto;
text-align: center;
padding: 12px 5px;
font-size: 1.6rem;
color: #f3f3f3;
background-color: rgb(238, 202, 1);
width: 20%;
}
.btn_block {
text-align: center;
}
.btn_block .reset {
cursor: pointer;
margin-left: 10px;
color: #f3f3f3;
padding: 6px;
font-size: 1.2rem;
border-radius: 50%;
background: rgb(238, 202, 1);
}
input[type="number"] {
font-size: 1.5em;
margin-left: 15px;
width: 26%;
margin-right: 15px;
border: solid 3px;
}
input[type="submit"] {
cursor: pointer;
margin: 30px -5px 0px 20px;
width: 22%;
padding: 8px 10px;
border: 4px solid #444;
font-size: 1.6em;
}