Skip to content

Commit

Permalink
create jasstafel #4
Browse files Browse the repository at this point in the history
  • Loading branch information
michivonah committed Jan 15, 2023
1 parent 6735445 commit d0c7e02
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ <h2>Copyright</h2>
<img class="card given" src="https://jassverzeichnis.ch/wp-content/uploads/2022/05/rosen-under.gif" alt="Random Card">
</div>
</div>
<div id="jasstafel">
<img id="currentTrump" src="" alt="Aktueller Trumpf">
<p>Du: 0</p>
<p>Gegner: 0</p>
</div>
<div class="cardContainer user"></div>
<div class="cardContainer cpu"></div>
<div class="cardContainer cpu"></div>
Expand Down
23 changes: 23 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ body{
--theme2: #6ab04c;
--theme3: #27ae60;
--accent: #c0392b;
--brown: #a83b11;
--font: 'Sofia Sans', sans-serif;
--transition: 0.2s ease all;
}
Expand Down Expand Up @@ -163,6 +164,28 @@ body{
transition: 0.4s ease-out;
}

/* Jasstafel */
#jasstafel{
width: 15%;
height: auto;
background: radial-gradient(circle, rgba(75,75,75,1) 0%, rgba(24,24,24,1) 100%);
color: var(--white);
border: 6px solid var(--brown);
border-radius: 4px;
padding: 15px;
position: absolute;
top: 0;
right: 0;
}

#jasstafel img{
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--white);
padding: 5px;
}


/* GENERAL */
.notice{
Expand Down

0 comments on commit d0c7e02

Please sign in to comment.