Skip to content

Commit bd6f4ad

Browse files
committed
Shifted AboutMe CSS
Move, resize, and adjust a bit better to different resolutions
1 parent f7047a3 commit bd6f4ad

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Public/style/gitPage_aboutMeStyle.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
.gitAboutMePageStyle{
55
position: fixed;
6-
top: 7vmax;
6+
bottom: 4vmin;
77
left: calc(min(max(2vmax,(100vw - 700px) / 10), max(50vw - 300px, 2vmax)));
88
max-width: calc(100vw - 6vmax);
99
width: calc(max(1000px, 45vw));
10-
max-height: calc(100vh - 15vmax);
10+
max-height: calc(min(91vh, 100vh - 7vmax));
1111
justify-self: center;
1212
justify-items: center;
1313
z-index: 6;
@@ -20,7 +20,7 @@
2020

2121
.gitAboutMePageInnerStyle{
2222
max-width: calc(100vw - 6vmax - var(--inner-padding));
23-
max-height: calc(100vh - 15vmax - var(--inner-height-reduce));
23+
max-height: calc(min(91vh, 100vh - 7vmax - var(--inner-height-reduce)));
2424
padding: var(--inner-padding);
2525
border-radius: 2px;
2626
background-color: rgba(65, 65, 65, 0.3);

docs/style/gitPage_aboutMeStyle.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
.gitAboutMePageStyle{
55
position: fixed;
6-
top: 7vmax;
6+
bottom: 4vmin;
77
left: calc(min(max(2vmax,(100vw - 700px) / 10), max(50vw - 300px, 2vmax)));
88
max-width: calc(100vw - 6vmax);
99
width: calc(max(1000px, 45vw));
10-
max-height: calc(100vh - 15vmax);
10+
max-height: calc(min(91vh, 100vh - 7vmax));
1111
justify-self: center;
1212
justify-items: center;
1313
z-index: 6;
@@ -20,7 +20,7 @@
2020

2121
.gitAboutMePageInnerStyle{
2222
max-width: calc(100vw - 6vmax - var(--inner-padding));
23-
max-height: calc(100vh - 15vmax - var(--inner-height-reduce));
23+
max-height: calc(min(91vh, 100vh - 7vmax - var(--inner-height-reduce)));
2424
padding: var(--inner-padding);
2525
border-radius: 2px;
2626
background-color: rgba(65, 65, 65, 0.3);

0 commit comments

Comments
 (0)