Skip to content

Commit

Permalink
✨ new project added
Browse files Browse the repository at this point in the history
  • Loading branch information
iamrahulmahato committed Mar 17, 2022
1 parent 2220ccb commit cd3860a
Show file tree
Hide file tree
Showing 12 changed files with 169 additions and 13 deletions.
1 change: 1 addition & 0 deletions assets/image/110831_moon_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/moon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/image/star.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 27 additions & 5 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,7 @@ body {
}

.counter-cover-color {
background: rgba(25, 90, 216, 0.2);
}

.card-cover-color {
background: rgba(216, 111, 25, 0.2);
background: rgba(255, 206, 0, 0.2);
}

.card-cover img {
Expand All @@ -112,4 +108,30 @@ body {
color: #475569;
font-size: 0.9rem;
margin-top: 0.2rem;
}

.icon {
position: fixed;
top: 1rem;
right: 1rem;
}

.icon2 {
display: inline-flex;
appearance: none;
align-items: center;
justify-content: center;
padding: 0px;
align-items: center;
background-color: #f43f5e;
color: #ffffff;
}

.icon2 img {
width: 1.5rem;
height: 1.5rem;
display: inline-block;
line-height: 1em;
flex-shrink: 0;
color: currentColor;
}
19 changes: 11 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,42 @@
</head>

<body>

<section id="projects">

<div class="projects-heading">
<p>Master web development</p>
<h3><span>Open</span> Projects</h3>
<div class="btn-container">
<a href="http://github.com/iamrahulmahato/master-web-development" target="_blank" rel="noopener noreferrer" class="source-code-btn">View source code</a>
</div>
</div>

<div class="projects-container">
<a href="./projects/counter/index.html" class="card">
<div class="card-cover counter-cover-color">
<div class="card-cover ">
<img src="./assets/image/counter-thumbnail.png" alt="">
</div>
<div class="card-content">
<h3 class="card-heading">Counter</h3>
<p class="card-description">
A simple and stupid counter for your daily need.
A simple counter application.
</p>
</div>
</a>
<a href="" class="card">
<div class="card-cover counter-cover-color">
<img src="./assets/image/coming-soon.png" alt="">
<a href="./projects/Rating System/index.html" class="card">
<div class="card-cover counter-cover-color ">
<img src="./assets/image/star.png" alt="">
</div>
<div class="card-content">
<h3 class="card-heading">Unknow</h3>
<h3 class="card-heading">Rating System</h3>
<p class="card-description">
Working on it
A cool rating System.
</p>
</div>
</a>
<a href="" class="card">
<div class="card-cover counter-cover-color">
<div class="card-cover">
<img src="./assets/image/coming-soon.png" alt="">
</div>
<div class="card-content">
Expand Down
Binary file added projects/Rating System/img/angry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/Rating System/img/cool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/Rating System/img/surprised.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/Rating System/img/ugly (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/Rating System/img/ugly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions projects/Rating System/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Document</title>
</head>

<body>
<div class="rating">
<input type="radio" name="star" id="star1" checked="checked">
<label for="star1">
<img src="./img/cool.png" alt="" srcset="">
<h4>Loved It</h4>
</label>
<input type="radio" name="star" id="star2">
<label for="star2">
<img src="./img/surprised.png" alt="" srcset="">
<h4>Liked It</h4>
</label>
<input type="radio" name="star" id="star3">
<label for="star3">
<img src="./img/angry.png" alt="" srcset="">
<h4>It's Ok</h4>
</label>
<input type="radio" name="star" id="star4">
<label for="star4">
<img src="./img/ugly (1).png" alt="" srcset="">
<h4>Dislike Ok</h4>
</label>
<input type="radio" name="star" id="star5">
<label for="star5">
<img src="./img/ugly.png" alt="" srcset="">
<h4>Hated It</h4>
</label>
<h2 class="text">Do yo like my projects?</h2>


</div>

</body>

</html>
84 changes: 84 additions & 0 deletions projects/Rating System/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'poppins', sans-serif;
}

body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #201528;
}

img {
height: 120px;
width: 120px;
}

.rating {
position: relative;
display: flex;
flex-direction: row-reverse;
}

.rating input {
display: none;
}

.rating label {
position: relative;
width: 0;
height: 128px;
cursor: pointer;
transition: 0.5s;
filter: grayscale(1);
text-align: center;
opacity: 0;
}

.rating:hover label {
width: 160px;
opacity: 0.2;
}

.rating input:hover+label,
.rating input:checked+label {
filter: grayscale(0);
opacity: 1;
width: 160px;
}

.rating label h4 {
color: #fff;
font-size: 24px;
padding-top: 10px;
font-weight: 500;
white-space: nowrap;
opacity: 0;
transform: translateY(-50px) scale(0);
transition: 0.5s;
}

.rating input:hover+label h4,
.rating input:checked+label h4 {
opacity: 1;
transform: translateY(0) scale(1);
}

.text {
position: absolute;
top: -80px;
left: 50%;
transform: translateX(-50%);
color: #fff;
width: 500px;
font-weight: 700;
letter-spacing: 2px;
text-align: center;
white-space: nowrap;
font-size: 36px;
}

0 comments on commit cd3860a

Please sign in to comment.