Add menu css file

This commit is contained in:
Fred Boniface 2022-10-18 11:55:11 +01:00
parent f1e69afc42
commit eed9ef9bd2
2 changed files with 17 additions and 0 deletions

View File

@ -7,6 +7,7 @@
<link rel="icon" type="image/png" href="/images/favicon.png"> <link rel="icon" type="image/png" href="/images/favicon.png">
<link rel="stylesheet" href="./style/fonts.css"> <link rel="stylesheet" href="./style/fonts.css">
<link rel="stylesheet" href="./style/new_style.css"> <link rel="stylesheet" href="./style/new_style.css">
<link rel="stylesheet" href="/style/new_menu.css">
<title>Home</title> <title>Home</title>
</head> </head>
<body> <body>

16
style/new_menu.css Normal file
View File

@ -0,0 +1,16 @@
.menubar {
background-color: darkslategrey;
color: azure;
position: fixed;
top: 0;
left: 0;
width: 100%;
}
@media screen and (min-width: 800px) {
.menubar {
position: -webkit-sticky;
position: sticky;
top: 0px;
}
}