Skip to content

Commit

Permalink
update stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
AbstractMelon committed May 6, 2024
1 parent 7e975b8 commit 93e2a4b
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 33 deletions.
36 changes: 3 additions & 33 deletions boplmaplist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,11 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bopl Maplist</title>
<style>
body {
background-color: rgba(0, 30, 62, 0.715);
}
.image-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
background-color: rgba(0, 30, 62, 0.715);
}
.image-grid-item {
position: relative;
overflow: hidden;
border: 1px solid #ccc;
border-radius: 5px;
width: 100%;
}
.image-grid-item img {
display: block;
width: 100%;
height: auto;
}
.image-number {
position: absolute;
bottom: 10px;
right: 10px;
background-color: rgba(255, 255, 255, 0.8);
padding: 8px;
border-radius: 5px;
}
</style>
<title>Bopl Map list</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>

<!-- <h1>Bopl map list</h1> -->
<div class="image-grid" id="image-grid">
</div>

Expand Down
51 changes: 51 additions & 0 deletions boplmaplist/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
body {
background: rgb(2,0,36);
background: linear-gradient(59deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
font-family: Arial, sans-serif;
}

h1 {
text-align: center;
text-color: #FFFFFF
}

.image-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
background: rgb(2,0,36);
background: linear-gradient(59deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
padding: 0px;
}

.image-grid-item {
position: relative;
overflow: hidden;
border: 3px solid #000000;
border-radius: 8px;
box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
}

.image-grid-item img {
display: block;
width: 100%;
height: auto;
transition: transform 0.3s ease;
}

.image-grid-item:hover img {
transform: scale(1.03);
}

.image-number {
position: absolute;
bottom: 10px;
right: 10px;
background-color: rgba(255, 255, 255, 0.8);
color: #001e3e;
padding: 8px;
border-radius: 5px;
font-size: 14px;
font-weight: bold;
/* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
}

0 comments on commit 93e2a4b

Please sign in to comment.