Skip to content

Commit

Permalink
2024/04/18,13:29
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicamon committed Apr 18, 2024
1 parent 9f796fa commit 78b05ee
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 34 deletions.
29 changes: 14 additions & 15 deletions css/card.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
.card {
height: 25%;
width: 40%;
height: 25vmin;
width: 40vmax;
margin: 3% auto;
border-radius: 30px;
display: flex;
justify-content: space-between;
/* justify-content: space-between; */
justify-content: center;
align-items: center;
padding-top: 1%;
padding-left: 5%;
padding-right: 5%;
border: 1px,solid,rgba(255, 255, 255, 0.6);
box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.1);
border: 1px, solid, rgba(255, 255, 255, 0.6);
}

.card>* {
height: 90%;
width: 30%;
height: 22.5vmin;
width: 12vmax;
}

.card>.head-img {
Expand All @@ -24,8 +25,8 @@
.card>.head-img>.img-l,
.card>.head-img>.img-y {
margin: 0 auto;
width: 90%;
height: 80%;
width: 16.4vmin;
height: 16.4vmin;
border-radius: 50%;
}

Expand All @@ -49,19 +50,17 @@
}

.card>.heart {
/* background-color: black; */
width: 180px;
height: 180px;
display: flex;
width: 20vmin;
height: 20vmin;
justify-content: center;
align-items: center;
animation: HeaBeat 2s linear infinite;
}

.card>.heart>.ani {
width: 20%;
height: 20%;
margin-top: 10%;
width: 4vmin;
height: 4vmin;
background-color: red;
transform: rotate(45deg);
}
Expand Down
10 changes: 10 additions & 0 deletions css/clover.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,13 @@ body {
transform: rotate(360deg);
}
}

.love-letter {
position: absolute;
width: 50vmin;
height: 30vmax;
border-radius: 20px;
background-color: rgba(192, 192, 192, 0.5);
/* backdrop-filter: blur(5px); */
box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.1);
}
2 changes: 1 addition & 1 deletion css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
position: sticky;
top: 0px;
width: 100%;
height: 6%;
height: 6vh;
align-items: center;
display: flex;
position: relative;
Expand Down
4 changes: 2 additions & 2 deletions css/page.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.page {
width: 100%;
height: 45%;
height: 45vh;
margin-top: 10%;
background-color: #ffffff;
background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
Expand Down Expand Up @@ -49,7 +49,7 @@
display: flex;
justify-content: center;
align-items: center;
width: 15%;
width: 15vmax;
height: 100px;
background-color: #f6f6f7;
border-radius: 20px;
Expand Down
5 changes: 3 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
}

body {
height: 100vh;
/* height: 100vh; */
width: 100vw;
overflow-y: hidden;
overflow-x: hidden;
justify-content: center;
background-image: url(../static/background.jpg);
/* align-items: center; */
Expand All @@ -17,4 +17,5 @@ body {
.frosted-glass {
background-color: rgba(192, 192, 192, 0.5);
backdrop-filter: blur(5px);
box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.1);
}
32 changes: 18 additions & 14 deletions pages/clover.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>love</title>
<link href="../css/clover.css" rel="stylesheet">
</head>
<body>
<div class="box">
<div class="clover"></div>
<div class="clover"></div>
<div class="clover"></div>
<div class="clover"></div>
</div>
</body>

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>love</title>
<link href="../css/clover.css" rel="stylesheet">
</head>

<body>
<div class="box">
<div class="clover"></div>
<div class="clover"></div>
<div class="clover"></div>
<div class="clover"></div>
</div>
<div class="love-letter frosted-glass"></div>
</body>

</html>

0 comments on commit 78b05ee

Please sign in to comment.