Skip to content

Commit e727c6f

Browse files
author
Yanik Kumar
committed
Updaed navbar of about same as home
1 parent 5381fe3 commit e727c6f

1 file changed

Lines changed: 44 additions & 1 deletion

File tree

about.html

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777
gap: 1.1rem;
7878
background: transparent;
7979
box-shadow: none;
80+
flex-wrap: wrap;
81+
justify-content: center;
8082
}
8183
nav a,
8284
nav button {
@@ -195,6 +197,47 @@
195197
padding: 1.2em 0.5em 1em 0.5em;
196198
}
197199
}
200+
@media (max-width: 700px) {
201+
header {
202+
flex-direction: column;
203+
align-items: center;
204+
justify-content: flex-start;
205+
padding: 1.1rem 0.7rem 0.5rem 0.7rem;
206+
}
207+
.logo-row {
208+
justify-content: center;
209+
width: 100%;
210+
margin-bottom: 0.7em;
211+
}
212+
nav {
213+
flex-direction: row;
214+
flex-wrap: wrap;
215+
justify-content: center;
216+
width: 100%;
217+
gap: 0.7em;
218+
margin-bottom: 0.5em;
219+
padding: 0.5em 0;
220+
border-radius: 12px;
221+
box-shadow: var(--shadow);
222+
}
223+
nav a,
224+
nav button {
225+
justify-content: center;
226+
width: auto;
227+
min-width: 0;
228+
margin: 0;
229+
font-size: 1.13em;
230+
padding: 0.6em 0.9em;
231+
border-radius: 8px;
232+
}
233+
.sponsor-btn,
234+
.stars-btn,
235+
.toggle-btn {
236+
font-size: 1.13em;
237+
padding: 0.6em 0.9em;
238+
border-radius: 8px;
239+
}
240+
}
198241
</style>
199242
</head>
200243
<body>
@@ -209,7 +252,7 @@
209252
<span class="brand">SproutPHP</span>
210253
</div>
211254
<nav>
212-
<a href="index.html">Home</a>
255+
<a href="./index.html">Home</a>
213256
<a href="https://sproutphp.github.io/documentation/">Docs</a>
214257
<a
215258
href="https://github.com/sponsors/yanikkumar"

0 commit comments

Comments
 (0)