-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
147 lines (128 loc) · 2.43 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/* * {
outline: 4px solid green !important;
} */
* {
margin: 0;
padding: 0;
}
html {
height: 100vh;
}
.main-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin-bottom: 5px;
position: relative;
transition: background-position 3s;
background: #0f172a; /* fallback for old browsers */
background: linear-gradient(
135deg,
rgba(253, 187, 45, 1) 15%,
rgba(216, 109, 38, 1) 30%,
rgba(178, 31, 31, 1) 49%,
#0f172a 70%
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
background-size: 400%;
background-position: right;
}
.telegram-button-hover {
background-position: 10%;
}
.mail-button-hover {
background-position: 20%;
}
.github-button-hover {
background-position: 30%;
}
.cv-button-hover {
background-position: 49%;
}
@media screen and (max-width: 767px) {
body {
height: 100%;
}
.main-container {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
margin-bottom: 5px;
position: relative;
background: #0f172a; /* fallback for old browsers */
background: linear-gradient(
135deg,
rgba(253, 187, 45, 1) 20%,
rgba(216, 109, 38, 1) 40%,
rgba(178, 31, 31, 1) 60%,
rgba(26, 42, 108, 1) 80%
);
background-size: 400%;
animation: gradient-animation 8s infinite alternate ease;
}
@keyframes gradient-animation {
0% {
background-position: right;
}
100% {
background-position: left;
}
}
}
.main-info {
font-family: "Manrope", sans-serif;
width: 100%;
}
.main-info h1,
h2 {
text-align: center;
color: #e2e8f0;
}
.main-info h1 {
font-size: 50px;
margin: 0 auto;
}
.main-info h2 {
margin: 1px auto;
}
.wave-container {
width: 100%;
height: 50px;
position: absolute;
bottom: 0;
}
.icons-container {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
}
.icons-container a {
margin: 0 20px;
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border: #e2e8f0 solid;
border-radius: 10px;
transition: 0.2s;
}
.icons-container a img {
height: 90%;
width: 90%;
}
.icons-container a:hover {
translate: 0 -10px;
}
.button-info {
display: flex;
justify-content: center;
color: #e2e8f0;
font-family: "Manrope", sans-serif;
width: 100%;
margin-top: 10px;
visibility: hidden;
}