-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
191 lines (187 loc) · 3.9 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bruno+Ace+SC&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
background-color: rgb(0, 219, 110);
height: 109px;
position: sticky;
top: 0px;
}
ul {
display: flex;
justify-content: right;
align-items: right;
padding-top: 4.5vh;
}
ul li {
display: inline-block;
padding: 18px;
list-style-type: none;
font-size: 1.1em;
font-family: "Bruno Ace SC", cursive;
}
ul li a:hover {
text-decoration: underline;
border-radius: 3px;
height: 1.3em;
}
ul li a {
text-decoration: none;
color: rgb(0, 0, 0);
}
.logo {
float: left;
}
@media screen and (min-width: 1060px) {
header nav .menu {
display: none;
}
}
@media screen and (max-width: 1060px) {
.menubtn {
background-color: rgb(0, 219, 110);
font-size: 1.2em;
}
.menu {
position: relative;
float: right;
margin-right: 85px;
margin-top: -40px;
font-family: "Bruno Ace SC", cursive;
}
.items {
display: none;
position: absolute;
z-index: 1;
box-shadow: 5px 5px 5px 5px rgb(0, 219, 110);
background-color: black;
transition: all 0.6s ease-in-out;
}
.items a {
display: block;
text-decoration: none;
color: rgb(255, 255, 255);
padding: 22px;
}
.items a:hover {
background-color: rgb(17, 177, 78);
}
.menu:hover .items {
display: block;
}
ul li a {
display: none;
}
}
.home h1 {
font-size: 2.5em;
font-family: "Bruno Ace SC", cursive;
color: rgb(0, 219, 110);
}
.home {
background-image: url("images/bcg.png");
background-position: center;
/* background-repeat: repeat-x; */
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 12.5vh;
}
.about {
background-color: rgb(0, 219, 110);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.about p {
color: rgb(0, 0, 0);
font-family: "Orbitron", cursive;
font-size: 1.5em;
border-radius: 2px;
padding: 2vh;
}
.socials {
background-color: black;
padding: 5vh;
height: 40vh;
}
.socials h1 {
color: rgb(0, 219, 110);
font-family: "Bruno Ace SC", cursive;
padding-bottom: 10vh;
}
.socials .gt {
float: right;
color: white;
height: auto;
width: 40%;
}
.socials .gt a img:hover {
background-color: rgb(0, 0, 0);
border: 2px solid rgb(0, 0, 0);
border-radius: 4px solid rgb(0, 0, 0);
}
.socials .gt a img {
transition-property: width;
transition-duration: 3s;
transition-timing-function: ease-in-out;
transition-delay: 0.5s;
}
.socials .dc a img:hover {
background-color: rgb(0, 0, 0);
border: 2px solid rgb(0, 0, 0);
border-radius: 4px solid rgb(0, 0, 0);
}
.socials .dc a img {
transition-property: width;
transition-duration: 3s;
transition-timing-function: ease-in-out;
transition-delay: 0.5s;
}
.socials .dc {
color: white;
height: auto;
width: 40%;
float: left;
}
.projects {
height: auto;
background-color: rgb(0, 219, 110);
}
.projects .grid {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.grid .p {
/* border: 2px solid rgb(255, 255, 255); */
height: 45vh;
width: 45vh;
margin: 10vh 8vh 8vh 5vh;
}
.grid p {
margin: 2.5vh auto 2.5vh auto;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.projects h1 {
font-family: "Orbitron", cursive;
}
.projects a img{
transition-property: width;
transition-duration: 3s;
transition-timing-function: ease-in-out;
transition-delay: 0.5s;
}
.projects a img:hover{
background-color: rgb(0, 0, 0);
border: 2px solid rgb(0, 0, 0);
border-radius: 4px solid rgb(0, 0, 0);
}