update
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
.settings {
|
||||
@@ -41,13 +42,14 @@
|
||||
}
|
||||
|
||||
.group {
|
||||
margin-bottom: 20px; /* Reduced margin between groups */
|
||||
margin-bottom: 15px; /* Reduced margin between groups */
|
||||
}
|
||||
|
||||
.group-title {
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
margin-top: 10px; /* Reduced margin above group title */
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.group-icon {
|
||||
@@ -89,34 +91,139 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.router div {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.router p {
|
||||
font-size: 14px;
|
||||
margin: 5px 0 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 20px; /* Added padding to the left and right of the webpage */
|
||||
padding-bottom: 60px
|
||||
}
|
||||
|
||||
/* List mode styles */
|
||||
.list-mode .content {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.list-mode .group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 1 calc(33.333% - 40px); /* Adjusted for new margin */
|
||||
max-width: calc(33.333% - 40px); /* Adjusted for new margin */
|
||||
margin: 0 15px 15px 15px;
|
||||
}
|
||||
|
||||
.list-mode .group-title {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.list-mode .router-container {
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.list-mode .router {
|
||||
max-width: 100%;
|
||||
margin: 1px 0; /* Adjusted margin between routers */
|
||||
}
|
||||
|
||||
.router:first-child {
|
||||
margin-top: 15px; /* Adjusted margin between routers */
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
padding: 10px 0;
|
||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.search-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
border-radius: 20px;
|
||||
padding: 5px 10px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
|
||||
.search-bar i {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#clear-search, #start-search {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.search-bar input {
|
||||
width: 100%;
|
||||
border: none;
|
||||
background: none;
|
||||
outline: none;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 1024px) {
|
||||
.router {
|
||||
body:not(.list-mode) .router {
|
||||
flex: 1 1 calc(50% - 40px); /* Adjusted for new margin */
|
||||
max-width: calc(50% - 40px); /* Adjusted for new margin */
|
||||
}
|
||||
|
||||
.list-mode .group {
|
||||
flex: 1 1 calc(50% - 40px); /* Adjusted for new margin */
|
||||
max-width: calc(50% - 40px); /* Adjusted for new margin */
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.router {
|
||||
body:not(.list-mode) .router {
|
||||
flex: 1 1 calc(50% - 40px); /* Adjusted for new margin */
|
||||
max-width: calc(50% - 40px); /* Adjusted for new margin */
|
||||
}
|
||||
|
||||
.list-mode .group {
|
||||
flex: 1 1 calc(50% - 40px); /* Adjusted for new margin */
|
||||
max-width: calc(50% - 40px); /* Adjusted for new margin */
|
||||
}
|
||||
.header h1 {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.router {
|
||||
body:not(.list-mode) .router {
|
||||
flex: 1 1 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.list-mode .group {
|
||||
flex: 1 1 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
.router:first-child {
|
||||
margin-top: 1px; /* Adjusted margin between routers */
|
||||
}
|
||||
.header h1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user