notes/style.css

133 lines
1.7 KiB
CSS

/* globals */
body {
margin-left: 7%;
margin-right: 7%;
}
a {
color: inherit;
}
input {
outline: none;
border: none;
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: inherit;
}
/* scrollbars */
:root
{
scrollbar-width: thin;
scrollbar-color: lightgray;
}
body::-webkit-scrollbar {
height: 7px;
width: 7px;
background-color: darkgray;
}
body::-webkit-scrollbar-thumb {
background-color: lightgray;
border-radius: 10px;
}
/* note page and editor */
#notepage {
width: 100%;
}
#md {
outline: none;
border: none;
width: 100%;
color: inherit;
resize: none;
font-family: inherit;
font-size: inherit;
line-height: inherit;
background-color: inherit;
/* coloring */
position: absolute;
top: 0;
left: 0;
padding: 0;
}
#notecontent {
position: relative;
}
#colored {
position: absolute;
white-space: pre-wrap;
top: 0;
left: 0;
z-index: -1;
width: 100%;
word-wrap:break-word;
}
#network {
position: absolute;
top: 0;
width: 100%;
height: 100%;
opacity: 1;
}
/* top bar content */
#topbar {
height: 50px;
width: 100%;
}
#title {
width: 100%;
font-size: 20px;
background-color: inherit;
height: 100%;
font-weight: bold;
}
/* search file dialog */
#filter {
color: black;
background-color: lightgray;
}
#searchdialog {
color: black;
background-color: lightgray;
position: absolute;
top: 0;
left: 10%;
opacity: 1;
width: 80%;
z-index: 2;
font-family: "Segoe UI";
font-size: 14px;
}
.searchitem {
cursor: pointer;
margin: 2px 2px 2px 2px;
}
.selected {
cursor: pointer;
background-color: darkgray;
margin: 2px 2px 2px 2px;
}