mirror of
https://github.com/ION606/static-site-hosting.git
synced 2026-05-14 22:16:54 +00:00
added mobile layout
This commit is contained in:
+31
-11
@@ -319,24 +319,44 @@ button:hover,
|
||||
}
|
||||
|
||||
#editor-container {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
border: 1px solid #ddd;
|
||||
margin-top: 20px;
|
||||
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
|
||||
transform: translateY(-100%);
|
||||
opacity: 0;
|
||||
display: none; /* Initially hidden */
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
border: 1px solid #ddd;
|
||||
margin-top: 20px;
|
||||
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
|
||||
transform: translateY(-100%);
|
||||
opacity: 0;
|
||||
display: none;
|
||||
/* Initially hidden */
|
||||
}
|
||||
|
||||
#editor-container.visible {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
display: block; /* Display when visible */
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
display: block;
|
||||
/* Display when visible */
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.file-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.site-card {
|
||||
padding: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user