Skip to content

Commit

Permalink
Fix (#75)
Browse files Browse the repository at this point in the history
* 优化登录页

* Fix build failed
  • Loading branch information
Cairry authored Dec 12, 2024
1 parent 029b839 commit 8fc3151
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-nginx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.15.0-alpine3.17 as build
FROM node:18.20.3-alpine3.20 as build

RUN mkdir /app

Expand Down
126 changes: 125 additions & 1 deletion src/utils/login.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

Expand All @@ -10,6 +9,131 @@
fill: white;
}

* {
scrollbar-width: none;
-ms-overflow-style: none;
}

.font-bold {
font-weight: 700;
}

.text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}

.mb-2 {
margin-bottom: 0.5rem;
}

.p-10 {
padding: 2.5rem;
}

.flex-col {
flex-direction: column;
}

.w-3\/5 {
width: 60%;
}

.flex {
display: flex
;
}

* {
scrollbar-width: none;
-ms-overflow-style: none;
}

*, ::before, ::after {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
}

::before, ::after {
--tw-content: '';
}

*, ::before, ::after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}

.transition-colors {
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}

.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}

.py-3 {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}

.rounded-full {
border-radius: 9999px;
}

.w-full {
width: 100%;
}

body {
margin:0px
}
Expand Down

0 comments on commit 8fc3151

Please sign in to comment.