Skip to content

Commit 0712c62

Browse files
authored
Improved all separators and removed the unused emexOS homepage (as I was unable to port it to react)
1 parent 804b178 commit 0712c62

3 files changed

Lines changed: 12 additions & 293 deletions

File tree

docusaurus.config.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const config = {
126126
position: 'left',
127127
},
128128
{
129-
to: 'emexOS/docs', // Revert this to 'emexOS'
129+
to: 'emexOS/docs',
130130
label: 'emexOS',
131131
position: 'left',
132132
},
@@ -139,6 +139,7 @@ const config = {
139139
to: 'blog',
140140
label: 'Blog',
141141
position: 'left',
142+
className: 'navbar-separator'
142143
},
143144
/*{
144145
type: 'localeDropdown',
@@ -148,25 +149,25 @@ const config = {
148149
{
149150
to: 'emexMC',
150151
position: 'right',
151-
className: "navbar-icon emexmc",
152+
className: 'navbar-icon emexmc',
152153
'aria-label': 'emexMC',
153154
},
154155
{
155156
href: 'https://github.com/emexlab',
156157
position: 'right',
157-
className: "navbar-icon github",
158+
className: 'navbar-icon github',
158159
'aria-label': 'GitHub',
159160
},
160161
{
161162
href: 'https://discord.gg/H96bhkAHjB',
162163
position: 'right',
163-
className: "navbar-icon discord",
164+
className: 'navbar-icon discord',
164165
'aria-label': 'Discord',
165166
},
166167
{
167168
href: 'https://github.com/sponsors/emexlab',
168169
position: 'right',
169-
className: "navbar-icon sponsor",
170+
className: 'navbar-icon sponsor',
170171
'aria-label': 'Sponsor',
171172
},
172173
],

src/css/custom.css

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,8 @@ article:not(:has(> .markdown)), article > .markdown {
8383
}
8484

8585
.sections > * {
86-
border-left: 1px solid;
87-
border-right: 1px solid;
88-
border-image: linear-gradient(
89-
to bottom,
90-
transparent,
91-
gray 10%,
92-
gray 90%,
93-
transparent 100%
94-
) 1;
86+
border-left: 1px solid gray;
87+
border-right: 1px solid gray;
9588
flex: 1;
9689
margin: auto;
9790
display: flex;
@@ -116,15 +109,8 @@ article:not(:has(> .markdown)), article > .markdown {
116109
.sections > * {
117110
border-left: none;
118111
border-right: none;
119-
border-top: 1px solid;
120-
border-bottom: 1px solid;
121-
border-image: linear-gradient(
122-
to right,
123-
transparent,
124-
gray 10%,
125-
gray 90%,
126-
transparent 100%
127-
) 1;
112+
border-top: 1px solid gray;
113+
border-bottom: 1px solid gray;
128114
}
129115
.sections > *:first-child {
130116
border-top: none;
@@ -196,20 +182,6 @@ li:has(.navbar-icon) {
196182
margin-top: 1rem !important;
197183
}
198184

199-
/* Fix this for scrolling */
200-
li:has(.navbar-icon):not(li:has(.navbar-icon) ~ *)::before {
201-
content: "";
202-
display: inline-block;
203-
position: absolute;
204-
left: 0;
205-
transform: translate(5%, calc(-0.5rem + 1px));
206-
background: linear-gradient(
207-
to right,
208-
transparent,
209-
gray 10%,
210-
gray 90%,
211-
transparent 100%
212-
);
213-
height: 2px;
214-
width: 90%;
185+
li:has(.navbar-separator) {
186+
border-bottom: 2px solid gray;
215187
}

src/pages/emexOS/index.js

Lines changed: 0 additions & 254 deletions
This file was deleted.

0 commit comments

Comments
 (0)