XeNote/styles/webflow-layout.css

338 lines
7.8 KiB
CSS
Raw Normal View History

2020-11-28 15:45:01 +00:00
body {
font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
color: #333;
font-size: 14px;
line-height: 20px;
}
.body {
display: block;
padding-top: 0px;
padding-bottom: 0px;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
h1,
h2,
h3,
h4,
h5,
h6 {font-weight: bold;line-height: 1.6em;}
h5,h6 {font-weight: normal;}
h1 {font-size: 2.1rem;text-align: left;font-weight: bold; margin-bottom:32px; margin-top:64px; color:#222}
h2 {font-size: 1.9em;font-weight: bold; margin-top:64px; color:#333}
h3 {font-size: 1.5em;font-weight: bold; margin-top:48px; color:#444}
h4 {font-size: 1.3em;font-weight: bold; color:#444}
p, li {
2020-12-01 20:30:06 +00:00
padding-bottom: 4px;
padding-top: 4px;
2020-11-28 15:45:01 +00:00
box-sizing: inherit;
2020-12-01 03:28:42 +00:00
font-family: "Work Sans", sans-serif;
font-size: 20px;
font-weight: 500;
2020-11-28 15:45:01 +00:00
font-variant: common-ligatures;
line-height: 1.8;
text-size-adjust: inherit;
color:#222
}
p,a, li, h1, h2,h3,h4,h5,h6 {
overflow-wrap: break-word;
}
2020-12-01 03:28:42 +00:00
/*
2020-11-28 15:45:01 +00:00
ul, ol {padding-left: 16px;}
2020-12-01 03:28:42 +00:00
*/
2020-11-30 11:29:34 +00:00
2020-11-28 15:45:01 +00:00
a {text-decoration: none;color:#222 !important}
2020-12-01 03:28:42 +00:00
.main a.internal {
2020-11-28 15:45:01 +00:00
color: #131313 ;
background-color: transparent !important;
2020-12-01 03:28:42 +00:00
background-image: linear-gradient(transparent 0%,transparent calc(50% - 9px),rgba(0, 255, 85, 0.159) calc(50% - 9px),rgba(0, 255, 85, 0.159) 100%);
2020-11-28 15:45:01 +00:00
background-position: 0px 0px;
background-size: 100% 200%;
font-weight: bold;
border-radius: 4px;
padding: 2px 4px;
transition: all 0.2s ease-out;
}
2020-12-01 03:28:42 +00:00
.main a.internal:hover {
2020-11-28 15:45:01 +00:00
color:#131313;
2020-12-01 03:28:42 +00:00
background-image: linear-gradient(transparent 0%,transparent calc(40% - 9px),rgba(0, 255, 85, 0.159) calc(50% - 9px));
2020-11-28 15:45:01 +00:00
background-position: 0px 100%;
}
2020-11-30 11:29:34 +00:00
.main a:not(.internal) {
color: #131313 ;
background-color: transparent !important;
2020-12-01 03:28:42 +00:00
background-image: linear-gradient(transparent 0%,transparent calc(50% - 9px),rgba(75, 58, 225, 0.631) calc(50% - 9px),rgba(0,255,0,0.35) 100%);
2020-11-30 11:29:34 +00:00
background-position: 0px 0px;
background-size: 100% 200%;
font-weight: bold;
border-radius: 4px;
padding: 2px 4px;
transition: all 0.2s ease-out;
}
.main a.internal.new, .sidebar .main a.internal.new {
color: #131313 ;
background-color: transparent !important;
2020-12-01 03:28:42 +00:00
background-image: linear-gradient(transparent 0%,transparent calc(50% - 9px),rgba(250, 51, 54, 0.631) calc(50% - 9px),rgba(0,255,0,0.35) 100%);
2020-11-30 11:29:34 +00:00
background-position: 0px 0px;
background-size: 100% 200%;
font-weight: bold;
border-radius: 4px;
padding: 2px 4px;
transition: all 0.2s ease-out;
}
.test {
color: #5221c4;
}
#graph-box {
width: 100%;
margin-top: 32px;
margin-bottom:64px;
min-height:400px;
2020-12-01 03:28:42 +00:00
background-color: #dcdbdf;
2020-11-30 11:29:34 +00:00
border-radius: 8px;
2020-12-01 20:30:06 +00:00
box-shadow: 0 0px 4px -1px rgba(0, 0, 0, 0.9);
cursor: grab;
2020-11-30 11:29:34 +00:00
}
#side-graph-box {
width: 100%;
margin-top: 32px;
margin-bottom:64px;
/*
min-height:250px;
*/
background-color: #29203d;
border-radius: 8px;
2020-12-01 20:30:06 +00:00
box-shadow: 0 0px 8px 1px rgba(0, 0, 0, 0.3);
2020-11-30 11:29:34 +00:00
}
2020-11-28 15:45:01 +00:00
2020-11-30 11:29:34 +00:00
#side-graph-box label {
margin: 32px 0 !important;
}
2020-12-01 03:28:42 +00:00
2020-12-01 20:30:06 +00:00
.jsnx .node-node {fill: #5547d0 !important;}
2020-12-01 03:28:42 +00:00
.jsnx .node-node:hover {fill: blueviolet !important;}
.jsnx .node-label { fill: #333333 !important;font-size:12px; font-weight: bold;}
2020-11-30 11:29:34 +00:00
.jsnx g.node {height:60px !important;}
2020-12-01 20:30:06 +00:00
.jsnx .nde-edge { fill:black; stroke-width:2; stroke:black; }
2020-11-30 11:29:34 +00:00
pre code {padding:16px !important; border-radius: 8px;}
2020-11-28 16:36:28 +00:00
img {width:100%; height:auto; margin-top:16px; margin-bottom:48px; border-radius: 8px; box-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.3);}
2020-11-28 15:45:01 +00:00
.w-nav-brand {color:#333333; text-decoration: none;}
#nav-button {cursor: pointer; margin-left: 16px;}
#nav-icon { cursor: pointer; margin-left: 16px;}
2020-12-01 03:28:42 +00:00
.sidebar h3,.sidebar h4 {margin-top:0px;padding-bottom: 16px; border-bottom: 2px solid rgba(0, 0, 0, 0.05);}
.sidebar ul {list-style: none;}
.sidebar li {font-weight: bold; font-size: 14px;}
.sidebar li:hover {background-color: #fff;}
.sidebar li a.internal {display:block; width: 100% !important;padding-left: 16px; padding-right: 16px;}
2020-12-01 20:30:06 +00:00
main.main .main {max-width:800px;}
2020-12-01 03:28:42 +00:00
blockquote {
margin: 0;
padding-left: 3em;
border-left: 0.5em rgb(222, 223, 255) solid;
margin:16px 0;
}
2020-11-28 15:45:01 +00:00
/* -----------------------*/
.navigation-2 {
position: relative;
left: 0%;
top: 0%;
right: 0%;
bottom: auto;
z-index: 9;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
padding-right: 3%;
padding-left: 3%;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
border-bottom: 2px solid #2f85a5;
background-color: #0b1e25;
}
.sidebar {
2020-11-28 16:36:28 +00:00
position: fixed;
2020-11-28 15:45:01 +00:00
left: 0px;
z-index: 5;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
height: 100%;
min-height: 100vh;
2020-12-01 03:28:42 +00:00
min-width: 250px;
padding: 32px 0px;
2020-11-28 15:45:01 +00:00
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
border-right: 1px solid #999;
background-color: #f5f6f8;
color: #222;
}
2020-12-01 03:28:42 +00:00
.sidebar div { width: 100%; padding: 32px 0;}
.sidebar ul {
width: 100%;
padding:0;
}
.sidebar h3 {
padding-left: 16px;
padding-right: 16px;
}
2020-11-28 15:45:01 +00:00
.main {
position: relative;
2020-12-01 03:28:42 +00:00
left: 250px;
2020-11-28 15:45:01 +00:00
z-index: 0;
width: 100%;
min-height: 100vh;
2020-12-01 20:30:06 +00:00
padding: 32px 1vw;
2020-11-28 15:45:01 +00:00
overflow-wrap: break-word;
}
2020-12-01 20:30:06 +00:00
main.parent-main {display: flex;flex-direction: column;align-items: center; }
2020-11-28 15:45:01 +00:00
.section {
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
max-width: 100vw;
min-height: 50vh;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
}
.heading {
font-size: 20px;
line-height: 24px;
}
.navbar {
display: none;
}
@media screen and (max-width: 991px) {
.navigation-2 {
display: none;
}
.sidebar {
2020-12-01 03:28:42 +00:00
position: fixed;
2020-11-28 15:45:01 +00:00
left: 0px;
}
.navbar {
display: none;
2020-11-30 11:29:34 +00:00
z-index: 5 !important;
2020-11-28 15:45:01 +00:00
}
}
2020-11-30 11:29:34 +00:00
2020-11-28 15:45:01 +00:00
@media screen and (min-width: 767px) {
.sidebar {left: 0 !important;}
2020-12-01 20:30:06 +00:00
.main {width: calc(100% - 250px); padding-left: 4vw; padding-right: 4vw;}
}
@media screen and (min-width: 991px) {
.parent-main {width: calc(100% - 250px); padding-left: 10vw !important; padding-right: 10vw;}
2020-11-28 15:45:01 +00:00
}
@media screen and (max-width: 767px) {
.sidebar {
2020-11-30 11:29:34 +00:00
position: fixed;
top:0;
z-index: 1;
2020-12-01 03:28:42 +00:00
left: -250px;
2020-11-28 15:45:01 +00:00
box-shadow: 3px 3px 8px -2px rgba(0, 0, 0, 0.3);
2020-11-30 11:29:34 +00:00
padding-top:96px;
2020-11-28 15:45:01 +00:00
}
.main {
left: 0px;
}
.heading {
margin-top: 20px;
margin-bottom:24px;
margin-left: 32px;
}
.container {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
background-color: #ddd;
color: #333;
}
.navbar {
display: block;
background-color: #fff;
}
2020-11-30 11:29:34 +00:00
#navbar {
position: relative;
z-index: 5 !important;
}
2020-11-28 15:45:01 +00:00
.brand-3 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
padding-left: 0px;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
}