-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
110 lines (96 loc) · 2.05 KB
/
style.css
File metadata and controls
110 lines (96 loc) · 2.05 KB
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
@import "https://fonts.googleapis.com/css?family=Lato:100";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 10px;
font-family: "Lato", Arial, sans-serif;
}
section {
width: 100%;
height: 100vh;
color: #fff;
background: linear-gradient(-45deg, #e64040, #ee7752, #23a6d5, #23d5ab);
background-size: 400% 400%;
position: relative;
animation: change 15s ease-in-out infinite;
}
@keyframes change {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
#linkedin-icon, #github-icon, #website-icon {
height: 5rem;
width: auto;
margin: 1em;
}
#linkedin-icon:hover, #github-icon:hover, #website-icon:hover {
opacity: 0.8;
}
.links {
margin-top: 2em;
}
.frame {
width: auto;
max-width: 100%;
display: inline-block;
position: absolute;
flex-wrap: wrap;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 3px solid #fff;
padding: 2em 5em 2em 5em;
text-align: center;
}
h1 {
width: 100%;
font-size: 5rem;
text-transform: uppercase;
letter-spacing: 2px;
white-space: nowrap;
/*
border: 3px solid #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 5rem 10rem;*/
}
@media only screen and (max-width: 500px) and (min-width:305px) {
.frame {
padding: 0.5em;
}
h1 {
white-space: nowrap;
font-size: 4rem;
}
#linkedin-icon, #github-icon, #website-icon {
height: 4rem;
width: auto;
margin: 0.5em;
}
}
@media only screen and (max-width: 305px) {
.frame {
padding: 0.5em;
}
h1 {
white-space: nowrap;
font-size: 2rem;
}
#linkedin-icon, #github-icon, #website-icon {
height: 2rem;
width: auto;
margin: 0.5em;
}
}