-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
119 lines (88 loc) · 1.68 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
113
114
115
116
117
118
119
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
font-family: 'PT Serif',serif;
font-weight: normal;
font-size: 15px;
background: url("./images/pic-1.jpg");
height: 20px;
}
.box{
text-align: center;
margin: 10px auto ;
margin-top: 50px;
margin-bottom: 50px;
color: #f5f5f5;
height: 90vh;
width: 50vh;
border: 2px solid white;
border-radius: 5px;
outline: none;
box-shadow: 3px 2px 11px 5px rgba(108, 109, 109, 0.91);
}
#counter{
margin-top: 3rem;
font-size: 40px;
}
#display{
font-size: 200px;
color: #008000;
}
button{
font-size: 20px;
font-family: 'PT Serif', serif;
margin: 15px;
padding: 15px 35px;
border: 2px none;
border-radius: 6px;
color: #fff;
background: #0d2c54;
background-size: 200% auto;
text-align: center;
text-transform: uppercase;
box-shadow: black 0 10px 10px -5px;
transition: 0.5s;
cursor: pointer;
}
.btn{
margin-top: 20px;
}
.btn-grad {
background-image: linear-gradient(to right, #0d2c54 0%, #0d2c54 51%, #232526 100%);
margin-top: 10px;
}
.btn-grad:hover {
background-position: right center;
color: #fff;
text-decoration: none;
}
.d-flex{
display: flex;
}
.jc-center{
justify-content: center;
}
/* MOBILE DESIGN */
@media (max-width: 500px) {
body{
height: 10px;
}
.box{
text-align: center;
margin-right: 50px;
margin-left: 50px;
height: 80vh;
width: auto;
}
#counter{
font-weight: 400px;
font-size: 3em;
}
#display{
font-size: 150px;
margin-top: 8px;
}
}