forked from piqah/DevWeb
105 lines
1.7 KiB
CSS
105 lines
1.7 KiB
CSS
/* Global */
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: #f0f4f8;
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
|
|
h1, h2 {
|
|
text-align: center;
|
|
color: #1a202c;
|
|
}
|
|
|
|
/* Navigation */
|
|
nav {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
nav a {
|
|
text-decoration: none;
|
|
color: #2b6cb0;
|
|
font-weight: bold;
|
|
margin: 0 10px;
|
|
}
|
|
nav a:hover {
|
|
color: #2c5282;
|
|
}
|
|
|
|
/* Formulaire */
|
|
form {
|
|
background: #fff;
|
|
padding: 20px;
|
|
max-width: 600px;
|
|
margin: 20px auto;
|
|
border-radius: 10px;
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
textarea, input[type="file"], input[type="text"], input[type="password"] {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-bottom: 15px;
|
|
border-radius: 6px;
|
|
border: 1px solid #cbd5e0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
button {
|
|
background-color: #2b6cb0;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 15px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
button:hover {
|
|
background-color: #2c5282;
|
|
}
|
|
|
|
/* Posts */
|
|
.post {
|
|
background: #fff;
|
|
margin: 15px auto;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
max-width: 600px;
|
|
box-shadow: 0 3px 8px rgba(0,0,0,0.08);
|
|
border-left: 5px solid #2b6cb0;
|
|
position: relative;
|
|
}
|
|
|
|
.post.admin {
|
|
border-left-color: #d53f8c;
|
|
background: #fff0f6;
|
|
}
|
|
|
|
.post img {
|
|
max-width: 100%;
|
|
margin-top: 10px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* IP & Timestamp */
|
|
.post .meta {
|
|
font-size: 12px;
|
|
color: #718096;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.post.admin .meta {
|
|
color: #97266d;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
text-align: center;
|
|
margin-top: 40px;
|
|
font-size: 12px;
|
|
color: #718096;
|
|
}
|