-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstylemain.css
More file actions
65 lines (59 loc) · 1.13 KB
/
stylemain.css
File metadata and controls
65 lines (59 loc) · 1.13 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
*{
margin:0;
padding:0;
box-sizing:border-box;
}
body{
background-image:linear-gradient(to right,rgb(130, 38, 206) 16%,rgb(233, 89, 89) 91.1%);
background-size: cover;
width:100%;
height:100vh;
display:flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
}
div{
width:30%;
height:35vw;
position:relative;
margin:50px;
background:#409192;
border-radius:20px;
box-shadow:0 20px 20px rgba(0,0,0,.2),0 0 0 4px #fff;
min-width:250px;
min-height:300px;
cursor:pointer;
transition:0.4s;
}
div:active{
transform:translateY(8px);
}
div:hover{
box-shadow: 30px 30px 30px #00000030,0 0 0 4px #fff;
}
.alarmicon,.todolist{
width:50%;
height:45%;
position:absolute;
left:50%;
top:47%;
transform:translate(-50%,-50%);
}
#alarmcaption,#todolist{
position:absolute;
left:50%;
top:80%;
transform:translate(-50%,0);
font-size:2.5vw;
font-family: helvetica, sans-serif;
}
h3{
text-shadow:0 3px 4px #22222230;
}
@media (max-width:430px)
{
#alarmcaption,#todolist{
font-size:5vw;
}
}