Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit749c3fc

Browse files
committed
Login message
1 parent899b7b9 commit749c3fc

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

‎res/styles/styles.css‎

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ nav h1 a {
3030
color: white;
3131
}
3232

33-
navh1:hover {
34-
text-decoration: underline;
35-
}
3633

3734
navul {
3835
list-style: none;
@@ -46,10 +43,18 @@ nav ul {
4643
navullia {
4744
text-decoration: none;
4845
color: white;
46+
transition:0.3s;
47+
}
48+
49+
navullia:hover {
50+
color:#ccc;
51+
text-decoration: underline;
4952
}
5053

5154
navulliinput {
5255
padding:5px;
56+
outline:0;
57+
border:1px solid#ccc;
5358
}
5459

5560
header {
@@ -136,15 +141,18 @@ footer {
136141
flex-direction: row;
137142
gap:30px;
138143
margin-top:50px;
144+
padding:15px;
145+
align-items: center;
139146
}
140147

141148
footerdiv {
142149
flex:1;
150+
margin-left:5%;
143151
}
144152

145153
footerul {
146154
list-style: none;
147-
margin-left:100px;
155+
margin-right:5%;
148156
}
149157

150158
footerullia {
@@ -167,6 +175,10 @@ footer ul li a:hover {
167175
gap:20px;
168176
}
169177

178+
.errora {
179+
color: blue;
180+
}
181+
170182
.success {
171183
display: flex;
172184
background-color:rgb(160,226,160);
@@ -185,11 +197,16 @@ footer ul li a:hover {
185197

186198

187199
.post_header {
188-
padding:10px;
200+
padding:0px;
189201
display: flex;
190202
align-items: center;
191203
}
192204

205+
.post_headerh1 {
206+
text-transform: capitalize;
207+
margin-bottom:10px;
208+
}
209+
193210
.post_headerdiv:nth-child(1) {
194211
flex:1;
195212
}

‎src/login.php‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@
5050
$_SESSION["user_id"] =$user_id;
5151
$_SESSION["username"] =$username;
5252
$_SESSION["email"] =$email;
53-
54-
header("location: index.php");
53+
echo'
54+
<p class="success">
55+
You logged in successfully, redirecting...
56+
</p>';
57+
header("refresh: 0.6; URL=index.php");
5558
}
5659
}else {
5760
echo'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp