-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
119 lines (107 loc) · 2.59 KB
/
styles.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
html {
margin: none;
height: 100%;
background-image: linear-gradient(to bottom right, #65dd93 0%, #54aabb 100%);
}
body {
position: absolute;
width: 98%;
height: 98%;
/* border: solid black 2px; */
}
.heading {
position: relative;
text-align: center;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 30px;
margin-top: 20px;
letter-spacing: 0.4em;
margin: 5px 0px;
/* border: solid black 2px; */
}
.maintext{
position: relative;
top:25%;
text-align: center;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
font-size: 20px;
letter-spacing: 0.1em;
/* border: solid black 2px; */
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.mainbody{
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
position: relative;
text-align: center;
top:25%;
/* border: solid black 2px; */
}
#inputNum{
border: solid rgb(51, 51, 51) 2px;
border-radius: 10px;
box-shadow: 0px 0px 8px rgb(156, 156, 156);
background-color: rgb(221, 220, 220);
position: relative;
text-align: center;
outline: none;
caret-color: rgba(0, 0, 0, 0.233);
font-family: monospace;
font-size: 30px;
font-weight: lighter;
}
#inputNum::placeholder{
font-size: 20px;
text-align: center;
vertical-align:middle;
transform: translate(2%,-13%);
}
.submit {
margin: 5px;
padding: 10px;
width: 100px;
font-family: monospace;
font-size: 16px;
text-align: center;
text-transform: uppercase;
transition: 0.5s;
background-size: 200% auto;
color: white;
box-shadow: 0 0 8px rgb(158, 158, 158);
border-radius: 10px;
display: block;
background-image: linear-gradient(to right, #283048 0%, #859398 51%, #283048 100%);
letter-spacing: 0.2em;
}
.submit:hover {
background-position: right center;
color: #fff;
text-decoration: none;
}
@media (max-width: 500px) {
.heading{
font-size: 20px;
letter-spacing: 0.2em;
font-weight: 400;
}
.maintext{
font-size: 15px;
}
#inputNum{
font-size: 24px;
width: 240px;
height: 33px;
}
#inputNum::placeholder{
font-size: 16px;
}
.submit{
height: 40px;
}
}