Skip to content

Commit

Permalink
2024/05/13,23:59
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicamon committed May 13, 2024
1 parent c9e4b4b commit 448a398
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 8 deletions.
7 changes: 6 additions & 1 deletion css/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
margin: 3% auto;
border-radius: 30px;
display: flex;
/* justify-content: space-between; */
justify-content: center;
align-items: center;
padding-top: 1%;
Expand Down Expand Up @@ -106,3 +105,9 @@
transform: scale(1);
}
}

@media(max-width: 768px) {
.card {
height: 35vmin;
}
}
22 changes: 17 additions & 5 deletions css/clover.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
body {
height: 100vh;
width: 100vw;
background-image: linear-gradient(to right, #FFC0CB, #ffffff);
background-image: linear-gradient(135deg, #FFC0CB, #ffffff);
overflow: hidden;
display: flex;
justify-content: center;
Expand All @@ -25,8 +25,8 @@ body {

.clover::before {
content: '';
width: 200px;
height: 200px;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: #bdd8cf;
position: absolute;
Expand All @@ -35,8 +35,8 @@ body {

.clover::after {
content: '';
width: 200px;
height: 200px;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: #bdd8cf;
position: absolute;
Expand Down Expand Up @@ -97,3 +97,15 @@ body {
font-weight: bolder;
color: #333333;
}

@media (max-width: 768px) {
.box {
width: 300px;
height: 300px;
}

.clover {
width: 100px;
height: 100px;
}
}
22 changes: 22 additions & 0 deletions css/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,25 @@
margin-left: 1%;
margin-right: 1%;
}

@media(max-width: 768px) {
.time {
padding-top: 10vmin;
}

.page>.time>#time {
padding-top: 10vmin;
}

.page>.jump {
flex-wrap: wrap;
flex-direction: column;
justify-content: space-between;
padding-top: 10vmin;
padding-bottom: 10vmin;
}

.page>.jump>a {
width: 60vmin;
}
}
2 changes: 0 additions & 2 deletions pages/story.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ <h2 class="endtitle">我们的故事,未完待续……</h2>

</div>



<script type="module" src="../scripts/timeline.js"></script>
</body>

Expand Down

0 comments on commit 448a398

Please sign in to comment.