Skip to content

Commit 750d835

Browse files
committed
fix: css updates
1 parent 4ef403d commit 750d835

File tree

8 files changed

+251
-52
lines changed

8 files changed

+251
-52
lines changed

css/style.css

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
:root {
2+
--link-hover: #4caf50; /* Vibrant green for hover effects */
3+
--text-color: #f5f5f5; /* Off-white for text */
4+
--accent-color: #2e7d32; /* Deep green for accents */
5+
--background-color: #1e1e1e; /* Near-black dark gray for background */
6+
--secondary-accent: #81c784; /* Light green for secondary accents */
7+
--gradient-start: #133a17; /* Dark green for gradients */
8+
--gradient-end: #1a1a1a; /* Very dark gray for gradients */
9+
--glow-color: rgba(76, 175, 80, 0.6); /* Glowing effect color */
10+
--card-background: rgba(40, 40, 40, 0.7); /* Slightly transparent card background */
11+
}
12+
13+
@keyframes fadeIn {
14+
from { opacity: 0; transform: translateY(10px); }
15+
to { opacity: 1; transform: translateY(0); }
16+
}
17+
18+
@keyframes float {
19+
0% { transform: translateY(0px); }
20+
50% { transform: translateY(-2px); }
21+
100% { transform: translateY(0px); }
22+
}
23+
24+
body {
25+
font-family: 'Roboto', 'Arial', sans-serif;
26+
margin: 0;
27+
padding: 0;
28+
line-height: 1.6;
29+
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
30+
background-attachment: fixed;
31+
color: var(--text-color);
32+
min-height: 100vh;
33+
position: relative;
34+
overflow-x: hidden;
35+
}
36+
37+
body header {
38+
background: linear-gradient(90deg, var(--accent-color), var(--gradient-start));
39+
color: var(--text-color);
40+
padding: 20px 0;
41+
text-align: center;
42+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
43+
position: relative;
44+
z-index: 10;
45+
}
46+
47+
body header .nav {
48+
display: flex;
49+
justify-content: space-around;
50+
align-items: center;
51+
padding: 0 20px;
52+
}
53+
54+
body header .nav > div:first-child {
55+
font-size: 1.2em;
56+
font-weight: bold;
57+
position: relative;
58+
transition: transform 0.3s ease;
59+
}
60+
61+
body header .nav > div:first-child:hover {
62+
transform: translateY(-2px);
63+
}
64+
65+
body header .nav #socials {
66+
display: flex;
67+
gap: 15px;
68+
}
69+
70+
body header a {
71+
color: var(--text-color);
72+
text-decoration: none;
73+
transition: all 0.3s ease;
74+
position: relative;
75+
padding: 3px 5px;
76+
border-radius: 3px;
77+
}
78+
79+
body header a::after {
80+
content: '';
81+
position: absolute;
82+
left: 0;
83+
bottom: -1px;
84+
width: 100%;
85+
height: 1px;
86+
background: var(--link-hover);
87+
transform: scaleX(0);
88+
transition: transform 0.3s ease;
89+
transform-origin: bottom right;
90+
}
91+
92+
body header a:hover {
93+
background: none;
94+
color: var(--link-hover);
95+
text-shadow: 0 0 8px var(--glow-color);
96+
}
97+
98+
body header a:hover::after {
99+
transform: scaleX(1);
100+
transform-origin: bottom left;
101+
}
102+
103+
#socials a {
104+
animation: fadeIn 0.5s ease backwards;
105+
transition: transform 0.3s ease, box-shadow 0.3s ease;
106+
}
107+
108+
#socials a:hover {
109+
transform: translateY(-3px);
110+
}
111+
112+
body main {
113+
padding: 30px;
114+
max-width: 800px;
115+
margin: 20px auto;
116+
background: var(--card-background);
117+
border-radius: 8px;
118+
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
119+
animation: fadeIn 0.8s ease;
120+
backdrop-filter: blur(5px);
121+
}
122+
123+
body main h1 {
124+
text-shadow: 0 0 10px var(--glow-color);
125+
animation: fadeIn 0.6s ease;
126+
margin-bottom: 15px;
127+
position: relative;
128+
}
129+
130+
body main h1::after {
131+
content: '';
132+
position: absolute;
133+
left: 0;
134+
bottom: -5px;
135+
width: 60px;
136+
height: 3px;
137+
background: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
138+
border-radius: 3px;
139+
}
140+
141+
body main p {
142+
animation: fadeIn 0.7s ease;
143+
}
144+
145+
body main .faq {
146+
margin-top: 30px;
147+
padding-top: 20px;
148+
border-top: 1px solid rgba(255, 255, 255, 0.1);
149+
}
150+
151+
body main dl dt {
152+
font-weight: bold;
153+
margin-top: 20px;
154+
color: var(--secondary-accent);
155+
font-size: 1.1em;
156+
transition: all 0.3s ease;
157+
}
158+
159+
body main dl dt:hover {
160+
color: var(--link-hover);
161+
text-shadow: 0 0 8px var(--glow-color);
162+
}
163+
164+
body main dl dd {
165+
margin: 0 0 20px 20px;
166+
padding: 10px 0;
167+
border-left: 2px solid var(--accent-color);
168+
padding-left: 15px;
169+
transition: all 0.3s ease;
170+
animation: fadeIn 0.5s ease;
171+
}
172+
173+
body main dl dd:hover {
174+
border-left-color: var(--link-hover);
175+
background: rgba(76, 175, 80, 0.05);
176+
}
177+
178+
body main dl dd p {
179+
margin: 8px 0;
180+
}
181+
182+
body footer {
183+
text-align: center;
184+
padding: 12px 0;
185+
background: rgba(30, 30, 30, 0.7);
186+
color: rgba(245, 245, 245, 0.7);
187+
position: relative;
188+
bottom: 0;
189+
width: 100%;
190+
margin-top: 40px;
191+
border-top: 1px solid rgba(76, 175, 80, 0.2);
192+
font-size: 0.8em;
193+
animation: fadeIn 1s ease;
194+
}
195+
196+
/* Responsive styles */
197+
@media (max-width: 768px) {
198+
body header .nav {
199+
flex-direction: column;
200+
gap: 10px;
201+
}
202+
203+
body header .nav #socials {
204+
justify-content: center;
205+
flex-wrap: wrap;
206+
}
207+
208+
body main {
209+
margin: 10px;
210+
padding: 20px;
211+
}
212+
}
213+
214+
/* Additional animations */
215+
.float-animation {
216+
animation: float 3s ease-in-out infinite;
217+
}

