Frontend: More navbar scuffness
This commit is contained in:
parent
ec6a2c8dde
commit
6c5d3f4e79
@ -235,20 +235,45 @@
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar {
|
ul.navbar {
|
||||||
|
/* position: fixed; */
|
||||||
background-color: aqua;
|
background-color: aqua;
|
||||||
position: fixed;
|
/* position: fixed; */
|
||||||
display: inherit;
|
/* height: 10vh;
|
||||||
height: 10vh;
|
width: 100%; */
|
||||||
width: 100%;
|
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
list-style-type: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar a {
|
.navbar li {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar li a {
|
||||||
|
display: block;
|
||||||
|
padding: 0.5rem;
|
||||||
|
background-color: #dddddd;
|
||||||
|
height: 10vh;
|
||||||
|
}
|
||||||
|
.navbar li img {
|
||||||
|
display: block;
|
||||||
|
padding: 0.5rem;
|
||||||
|
background-color: #dddddd;
|
||||||
|
height: 10vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* .navbar a {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding-left:5rem;
|
padding-left:5rem;
|
||||||
padding-right:5rem;
|
padding-right:5rem;
|
||||||
|
|
||||||
|
} */
|
||||||
|
|
||||||
|
.float-right {
|
||||||
|
float : right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.colLeft {
|
.colLeft {
|
||||||
|
|||||||
@ -6,13 +6,14 @@ import Board from '@/components/board'
|
|||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className={styles.navbar}>
|
<ul className={styles.navbar}>
|
||||||
<Image src={nextSvg} width={200} height={50} alt={"Zilla"}></Image>
|
<li><Image src={nextSvg} alt={"Zilla"}></Image></li>
|
||||||
<a href="/html/">HTML</a>
|
<li><a href="/html/">HTML</a></li>
|
||||||
<a href="/css/">CSS</a>
|
<li><a href="/css/">CSS</a></li>
|
||||||
<a href="/js/">JavaScript</a>
|
<li><a href="/js/">JavaScript</a></li>
|
||||||
<a href="/python/">Python</a>
|
<li><a href="/python/">Python</a></li>
|
||||||
</div>
|
<li style={{float: "right"}}><a href="/python/">About</a></li>
|
||||||
|
</ul>
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
<div className={styles.colLeft}>
|
<div className={styles.colLeft}>
|
||||||
<h2>Side Content</h2>
|
<h2>Side Content</h2>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user