generated from OPCODE-Open-Spring-Fest/template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
style.css
112 lines (94 loc) · 1.89 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
101
102
103
104
105
106
107
108
109
110
111
112
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(45deg, #5ec293, rgba(51, 144, 195, 0.267));
}
nav {
background-color: #333;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
}
nav li {
float: left;
}
nav li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
nav li a:hover {
background-color: #111;
}
.calculator {
border: 1px solid rgba(4, 0, 0, 0.4);
padding: 10px;
border-radius: 16px;
box-shadow: 0px 5px 15px rgba(4, 0, 0, 0.4);
background: linear-gradient(45deg, #1384a3, rgba(72, 169, 248, 0.511));
/* height: 350px; */
}
input {
width: 300px;
height: 90px;
padding: 15px;
background: transparent;
border: none;
text-align: right;
box-shadow: 0px 3px 5px rgba(35, 33, 33, 0.5);
border-radius: 16px;
/* user-select: none; */
cursor: default;
font-size: 25px;
font-weight: 500;
color: #000;
}
input::placeholder {
height: 100px;
font-size: 25px;
font-weight: 500;
color: white;
text-align: right;
color: #000;
box-shadow: 0px 3px 15px rgba(84, 84, 84, 0.2);
}
.btn {
text-align: center;
cursor: pointer;
font-size: 20px;
font-weight: 500;
background: transparent;
margin-top: 10px;
height: 70px;
width: 70px;
border-radius: 50%;
border: none;
box-shadow: 5px 5px 9px rgba(4, 0, 0, 0.4);
transition: 0.5s;
}
.btn:hover {
box-shadow: none;
}
.equalBtn {
background-color: rgba(154, 65, 65,0.6);
color: rgb(2, 16, 30);
font-weight: 700;
}
.operator {
font-size: 25px;
color: rgb(9, 46, 83);
}