-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
125 lines (111 loc) · 2.44 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
120
121
122
123
124
125
#main {
width: 100vw;
height: 64vh;
margin: -8px;
background: url("https://source.unsplash.com/random/?dark") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.gallery {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-gap: 10px;
-moz-column-gap: 10px;
column-gap: 10px;
margin-top: 50px;
margin-left: 20px;
margin-right: 20px;
overflow: hidden;
}
.gallery img {
width: 100%;
height: auto;
transition: 300ms;
margin-bottom: 10px;
page-break-inside: avoid; /* For Firefox. */
-webkit-column-break-inside: avoid; /* For Chrome & friends. */
break-inside: avoid; /* For standard browsers like IE. :-) */
/* box-shadow: 1px 1px 10px black; */
border-radius: 20px;
margin-top: 0.8rem;
/* cursor: pointer; */
}
@media screen and (max-width: 767px) {
.gallery {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
.gallery div { margin: 0;
width: 200px;
}
.modal-dialog {
margin: 0 8vw;
}
}
@media screen and (max-width: 479px) {
.gallery {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
.gallery div {
margin: 0;
width: 200px;
}
#main svg{
font: 15em 'montserrat';
}
}
svg {
display: block;
font: 10.5em 'Montserrat';
width: 70vw;
height: 48vh;
margin: 0 auto;
}
.text-copy {
fill: none;
stroke: white;
stroke-dasharray: 6% 29%;
stroke-width: 5px;
stroke-dashoffset: 0%;
animation: stroke-offset 5.5s infinite linear;
}
.text-copy:nth-child(1){
stroke: #4D163D;
animation-delay: -1;
}
.text-copy:nth-child(2){
stroke: #840037;
animation-delay: -2s;
}
.text-copy:nth-child(3){
stroke: #BD0034;
animation-delay: -3s;
}
.text-copy:nth-child(4){
stroke: #BD0034;
animation-delay: -4s;
}
.text-copy:nth-child(5){
stroke: #FDB731;
animation-delay: -5s;
}
@keyframes stroke-offset{
100% {stroke-dashoffset: -35%;}
}
button {
margin-top: 20px;
line-height: 60px;
font-weight: bold;
padding: 0 40px;
background: salmon;
border: none;
}
button:hover {
background: lightsalmon;
}