Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5502
}
100 changes: 100 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
body {
display: flex;
align-self: center;
justify-content: center;
background-color: lightgrey;
overflow: hidden;
}
.card {
width: 600px;
height: 300px;
border: outset;
border-radius: 6px;
background-color: white;
position: absolute;
top: 28%;


}
.main {
display: flex;
}
.card img {
width: 200px;
height: 200px;
}
.title {
width: 400px;
height: 200px;
margin: 0px;
border-bottom: 1px solid lightgrey;
}
.title h1 {
margin-left: 60px;
font-size: 40px;
font-family: Arial, Helvetica, sans-serif;
color: rgb(43, 41, 41);
font-weight: 100;
}
.title h2 {
margin-left: 60px;
font-size: 20px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: rgb(119, 113, 113);
font-weight: 100;
}
.rate {
/* width: 100%; */
display: flex;
align-items: center;
justify-content: space-between;

}
.rateAlbum {
display: flex;
margin: 0px 32px;
padding-top: 35px;
align-items: center;
font-size: 25px;
font-family: Arial, Helvetica, sans-serif;
font-weight: 100;
color: rgb(119, 113, 113);

}

form {
width: 250px;
margin: 0;
height: 50px;
}

form p {
text-align: center;
}

form label {
font-size: 37px;
letter-spacing: 20px;
}

input[type="radio"] {
display: none;
}

label {
color: rgb(83, 80, 80);
}

.clasification {
direction: rtl;
unicode-bidi: bidi-override;
}

label:hover,
label:hover ~ label {
color: orange;
}

input[type="radio"]:checked ~ label {
color: orange;
}
Binary file added images/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rozes</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="card">
<section class="main">
<img src="images/image.png" alt="">
<div class="title">
<h1>Rozes</h1>
<h2>Under the grave</h2>
<h2>(2016)</h2>
</div>
</section>
<div class="rate">
<h2 class="rateAlbum">Rate this album</h2>
<form>
<p class="clasification">
<input id="radio1" type="radio" name="estrellas" value="5"><!--
--><label for="radio1">☆</label><!--
--><input id="radio2" type="radio" name="estrellas" value="4"><!--
--><label for="radio2">☆</label><!--
--><input id="radio3" type="radio" name="estrellas" value="3"><!--
--><label for="radio3">☆</label><!--
--><input id="radio4" type="radio" name="estrellas" value="2"><!--
--><label for="radio4">☆</label><!--
--><input id="radio5" type="radio" name="estrellas" value="1"><!--
--><label for="radio5">☆</label>
</p>
</form>
</div>
</div>
</body>
</html>