diff --git a/docs/index.css b/docs/index.css index d594706..3b039ba 100644 --- a/docs/index.css +++ b/docs/index.css @@ -5,6 +5,12 @@ body { background-size: auto; background-repeat: no-repeat; background-attachment: fixed; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + text-align: center; + overflow: hidden; } @font-face { @@ -19,16 +25,55 @@ body { --font-size-sm: 14px; --color-aliceblue-100: #f3f8ff; --br-5xs: 8px; + --color-download: #00a7ff; + --color-github: #333; } -.download-now { - position: relative; - font-size: var(--font-size-sm); - line-height: 19px; - font-weight: 600; +.container { + display: flex; + align-items: center; + justify-content: center; + flex-direction: row; + width: 100%; + max-width: 1200px; + padding: 20px; font-family: var(--font-poppins); - color: var(--color-aliceblue-100); - text-align: center; +} + +.ms-365-electron { + display: flex; + flex-direction: column; + align-items: flex-start; + justify-content: center; + width: 50%; + text-align: left; +} + +.heading { + font-size: 85px; + line-height: 90px; + color: #292e37; + margin-bottom: 10px; +} + +.byagam778 { + font-size: 38px; + line-height: 50px; + font-family: 'SF Pro Text',-apple-system,BlinkMacSystemFont,var(--font-san-francisco); + color: #00acff; + cursor: pointer; + margin-bottom: 10px; +} + +.description { + font-size: 20px; + margin-bottom: 20px; +} + +.buttons { + display: flex; + gap: 10px; + margin-bottom: 20px; } .download, @@ -37,155 +82,100 @@ body { border: 0; padding: 0; background-color: transparent; - position: absolute; - margin-top: 597px; border-radius: var(--br-5xs); width: 190px; height: 62px; display: flex; - flex-direction: column; align-items: center; justify-content: center; + transition: all 0.5ms ease; } .download { - margin-left: 172px; - background: linear-gradient(90.05deg, #45bfff 26.58%, #00a7ff); + background: linear-gradient(90.05deg, #45bfff 26.58%, var(--color-download)); box-shadow: 0 24px 30px -16px rgba(45, 183, 255, 0.25); } .github { - margin-left: 392px; - background: linear-gradient(90.05deg, #424242 26.58%, #333); + background: linear-gradient(90.05deg, #424242 26.58%, var(--color-github)); box-shadow: 0 24px 30px -16px rgba(66, 66, 66, 0.25); } -.description, -.heading { - position: absolute; - margin-top: 505px; - margin-left: 172px; - line-height: 26px; - display: inline-block; - width: 388px; +.download:hover { + background: transparent; + border: 3px solid var(--color-download); + color: black; } -.heading { - margin-top: 285px; - margin-left: 166px; - font-size: 85px; - line-height: 90px; - color: #292e37; - width: 461px; +.github:hover { + background: transparent; + border: 3px solid var(--color-github); + color: black; } -.byagam778 { - position: absolute; - margin-top: 219px; - margin-left: 170px; - font-size: 38px; - line-height: 50px; - font-family: 'SF Pro Text',-apple-system,BlinkMacSystemFont,var(--font-san-francisco); - color: #00acff; - cursor: pointer; +.download-now { + font-size: var(--font-size-sm); + line-height: 19px; + font-weight: 600; + color: var(--color-aliceblue-100); + transition: color 0.5s ease; } -.content, -.preview-icon { - position: absolute; - margin-top: -93px; - margin-left: 0; - width: 890px; - height: 834px; -} - -.content { - transform: translate(-50%, -50%); - margin-left: 30%; - margin-top: 21.5%; +.download:hover .download-now, +.github:hover .download-now { + color: black; } .preview-icon { - position: absolute; - margin-top: 23%; - margin-left: 68%; - transform: translate(-50%, -50%); - width: 708px; - height: 447px; + width: 50%; + max-width: 708px; + height: auto; object-fit: cover; -} - -.ms-365-electron { - width: 100%; - height: 696px; - flex-direction: column; - align-items: center; - justify-content: flex-start; - text-align: left; - font-size: 18px; - color: #525d73; - font-family: var(--font-poppins); + margin-left: 20px; } @media (max-width: 768px) { - .preview-icon { - width: 78%; - height: auto; - margin-top: 45%; - margin-left: 50%; - transform: translate(-50%, -50%); + .container { + flex-direction: column; } - .content { - margin-top: 77%; + .preview-icon { + width: 100%; + margin: 0; + margin-bottom: 20px; + } + + .ms-365-electron { + width: 100%; + text-align: center; + align-items: center; } .heading { - text-align: center; font-size: 30px; - height: auto; - margin-top: 56%; - margin-left: 59%; - transform: translate(-50%, -50%); + line-height: 36px; } .byagam778 { - text-align: center; - width: 100%; font-size: 26px; - height: auto; - margin-top: 50%; - margin-left: 59%; - transform: translate(-50%, -50%); } .description { - text-align: center; - width: 40%; - font-size: 20px; - height: auto; - margin-top: 65%; - margin-left: 59%; - transform: translate(-50%, -50%); + font-size: 18px; } + .download, .github { - text-align: center; - font-size: 20px; - margin-top: 85%; - margin-left: 59%; - transform: translate(-50%, -50%); - } - - .download { - text-align: center; - font-size: 20px; - margin-top: 77%; - margin-left: 59%; - transform: translate(-50%, -50%); + width: 160px; + height: 54px; + font-size: 16px; } .download-now { - font-size: 14px; + font-size: 12px; } -} \ No newline at end of file + + .buttons { + flex-direction: column; + } +} diff --git a/docs/index.html b/docs/index.html index f040045..db5ac88 100644 --- a/docs/index.html +++ b/docs/index.html @@ -26,22 +26,24 @@ /> -
-
- - +
+
+
By @agam778
+
MS-365-Electron
Unofficial Microsoft 365 Web Desktop Wrapper made with Electron
- MS-365-Electron -
By @agam778
+
+ + +
diff --git a/docs/loading/style.css b/docs/loading/style.css index 04cf293..a8b0be2 100755 --- a/docs/loading/style.css +++ b/docs/loading/style.css @@ -3,6 +3,8 @@ body { text-rendering: optimizeLegibility; font-family: "proxima-nova-soft", sans-serif; -webkit-user-select: none; + overflow: hidden; +} body .vertical-centered-box { position: absolute;