-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcon-1.css
98 lines (96 loc) · 2.08 KB
/
con-1.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
.container {
height: 100vh;
width: 100%;
/* background: url("./image/harry-shelton-pPxhM0CRzl4-unsplash-1.jpg")
no-repeat center rgba(0, 0, 0, 1); */
animation: change 15s linear alternate infinite;
/* animation: forwards; */
}
@keyframes change {
0% {
color: black;
background: url("./image/harry-shelton-pPxhM0CRzl4-unsplash-1.jpg")
no-repeat center rgba(0, 0, 0, 1);
}
100% {
color: white;
background: url("./image/sean-pollock-PhYq704ffdA-unsplash.png")
no-repeat center rgba(0, 0, 0, 1);
}
}
.con-1 {
height: 100vh;
width: 100%;
/* color: black; */
/* color: white; */
}
.con-1 .logo{
/* margin: 2rem auto; */
height: 100%;
/* border: solid 2px red; */
}
.con-1 .logo img{
height: 120%;
}
.nav {
display: flex;
flex-wrap: nowrap;
text-wrap:balance;
height: 20%;
width: 100%;
/* border: solid 2px white; */
padding: 0 1em;
justify-content: space-around;
align-items: center;
}
.nav ul {
display: flex;
flex-wrap: nowrap;
/* border: solid 2px white; */
font-size: larger;
font-family: Arial, sans-serif;
list-style-type: none;
justify-content: space-between;
align-items: center;
}
.nav ul li {
cursor: pointer;
pointer-events: all;
margin: 1em;
transition: all 0.2s;
}
.nav ul li a {
text-decoration: none;
color: black;
}
.nav ul li:hover {
color: black;
text-underline-offset: 5px;
text-decoration: underline;
}
.main-content {
height: 80%;
width: 100%;
display: grid;
place-content: center;
text-align: center;
font-size: 2.5rem;
/* border: solid 2px white; */
}
.main-content .btn {
color: white;
width: max-content;
margin: auto;
cursor: pointer;
pointer-events: all;
font-size: medium;
padding: 1em 2em;
margin: 1em auto;
border-radius: 2em;
text-decoration: none;
background-color: #52adef;
}
.main-content .btn:hover {
background-color: #52adef;
filter: contrast(80%);
}