Files
blog/client/src/styles/main.scss
2024-12-01 13:17:12 +00:00

66 lines
1.2 KiB
SCSS

$primary-color: #2c3e50;
$secondary-color: #3498db;
$background-color: #f5f6fa;
$text-color: #2c3e50;
$border-color: #dcdde1;
body {
background-color: $background-color;
color: $text-color;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.post-editor {
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
margin-bottom: 20px;
input[type="text"] {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid $border-color;
border-radius: 4px;
}
.tags-input {
margin-bottom: 20px;
.tag {
display: inline-block;
background: $secondary-color;
color: white;
padding: 5px 10px;
border-radius: 15px;
margin-right: 10px;
margin-bottom: 5px;
.remove {
margin-left: 5px;
cursor: pointer;
}
}
}
.button {
background: $primary-color;
color: white;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
margin-right: 10px;
&.draft {
background: $secondary-color;
}
}
}