Skip to content

Commit 07c4f9b

Browse files
committed
commit fix css login and register
1 parent 3a0f325 commit 07c4f9b

File tree

4 files changed

+19
-25
lines changed

4 files changed

+19
-25
lines changed

Youdemy/.DS_Store

6 KB
Binary file not shown.

Youdemy/web/css/signin.css

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body {
2222
display: block;
2323
margin-left: auto;
2424
margin-right: auto;
25-
25+
2626
}
2727

2828
.form-signin .checkbox {
@@ -33,25 +33,19 @@ body {
3333
z-index: 2;
3434
}
3535

36-
.form-signin input[type="first"] {
36+
.top {
3737
margin-bottom: -1px;
3838
border-bottom-right-radius: 0;
3939
border-bottom-left-radius: 0;
4040
}
4141

42-
.form-signin input[type="last"] {
43-
margin-bottom: 10px;
44-
border-top-left-radius: 0;
45-
border-top-right-radius: 0;
42+
.middle {
43+
margin-bottom: -1px;
44+
border-radius: 0;
4645
}
4746

48-
.form-signin input[type="middle"] {
49-
margin-top: -1px;
50-
margin-bottom: -1px;
47+
.bottom {
48+
margin-bottom: 10px;
5149
border-top-left-radius: 0;
5250
border-top-right-radius: 0;
53-
border-bottom-right-radius: 0;
54-
border-bottom-left-radius: 0;
5551
}
56-
57-

Youdemy/web/login.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
<!-- Bootstrap core CSS -->
1414
<link href="../assets/dist/css/bootstrap.min.css" rel="stylesheet">
15-
15+
1616
<!-- Custom styles for this template -->
1717
<link href="css/signin.css" rel="stylesheet">
1818
</head>
1919

2020
<body>
21-
21+
2222
<header>
2323
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
2424
<div class="container-fluid">
@@ -72,11 +72,11 @@
7272
<h1 class="h3 mb-3 fw-normal">Sign in</h1>
7373

7474
<div class="form-floating">
75-
<input type="email" class="form-control" id="floatingInput" placeholder="[email protected]">
75+
<input type="email" class="form-control top" id="floatingInput" placeholder="[email protected]">
7676
<label for="floatingInput">e-mail</label>
7777
</div>
7878
<div class="form-floating mb-4">
79-
<input type="password" class="form-control" id="floatingPassword" placeholder="Password">
79+
<input type="password" class="form-control bottom" id="floatingPassword" placeholder="Password">
8080
<label for="floatingPassword">Password</label>
8181
</div>
8282
<button class="w-100 btn btn-lg btn-primary mb-3" type="submit">Sign in</button>
@@ -94,6 +94,6 @@ <h1 class="h3 mb-3 fw-normal">Sign in</h1>
9494
</footer>
9595
</main>
9696

97-
<script src="../assets/dist/js/bootstrap.bundle.min.js"></script>
97+
<script src="../assets/dist/js/bootstrap.bundle.min.js"></script>
9898
</body>
9999
</html>

Youdemy/web/register.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
<!-- Bootstrap core CSS -->
1414
<link href="../assets/dist/css/bootstrap.min.css" rel="stylesheet">
15-
15+
1616
<!-- Custom styles for this template -->
1717
<link href="css/signin.css" rel="stylesheet">
1818
</head>
1919

2020
<body>
21-
21+
2222
<header>
2323
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
2424
<div class="container-fluid">
@@ -72,19 +72,19 @@
7272
<h1 class="h3 mb-3 fw-normal">Sign Up</h1>
7373

7474
<div class="form-floating">
75-
<input type="first" class="form-control" id="floatingName" placeholder="name">
75+
<input type="first" class="form-control top" id="floatingName" placeholder="name">
7676
<label for="name">name</label>
7777
</div>
7878
<div class="form-floating">
79-
<input type="middle" class="form-control" id="floatingLastName" placeholder="[email protected]">
79+
<input type="middle" class="form-control middle" id="floatingLastName" placeholder="[email protected]">
8080
<label for="floatingInput">surname</label>
8181
</div>
8282
<div class="form-floating">
83-
<input type="middle" class="form-control" id="floatingEmail" placeholder="[email protected]">
83+
<input type="middle" class="form-control middle" id="floatingEmail" placeholder="[email protected]">
8484
<label for="floatingInput">e-mail</label>
8585
</div>
8686
<div class="form-floating mb-4">
87-
<input type="last" class="form-control" id="floatingPassword" placeholder="Password">
87+
<input type="last" class="form-control bottom" id="floatingPassword" placeholder="Password">
8888
<label for="floatingPassword">Password</label>
8989
</div>
9090
<button class="w-100 btn btn-lg btn-primary mb-3" type="submit">Sign up</button>
@@ -102,6 +102,6 @@ <h1 class="h3 mb-3 fw-normal">Sign Up</h1>
102102
</footer>
103103
</main>
104104

105-
<script src="../assets/dist/js/bootstrap.bundle.min.js"></script>
105+
<script src="../assets/dist/js/bootstrap.bundle.min.js"></script>
106106
</body>
107107
</html>

0 commit comments

Comments
 (0)