Advanced HTML & CSS
This commit is contained in:
79
Week-02/Day_02/style.css
Normal file
79
Week-02/Day_02/style.css
Normal file
@@ -0,0 +1,79 @@
|
||||
body {
|
||||
font-family: Arial;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 20px;
|
||||
max-width: 700px;
|
||||
margin: 40px auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
background: white;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.display {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
background: white;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
input, button {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
header {
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1px 4px rgba(0,0,0,0.06);
|
||||
padding: 12px 0;
|
||||
}
|
||||
header .nav ul {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
header .nav a {
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Footer / Pagination */
|
||||
footer {
|
||||
margin: 30px auto 50px;
|
||||
max-width: 700px;
|
||||
text-align: center;
|
||||
}
|
||||
.pagination {
|
||||
display: inline-flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
.pagination a {
|
||||
display: inline-block;
|
||||
padding: 6px 10px;
|
||||
background: #fff;
|
||||
border-radius: 4px;
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
.pagination a.active {
|
||||
background: #007acc;
|
||||
color: #fff;
|
||||
border-color: #007acc;
|
||||
}
|
||||
Reference in New Issue
Block a user