tp 3 / tp 4
This commit is contained in:
@@ -6,32 +6,53 @@ Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css
|
||||
Created on : 15 sept. 2025, 14:59:25
|
||||
Author : steve.maingana
|
||||
*/
|
||||
|
||||
:root {
|
||||
--primary-color: #cc0000;
|
||||
--secondary-color: #990000;
|
||||
--font-style: "Comic Relief", system-ui;
|
||||
}
|
||||
body {
|
||||
background-color: whitesmoke;
|
||||
|
||||
margin: 0;
|
||||
font-style: var(--font-style);
|
||||
}
|
||||
nav {
|
||||
display: flex;
|
||||
background-color: var(--primary-color);
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding: 1.2rem;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
nav ul {
|
||||
color: white;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
nav ul li {
|
||||
nav a {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
form {
|
||||
margin: 2rem;
|
||||
background: #333333;
|
||||
text-align: center;
|
||||
margin: 8rem;
|
||||
padding: 2rem;
|
||||
background-color: var(--secondary-color);
|
||||
border-radius: 8px;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
form label {
|
||||
margin: auto;
|
||||
padding-bottom: 1rem;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
Reference in New Issue
Block a user