-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyleMainPage.css
98 lines (94 loc) · 1.87 KB
/
styleMainPage.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
* {
margin: 0;
padding: 0;
font-family: montserrat, sans-serif;
box-sizing: border-box;
}
.button-container {
display: flex;
width: 100%;
min-height: 100vh;
justify-content: center;
align-items: center;
}
.button1 {
appearance: none;
background: none;
border: none;
outline: none;
padding: 20px 40px;
border-radius: 8px;
color: #212121;
font-size: 28px;
font-weight: 600;
margin: 0 15px;
cursor: pointer;
transition: 0.4s;
}
.button-animate {
position: relative;
}
.button-animate:after {
content: '';
position: absolute;
width: 0;
height: 0;
bottom: 0;
right: 0;
border-bottom: 3px solid #212121;
border-right: 3px solid #212121;
transition: all 0.4s, opacity 0.1s 0.4s;
opacity: 0;
}
.button-animate:before {
content: '';
position: absolute;
width: 0;
height: 0;
top: 0;
left: 0;
border-top: 3px solid #212121;
border-left: 3px solid #212121;
transition: all 0.4s, opacity 0.1s 0.4s;
opacity: 0;
}
.button-animate:hover:after, .button-animate:hover:before {
width: calc(100% + 15px);
height: calc(100% + 15px);
transition: all 0.4s, opacity 0.1s;
opacity: 1;
}
.modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
/* Modal Content */
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
/* The Close Button */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}