completly fix avatar position on smol screen
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
This commit is contained in:
parent
2712269132
commit
cda62654a0
2 changed files with 4 additions and 5 deletions
|
@ -46,13 +46,11 @@
|
|||
|
||||
/* breakpoint */
|
||||
@media only screen and (max-width: 640px) {
|
||||
.avatar {
|
||||
#avatar {
|
||||
position: absolute;
|
||||
width: calc(var(--font-size) * 4);
|
||||
transform: translate(
|
||||
calc(var(--font-size) * -19),
|
||||
calc(var(--font-size) * -3.7)
|
||||
);
|
||||
left: 10px;
|
||||
top: -30px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ a:hover {
|
|||
}
|
||||
|
||||
main {
|
||||
position: relative;
|
||||
color: var(--font-color);
|
||||
font-size: var(--font-size);
|
||||
padding: 2em 1em;
|
||||
|
|
Loading…
Reference in a new issue