mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-21 10:54:55 +00:00
I don't remember what I done here
This commit is contained in:
parent
08d15c9253
commit
0536dfc62c
6 changed files with 45 additions and 6 deletions
|
@ -20,11 +20,13 @@
|
|||
.gallery-item {
|
||||
margin: 0.5rem; padding: 0;
|
||||
|
||||
max-width: 300px; height: 200px;
|
||||
max-width: 300px; height: auto;
|
||||
|
||||
background-color: var(--bg-2);
|
||||
border-radius: var(--rad);
|
||||
|
||||
position: relative;
|
||||
|
||||
flex: 1 0 150px;
|
||||
|
||||
transition: transform 0.15s cubic-bezier(.19,1,.22,1);
|
||||
|
@ -33,13 +35,46 @@
|
|||
transform: scale(1.1) rotate(5deg);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.gallery-item:after {
|
||||
content: "";
|
||||
display: block;
|
||||
padding-bottom: 100%;
|
||||
}
|
||||
|
||||
.gallery-image {
|
||||
margin: 0; padding: 0;
|
||||
|
||||
width: 100%; height: 100%;
|
||||
|
||||
top: 0; bottom: 0; left: 0; right: 0;
|
||||
|
||||
position: absolute;
|
||||
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
|
||||
border-radius: var(--rad);
|
||||
}
|
||||
|
||||
/*@media (max-width: 701px) {
|
||||
.gallery-item {
|
||||
margin: 0;
|
||||
|
||||
width: 33.33%; height: auto;
|
||||
|
||||
flex: none;
|
||||
|
||||
border-radius: 0;
|
||||
|
||||
transform: none;
|
||||
}
|
||||
.gallery-item:after {
|
||||
content: "";
|
||||
display: block;
|
||||
padding-bottom: 100%;
|
||||
}
|
||||
|
||||
.gallery-image {
|
||||
border-radius: 0;
|
||||
}
|
||||
}*/
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
height: 69vh;
|
||||
|
||||
position: relative;
|
||||
|
||||
transition: height 0.15s cubic-bezier(.19,1,.22,1);
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
--shadow: 6px 6px 10px #15151588;
|
||||
--rad: 5px;
|
||||
|
||||
--square: 33.33%;
|
||||
}
|
||||
|
||||
* {
|
||||
|
|
|
@ -33,7 +33,7 @@ nav hr {
|
|||
width: auto;
|
||||
justify-content: space-between;
|
||||
}
|
||||
@media (max-width: 450px) {
|
||||
@media (max-width: 569px) {
|
||||
.nav-name h3, .nav-name {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
?>
|
||||
|
||||
<div class="info-text center">
|
||||
<h1>Fluffys Super Duper Secrete Project!</h1>
|
||||
<p>Fluffy's test website on uploading images to a database!</p>
|
||||
<h1>Welcome!</h1>
|
||||
<p>*internal screaming*</p>
|
||||
</div>
|
||||
|
||||
<div class="gallery-root flex-left">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<nav class="nav-root flex-left between">
|
||||
<div class="nav-name flex-left">
|
||||
<h3>Fluffys Gallery!</h3>
|
||||
<h3>Fluffys Amazing Gallery!</h3>
|
||||
</div>
|
||||
<div class="nav-links flex-left">
|
||||
<a class="btn alert-default" href="https://superdupersecteteuploadtest.fluffybean.gay"><img class="svg" src="assets/icons/house.svg">Home</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue