forked from Suchethao/UI-Element-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (89 loc) · 1.67 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
body {
margin:0;
background-color:#fafafa;
font-family: 'Cormorant+Garamond',sans-serif;
font-style:light;
}
.cards{
display:grid;
background-color:#fafafa;
grid-template-columns: repeat(3,1fr);
grid-template-rows:repeat(4,200px);
margin-left:0;
margin-right:0;
}
.cards img {
display:block;
margin-left:auto;
margin-right:auto;
height:100%;
}
.card {
background-color: #fafafa;
margin:10px;
cursor: pointer;
}
.popuptext h1{
color:black;
background-color: #fafafa;
font-size: 40px;
font-family: 'Cormorant+Garamand',sans-serif;
font-weight:300;
padding:40px;
}
.popuptext h2{
color:black;
background-color:#fafafa;
font-size: 18px;
font-family: 'Cormorant+Garamand';
width:75%;
font-style:light;
padding:20px;
}
.card .popuptext {
visibility: hidden;
background-color:#fafafa;
color: #0000;
border-radius: 6px;
padding: 8px 0;
position: absolute;
z-index: 1;
text-align: left;
border-style: solid;
border-color:black;
}
.card .popuptext::after {
background-color: #fafafa;
position: absolute;
visibility: visible;
border-style: solid;
border-color: #fafafa;
color:black;
}
.popuptext button{
display:block;
margin:20px;
}
.popuptext img {
background-color:#fafafa;
float:left;
padding: 0 20px 20px 0;
width:20%;
}
.card .show{
background-color:#fafafa;
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
display:block;
margin-left: auto;
margin-right:auto;
}
@-webkit-keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}