velxio/frontend/src/App.css

108 lines
1.6 KiB
CSS
Raw Normal View History

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: #1e1e1e;
color: #fff;
}
.app {
height: 100vh;
display: flex;
flex-direction: column;
}
.app-header {
background-color: #2d2d2d;
padding: 15px 20px;
border-bottom: 2px solid #007acc;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.header-title h1 {
font-size: 24px;
margin-bottom: 5px;
color: #007acc;
}
.header-title p {
font-size: 14px;
color: #aaa;
}
.app-header h1 {
font-size: 24px;
margin-bottom: 5px;
color: #007acc;
}
.app-header p {
font-size: 14px;
color: #aaa;
}
.examples-link {
padding: 10px 20px;
background-color: #007acc;
color: #fff;
text-decoration: none;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 8px;
}
.examples-link:hover {
background-color: #005a9e;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
}
.app-container {
flex: 1;
display: flex;
overflow: hidden;
}
.editor-panel {
flex: 1;
display: flex;
flex-direction: column;
border-right: 1px solid #444;
}
.editor-wrapper {
flex: 1;
overflow: hidden;
}
.simulator-panel {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
@media (max-width: 768px) {
.app-container {
flex-direction: column;
}
.editor-panel {
border-right: none;
border-bottom: 1px solid #444;
}
}