erste article-Implementation
article-Interface & -Klasse + createArticle.php mit article.css (Editor) + neuer "Beitrag erstellen"-Button in Navbar
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
/* editor in Flexbox */
|
||||
.wp-editor-scope.editor-container {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
color: #1e1e1e;
|
||||
background-color: #f0f2f5;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.wp-editor-scope * {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Hauptbereich */
|
||||
.wp-editor-scope .editor-main {
|
||||
flex: 1;
|
||||
padding: 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.wp-editor-scope #post-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
border: none;
|
||||
outline: none;
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.wp-editor-scope #post-content {
|
||||
flex: 1;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6;
|
||||
border: none;
|
||||
outline: none;
|
||||
resize: none;
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Seitenleiste */
|
||||
.wp-editor-scope .editor-sidebar {
|
||||
width: 300px;
|
||||
background-color: #ffffff;
|
||||
border-left: 1px solid #e0e0e0;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.wp-editor-scope .sidebar-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.wp-editor-scope .sidebar-block label {
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.wp-editor-scope .required {
|
||||
color: #d94f4f;
|
||||
}
|
||||
|
||||
/* Formularelemente innerhalb der Editor-Sidebar */
|
||||
.wp-editor-scope .editor-sidebar select,
|
||||
.wp-editor-scope .editor-sidebar input[type="text"] {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
font-size: 0.9rem;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
/* Button-Zeugs */
|
||||
.wp-editor-scope .btn-publish {
|
||||
background-color: #007cba;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 12px;
|
||||
border-radius: 4px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-editor-scope .btn-publish:hover {
|
||||
background-color: #006ba1;
|
||||
}
|
||||
Reference in New Issue
Block a user