Skip to content

Commit

Permalink
mehek projekt stylesheet alap
Browse files Browse the repository at this point in the history
  • Loading branch information
PstasDev committed Apr 26, 2024
1 parent 23822a8 commit 7b18c71
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ <h2 class="card-header">Második oldal</h2>
</div>
</div>
</div>
<div class="shadow-xl card max-md:w-full">
<div class="card-body">
<h2 class="card-header">Méhek</h2>
<p class="text-content2">Méhek feladat</p>
<div class="flex justify-end card-footer">
<a href="mehek/" class="btn btn-primary">Link</a>
</div>
</div>
</div>
</div>
</div>
</body>
Expand Down
16 changes: 16 additions & 0 deletions mehek/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Méhek</title>

<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Videó a méhekről</h1>
<video src="./mehek.mp4" autoplay controls></video>
<h1>Információk a méhekről</h1>
<audio src="./mehek.mp3" controls></video>
</body>
</html>
Binary file added mehek/mehek.mp3
Binary file not shown.
Binary file added mehek/mehek.mp4
Binary file not shown.
14 changes: 14 additions & 0 deletions mehek/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
html {
--s: 37px; /* control the size */

--c:#0000,#ffe4b2 .5deg 119.5deg,#0000 120deg;
--g1:conic-gradient(from 60deg at 56.25% calc(425%/6),var(--c));
--g2:conic-gradient(from 180deg at 43.75% calc(425%/6),var(--c));
--g3:conic-gradient(from -60deg at 50% calc(175%/12),var(--c));
background:
var(--g1),var(--g1) var(--s) calc(1.73*var(--s)),
var(--g2),var(--g2) var(--s) calc(1.73*var(--s)),
var(--g3) var(--s) 0,var(--g3) 0 calc(1.73*var(--s))
#ffffff;
background-size: calc(2*var(--s)) calc(3.46*var(--s));
}

0 comments on commit 7b18c71

Please sign in to comment.