XeNote/styles/webflow-layout.css
2020-11-30 14:29:34 +03:00

309 lines
6.8 KiB
CSS

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 {
box-sizing: inherit;
font-family: GT-Walsheim, "Neue Helvetica W02", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 18px;
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;
}
ul, ol {padding-left: 16px;}
a {text-decoration: none;color:#222 !important}
a.internal {
color: #131313 ;
background-color: transparent !important;
background-image: linear-gradient(transparent 0%,transparent calc(50% - 9px),rgba(0,255,0,0.35) calc(50% - 9px), rgba(0,255,0,0.35) 100%);
background-position: 0px 0px;
background-size: 100% 200%;
font-weight: bold;
border-radius: 4px;
padding: 2px 4px;
transition: all 0.2s ease-out;
}
a.internal:hover {
color:#131313;
background-image:
linear-gradient(transparent 0%,transparent calc(50% - 9px),
rgba(0, 255, 85, 0.7) calc(50% - 9px));
background-position: 0px 100%;
}
.main a:not(.internal) {
color: #131313 ;
background-color: transparent !important;
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%);
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;
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%);
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;
background-color: #29203d;
border-radius: 8px;
box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.3);
}
#side-graph-box {
width: 100%;
margin-top: 32px;
margin-bottom:64px;
/*
min-height:250px;
*/
background-color: #29203d;
border-radius: 8px;
box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.3);
}
#side-graph-box label {
margin: 32px 0 !important;
}
.jsnx .node-label { fill: white !important;font-size:12px;}
.jsnx g.node {height:60px !important;}
pre code {padding:16px !important; border-radius: 8px;}
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);}
.sidebar h3,.sidebar h4 {margin-top:16px;}
.w-nav-brand {color:#333333; text-decoration: none;}
#nav-button {cursor: pointer; margin-left: 16px;}
#nav-icon { cursor: pointer; margin-left: 16px;}
/* -----------------------*/
.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 {
position: fixed;
left: 0px;
z-index: 5;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
height: 100%;
min-height: 100vh;
min-width: 350px;
padding: 32px 16px;
-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;
}
.main {
position: relative;
left: 350px;
z-index: 0;
width: 100%;
min-height: 100vh;
padding: 32px 32px;
overflow-wrap: break-word;
}
.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 {
position: absolute;
left: 0px;
}
.main {
padding-right: 32px;
padding-left: 32px;
}
.navbar {
display: none;
z-index: 5 !important;
}
}
@media screen and (min-width: 767px) {
.sidebar {left: 0 !important;}
.main {width: calc(100% - 350px);}
}
@media screen and (max-width: 767px) {
.sidebar {
position: fixed;
top:0;
z-index: 1;
left: -350px;
box-shadow: 3px 3px 8px -2px rgba(0, 0, 0, 0.3);
padding-top:96px;
}
.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;
}
#navbar {
position: relative;
z-index: 5 !important;
}
.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;
}
}