Skip to content

Commit 42d6dba

Browse files
committed
change project button design
1 parent 929547a commit 42d6dba

4 files changed

Lines changed: 56 additions & 36 deletions

File tree

index.html

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -97,43 +97,43 @@ <h2>Programmiersprachen und andere Technologien</h2>
9797
</div>
9898
</div>
9999
</section>
100-
</main>
101-
<section class="contentSection" id="sectionProjects">
102-
<h2 class="sectionHeading">Projekte</h2>
103-
<div class="projektContainer">
104-
<div class="projekt">
105-
<h3>Hausaufgaben-Manager</h3>
106-
<img width="100%" src="./img/hausaufgaben-manager.png" />
107-
<p><span>HTML</span><span>CSS</span><span>JavaScript</span></p>
108-
<div class="links">
109-
<a href="https://erpicoding.github.io/Hausaufgaben-Manager"
110-
>Öffnen</a
111-
>
112-
<a
113-
class="github"
114-
href="https://github.com/erpicoding/Hausaufgaben-Manager"
115-
>Github</a
116-
>
100+
<section class="contentSection" id="sectionProjects">
101+
<h2 class="sectionHeading">Projekte</h2>
102+
<div class="projektContainer">
103+
<div class="projekt">
104+
<h3>Hausaufgaben-Manager</h3>
105+
<img width="100%" src="./img/hausaufgaben-manager.png" />
106+
<p><span>HTML</span><span>CSS</span><span>JavaScript</span></p>
107+
<div class="links">
108+
<a href="https://erpicoding.github.io/Hausaufgaben-Manager"
109+
>Öffnen</a
110+
>
111+
<a
112+
class="github"
113+
href="https://github.com/erpicoding/Hausaufgaben-Manager"
114+
>Github</a
115+
>
116+
</div>
117117
</div>
118-
</div>
119118

120-
<div class="projekt">
121-
<h3>Verschlüsselungs Programm</h3>
122-
<img width="100%" src="./img/smg.png" />
123-
<p><span>HTML</span><span>CSS</span><span>JavaScript</span></p>
124-
<div class="links">
125-
<a href="https://erpicoding.github.io/secret-message-generator/"
126-
>Öffnen</a
127-
>
128-
<a
129-
class="github"
130-
href="https://github.com/erpicoding/secret-message-generator/"
131-
>Github</a
132-
>
119+
<div class="projekt">
120+
<h3>Verschlüsselungs Programm</h3>
121+
<img width="100%" src="./img/smg.png" />
122+
<p><span>HTML</span><span>CSS</span><span>JavaScript</span></p>
123+
<div class="links">
124+
<a href="https://erpicoding.github.io/secret-message-generator/"
125+
>Öffnen</a
126+
>
127+
<a
128+
class="github"
129+
href="https://github.com/erpicoding/secret-message-generator/"
130+
>Github</a
131+
>
132+
</div>
133133
</div>
134134
</div>
135-
</div>
136-
</section>
135+
</section>
136+
</main>
137137

138138
<dialog id="newRecord" class="newRecord">
139139
<h1>Neuer Rekord:</h1>

style.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99

1010
html {
1111
width: 100%;
12+
scrollbar-width: none;
13+
}
14+
15+
html::-webkit-scrollbar {
16+
display: none;
1217
}
1318

1419
/* HA-Madal
@@ -172,8 +177,13 @@ header {
172177
align-content: center;
173178
font-weight: bold;
174179
text-decoration: none;
180+
border: 2px solid hsl(0, 0%, 95%);
175181
border-radius: 20px;
176-
transition: 500ms;
182+
transition: 1000ms;
183+
}
184+
.banner .bannerLink:hover {
185+
background-color: hsl(0, 0%, 95%);
186+
color: hsl(0, 0%, 15%);
177187
}
178188

179189
@property --angle {

style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

style.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ $text-grey: hsl(0, 0%, 60%);
2727
}
2828
html {
2929
width: 100%;
30+
scrollbar-width: none;
31+
}
32+
html::-webkit-scrollbar {
33+
display: none;
3034
}
3135
/* HA-Madal
3236
*/
@@ -219,8 +223,14 @@ header {
219223
align-content: center;
220224
font-weight: bold;
221225
text-decoration: none;
226+
227+
border: 2px solid $text;
222228
border-radius: 20px;
223-
transition: 500ms;
229+
transition: 1000ms;
230+
&:hover {
231+
background-color: $text;
232+
color: $bg-grey;
233+
}
224234
}
225235
}
226236

0 commit comments

Comments
 (0)