favicons/emaildark.png

-34.4 KB
Binary file not shown.

favicons/ghdark.png

-5.97 KB
Binary file not shown.

favicons/keybase_dark.png

-29.5 KB
Binary file not shown.

favicons/linkedin_dark.png

-11.3 KB
Binary file not shown.

favicons/paw_dark.png

-13.4 KB
Binary file not shown.

favicons/twitter_dark.png

-11.8 KB
Binary file not shown.

index.html

Lines changed: 34 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,43 @@
1+
12
<!DOCTYPE html>
23
<html>
34
<head>
4-
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/terminal.min.css" />
5-
<style>
6-
:root {
7-
--global-font-size: 15px;
8-
--global-line-height: 1.4em;
9-
--global-space: 10px;
10-
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
11-
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
12-
serif;
13-
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
14-
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
15-
serif;
16-
--background-color: #222225;
17-
--page-width: 60em;
18-
--font-color: #e8e9ed;
19-
--invert-font-color: #222225;
20-
--secondary-color: #a3abba;
21-
--tertiary-color: #a3abba;
22-
--primary-color: #62c4ff;
23-
--error-color: #ff3c74;
24-
--progress-bar-background: #3f3f44;
25-
--progress-bar-fill: #62c4ff;
26-
--code-bg-color: #3f3f44;
27-
--input-style: solid;
28-
--display-h1-decoration: none;
29-
}
30-
</style>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Max Wilson - Developer</title>
8+
<link rel="stylesheet" href="./css/style.css">
9+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
3110
</head>
32-
<body class="terminal">
33-
</br>
34-
</br>
35-
<div class="container">
36-
<div class="terminal-card">
37-
<header>
38-
<div style="display: flex; justify-content: space-between; width: 50%; margin-left: auto; margin-right: auto;">
39-
<a id="email_link" class="icon" href="mailto:[email protected]" rel="noopener noreferrer" target="_blank"><img src="./favicons/emaildark.png" height="32" style="width: 32px !important"></a>
40-
<a id="keybase_link" class="icon" href="https://keybase.io/maxwilsoncoding" rel="noopener noreferrer" target="_blank"><img src="./favicons/keybase_dark.png" height="32" style="width: 32px !important"></a>
41-
<a id="github_link" class="icon" href="https://github.com/mwilsoncoding" rel="noopener noreferrer" target="_blank"><img src="./favicons/ghdark.png" height="32" style="width: 32px !important"></a>
42-
<a id="linkedin_link" class="icon" href="https://linkedin.com/in/miwilson2" rel="noopener noreferrer" target="_blank"><img src="./favicons/linkedin_dark.png" height="32" style="width: 32px !important"></a>
43-
<a id="instagram_link" class="icon" href="https://instagram.com/rush.jet" rel="noopener noreferrer" target="_blank"><img src="./favicons/paw_dark.png" height="32" style="width: 32px !important"></a>
44-
<a id="twitter_link" class="icon" href="https://twitter.com/maxwdev" rel="noopener noreferrer" target="_blank"><img src="./favicons/twitter_dark.png" height="32" style="width: 32px !important"></a>
45-
</div>
46-
</header>
11+
<body class="dark">
12+
<header>
13+
<div class="nav">
4714
<div>
48-
<h2 class="logo terminal-prompt">(&#955;x.x).<a href="./">Max Wilson</a></h2>
49-
<h3>Hello world!</h3>
50-
<p>My name is Max. I&#39;m a Developer/Engineer/Programmer in Columbus, Ohio.</p>
51-
<h3>What is this place?</h3>
52-
<p>This is my personal website. At the moment, it's a virtual business card. Stay tuned for a renovation and continued updates!</p>
53-
<p><em>All written content on this site is provided under a Creative Commons ShareAlike license. All code is provided under an MIT license unless otherwise stated.</em></p>
15+
(&#955;x.x).<a href="./">Max Wilson</a>
5416
</div>
17+
<div id="socials">
18+
<a id="email_link" href="mailto:[email protected]" rel="noopener noreferrer" target="_blank">email</a>
19+
<a id="keybase_link" href="https://keybase.io/maxwilsoncoding" rel="noopener noreferrer" target="_blank">keybase</a>
20+
<a id="github_link" href="https://github.com/mwilsoncoding" rel="noopener noreferrer" target="_blank">github</a>
21+
<a id="linkedin_link" href="https://linkedin.com/in/miwilson2" rel="noopener noreferrer" target="_blank">linkedin</a>
22+
<a id="instagram_link" href="https://instagram.com/rush.jet" rel="noopener noreferrer" target="_blank">instagram</a>
23+
</div>
24+
</div>
25+
</header>
26+
<main>
27+
<h1 class="float-animation">Hello world!</h1>
28+
<p>My name is Max. I&#39;m a Developer/Engineer/Programmer in Columbus, Ohio.</p>
29+
<div class="faq">
30+
<dl>
31+
<dt>What is this place?</dt>
32+
<dd>
33+
<p>This is a static site linking out to my various public projects and profiles.</p>
34+
<p>At the moment, it's little more than a virtual business card. Stay tuned for updates!</p>
35+
</dd>
36+
</dl>
5537
</div>
56-
</div>
57-
<script>
58-
Array.from(document.getElementsByClassName("icon")).forEach( (icon, _index, icons) => icon.before(icons[Math.floor(Math.random() * icons.length)]) );
59-
</script>
38+
</main>
39+
<footer>
40+
<p>All written content on this site is provided under a Creative Commons ShareAlike license. All code is provided under an MIT license unless otherwise stated.</p>
41+
</footer>
6042
</body>
6143
</html>

0 commit comments

Comments
 (0)