fix some css issues
This commit is contained in:
@ -1,7 +1,45 @@
|
||||
:root {
|
||||
--bg: #ebdbb2;
|
||||
--fg: #282828;
|
||||
}
|
||||
body {
|
||||
background-color: #ebdbb2;
|
||||
background-color: var(--bg);
|
||||
color:#282828;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
header {
|
||||
padding-top: 10px;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
background-color: var(--bg);
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 100000;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
overflow: clip;
|
||||
|
||||
> nav {
|
||||
border-bottom: 1px solid var(--fg);
|
||||
width: 100%;
|
||||
|
||||
> ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: flex-start;
|
||||
list-style-type: none;
|
||||
|
||||
> li {
|
||||
padding: 10px;
|
||||
|
||||
> h1 {
|
||||
display: inline
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user