Skip to content

Commit 53506c0

Browse files
committed
Added project site
1 parent c63bf77 commit 53506c0

3 files changed

Lines changed: 55 additions & 0 deletions

File tree

home-style.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,45 @@ main {
138138
text-align: center;
139139
font-size: 1.75em;
140140
}
141+
142+
.hangman-project {
143+
position: absolute;
144+
left: 15%;
145+
top: 30%;
146+
height: 280px;
147+
width: 65%;
148+
border-radius: 10px;
149+
border: 3px solid #ccc;
150+
}
151+
152+
.hangman-project img {
153+
transform: scale(0.6);
154+
border-radius: 5px;
155+
margin-left: -50px;
156+
margin-top: -40px;
157+
}
158+
159+
.text-container {
160+
display: flex;
161+
flex-direction: column;
162+
margin-right: 20px;
163+
width: 100%;
164+
}
165+
166+
.description {
167+
font-weight: bold;
168+
color: #333;
169+
}
170+
171+
.features {
172+
margin-top: 10px;
173+
}
174+
175+
.ai-label, .visualization-label {
176+
font-weight: bold;
177+
color: #f08080;
178+
}
179+
180+
.features > span {
181+
color: #388e3c;
182+
}

home.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ <h1>Welcome to Neeoder-code</h1>
3434
<div class="project_text">
3535
<h1>My projects</h1>
3636
</div>
37+
<div class="hangman-project">
38+
<img src="images/hangman_thumb.png" alt="Hangman thumbnail">
39+
<div class="text-container">
40+
<div class="description">
41+
A simple Hangman game, playable in english and german.
42+
</div>
43+
<div class="features">
44+
<span class="ai-label">AI:</span> An AI that plays statistically perfect by using
45+
letter-frequency-analysis<br>
46+
<span class="visualization-label">Visualization:</span> See the letter frequencies in a diagram
47+
</div>
48+
</div>
49+
</div>
3750
</div>
3851
</main>
3952
<script>

images/hangman_thumb.png

34.4 KB
Loading

0 commit comments

Comments
 (0)