-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.css
75 lines (67 loc) · 1.51 KB
/
home.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
.content {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
position: fixed;
width: 100%;
height: 100%;
z-index: 1;
text-shadow: 0 0 10px rgba(204, 0, 255, 0.5);
}
.content-left {
flex: 1;
color: white;
font-family: sans-serif;
max-width: 60%;
word-wrap: break-word;
}
.content-left h1 .rainbow-text {
background: -webkit-linear-gradient(90deg,
rgba(149, 0, 255, 1) 0%, rgba(149, 0, 255, 1) 10%,
rgba(0, 0, 255, 1) 11%, rgba(0, 0, 255, 1) 21%,
rgba(0, 255, 0, 1) 22%, rgba(0, 255, 0, 1) 32%,
rgba(255, 239, 0, 1) 33%, rgba(255, 239, 0, 1) 43%,
rgba(255, 106, 0, 1) 44%, rgba(255, 106, 0, 1) 54%,
rgba(255, 0, 0, 1) 55%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: bold;
}
.content-right img {
max-width: 100%;
max-height: 100vh;
width: auto;
height: auto;
border-radius: 10px;
object-fit: contain;
}
.moon {
position: absolute;
object-fit: contain;
display: none;
}
.moon img{
width: 50px;
height: auto;
}
.buttons {
text-align: center;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.buttons ul {
list-style: none;
padding: 0;
}
.buttons ul li {
display: inline-block;
margin: 0 10px;
position: relative;
}
.buttons ul li a {
position: relative;
display: block;
}