mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-11 04:43:11 +00:00
Start on fixing errors and semi-automatic setup
This commit is contained in:
parent
d897215023
commit
c3814000c0
10 changed files with 180 additions and 57 deletions
|
@ -736,29 +736,31 @@
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
& > img {
|
||||
margin-left: 0.5rem;
|
||||
|
||||
width: 7.813rem;
|
||||
height: 7.813rem;
|
||||
|
||||
object-fit: cover;
|
||||
|
||||
@if calc($rad - 0.5rem) > 0 {
|
||||
border-radius: calc($rad - 0.5rem);
|
||||
} @else {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
background-color: $black;
|
||||
}
|
||||
|
||||
form > * {
|
||||
margin: 0 0 0.5rem 0;
|
||||
}
|
||||
form > *:last-child {
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
& > img {
|
||||
margin-left: 0.5rem;
|
||||
|
||||
width: 8rem;
|
||||
height: 8rem;
|
||||
|
||||
object-fit: cover;
|
||||
|
||||
float: right;
|
||||
|
||||
@if calc($rad - 0.5rem) > 0 {
|
||||
border-radius: calc($rad - 0.5rem);
|
||||
} @else {
|
||||
border-radius: 3px;
|
||||
}
|
||||
background-color: $black;
|
||||
}
|
||||
|
||||
}
|
||||
@media (max-width: 621px) {
|
||||
.pfp-upload {
|
||||
|
@ -768,8 +770,8 @@
|
|||
& > img {
|
||||
margin: 0 auto 1rem;
|
||||
|
||||
width: 10rem;
|
||||
height: 10rem;
|
||||
width: 12rem;
|
||||
height: 12rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -971,4 +973,27 @@
|
|||
background-color: $bg;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.btn-code {
|
||||
color: #00000000;
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: "Hover to show code";
|
||||
color: $fg;
|
||||
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $fg;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue