-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (83 loc) · 1.28 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
/* Global Properties */
html {
scroll-behavior: smooth;
}
body {
background: #00779b;
font-family: "Baloo Tamma 2", cursive;
}
/* Main Heading Font */
.m-heading {
font-family: "Roboto Slab", serif;
}
.navigation-link {
border: 2px solid transparent;
}
.navigation-link:hover {
text-decoration: none;
border-bottom: 4px solid #3eff17;
transition: 0.5s ease;
}
nav.stroke ul li a,
nav.fill ul li a {
position: relative;
}
nav.stroke ul li a:after,
nav.fill ul li a:after {
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: auto;
width: 0%;
content: '.';
color: transparent;
background: #aaa;
height: 1px;
}
nav.stroke ul li a:hover:after {
width: 100%;
}
.main-container {
padding-top: 1rem;
}
.mainrow {
display: flex;
justify-content: center;
align-items: center;
}
.mainrow img {
width: auto;
height: 100vh;
}
.object {
animation: MoveUpDown 3s linear infinite;
left: 0;
bottom: 0;
}
@keyframes MoveUpDown {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-20px);
}
}
.tobegreen {
color: #3eff17;
}
.red {
color: #ff0000;
}
#about {
background: #0092be;
border: 6px solid #8fc0ff;
width: 900px;
border-radius: 2rem;
}
#projects {
width: 900px;
}
#connect {
background: #3b4b75;
}