Skip to content
Snippets Groups Projects
Commit dc4734df authored by Haidar's avatar Haidar
Browse files

style: add styling for responsive

hall of fame admin page
parent d4d2d03c
Branches
No related merge requests found
body {
background-color: white;
background-image: url('../img/basic-wallpaper5.jpeg');
text-align: center;
font-family: Arial, sans-serif;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center center;
}
.back {
background-color: #007BFF;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 3px;
font-size: 18px;
cursor: pointer;
margin-top: 21px;
}
#form {
font-family: Arial, sans-serif;
padding: 0;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
margin-bottom: 20px;
max-width: 40%;
margin-left: 400px;
}
.center-content {
background-color: #ffffff;
margin: 50px auto 20px auto;
max-width: 80%;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
text-align: center;
border-radius: 5px;
}
h1 {
......@@ -28,13 +37,18 @@ h1 {
.form-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 40px;
grid-template-columns: 1fr;
gap: 20px;
}
.form-group {
margin-right: 10px;
}
label {
display: block;
margin-bottom: 5px;
margin-bottom: 10px;
font-weight: bold;
color: #007BFF;
}
......@@ -44,13 +58,12 @@ input[type="email"],
input[type="password"],
input[type="checkbox"] {
width: 100%;
max-width: 300px;
padding: 8px;
border: 3px solid #ccc;
border-radius: 3px;
font-size: 16px;
color: #333;
margin-bottom: 8px;
margin-bottom: 15px;
}
input[type="submit"] {
......@@ -68,3 +81,18 @@ input[type="submit"] {
margin-bottom: 20px;
text-align: center;
}
@media (min-width: 768px) {
#form {
max-width: 40%;
margin-left: 400px;
margin-top: 50px;
}
.form-grid {
grid-template-columns: repeat(2, 1fr);
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment