127 lines
2.0 KiB
CSS
127 lines
2.0 KiB
CSS
body {
|
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
background-color: #f4f7f6;
|
|
color: #333;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: #ffffff;
|
|
border-bottom: 1px solid #e7e7e7;
|
|
padding: 1rem 2rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-weight: bold;
|
|
font-size: 1.5rem;
|
|
color: #007bff;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: #555;
|
|
text-decoration: none;
|
|
margin-left: 1.5rem;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: #007bff;
|
|
}
|
|
|
|
.container {
|
|
max-width: 960px;
|
|
margin: 2rem auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.card {
|
|
background-color: #ffffff;
|
|
border: 1px solid #e7e7e7;
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 1.25rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.card-meta {
|
|
font-size: 0.9rem;
|
|
color: #777;
|
|
}
|
|
|
|
.card-body p {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-control {
|
|
width: 100%;
|
|
padding: 0.75rem;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #007bff;
|
|
color: #ffffff;
|
|
border: 1px solid #007bff;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: #6c757d;
|
|
color: #ffffff;
|
|
border: 1px solid #6c757d;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
padding: 2rem 0;
|
|
margin-top: 2rem;
|
|
font-size: 0.9rem;
|
|
color: #777;
|
|
}
|
|
|
|
/* Vote buttons */
|
|
.vote-buttons {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.like-button, .dislike-button {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 1rem;
|
|
} |