mrkdown
Version:
Markdown files to HTML static site generator - angular.js app
592 lines (500 loc) • 9.1 kB
CSS
body {
padding: 0;
margin: 0;
font-size: 16px ;
color: #505050 ;
}
.h3,
h3,
.h2,
h2 {
font-size: 24px;
margin-top: 35px;
}
.h1,
h1,
.h3,
h3,
.h2,
h2 {
color: #673ab7;
}
#mdContent {
line-height: 1.8;
}
* {
box-sizing: border-box;
/* font-family: 'Roboto Mono', monospace; */
/* font-family: 'Inconsolata', monospace; */
/* font-family: 'Arvo', serif; */
/* font-family: 'Inter', sans-serif; */
font-family: "Rubik", sans-serif;
}
.brand-name {
font-size: 18px;
padding: 10px;
background: #80808026;
margin-bottom: 10px;
border-radius: 5px;
margin-left: 5px;
margin-right: 5px;
margin-top: 10px;
font-family: "Metamorphous", cursive;
}
.top_menu {
border-bottom: 1px solid #e6e6e6;
}
.top_menu .navbar {
background: transparent;
border: none;
margin: 0;
}
.top_menu .navbar-nav {
padding: 14px 0px;
}
.top_menu .navbar-brand {
padding: 0px 9px;
border-right: 2px solid;
}
.top_menu .navbar-brand img {
width: 50px;
}
.top_menu .navbar-header {
float: left;
width: 4%;
}
.top_menu .navbar-collapse {
float: left;
width: 96%;
}
.top_menu .navbar-nav li {
padding: 0px 5px;
}
.top_menu .navbar-nav li a {
padding: 0;
color: #000;
border-bottom: 2px solid transparent;
}
.top_menu .navbar-nav li a:hover {
border-bottom: 2px solid #000;
color: #000;
}
.wrapper {
float: left;
width: 100%;
}
.wrapper.fixed_class .center_contents {
left: 18%;
position: relative;
}
.wrapper.fixed_class .center_contents.fixed_class {
position: static;
}
nav#sidebar {
float: left;
color: #000;
width: 18%;
height: 100%;
overflow: auto;
padding: 0px 0px;
}
nav#sidebar.fixed_class {
position: fixed;
top: 0;
height: 100vh;
}
nav#sidebar a {
color: #000;
width: 100%;
float: left;
padding: 4px 10px;
position: relative;
padding-left: 25px;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
nav#sidebar a:hover {
text-decoration: none;
color: #4b00ff;
transition: 0.2s;
background: #8080802e;
border-radius: 5px;
}
nav#sidebar a:focus {
text-decoration: none;
color: #000;
}
nav#sidebar li {
list-style: none;
position: relative;
float: left;
width: 100%;
}
nav#sidebar .dropdown-toggle:before {
position: absolute;
top: 7px;
display: inline-block;
font-family: "Glyphicons Halflings";
font-style: normal;
font-weight: 400;
line-height: 1;
-webkit-font-smoothing: antialiased;
/* content: "\e080"; */
content: "\e258";
left: 4px;
transition-duration: 0.3s;
}
.dropdown-toggle[aria-expanded="true"]:before {
transform: rotate(90deg);
}
.collapse.in {
float: left;
margin-bottom: 0;
width: 100%;
}
.right_bar {
float: right;
width: 13%;
right: 0;
height: 100%;
padding-left: 10px;
overflow: auto;
}
.right_bar.fixed_class {
position: fixed;
top: 0;
height: 100vh;
}
.right_bar ul {
float: left;
width: 100%;
padding: 0;
text-align: center;
}
/* width */
.right_bar::-webkit-scrollbar {
width: 5px;
}
/* Track */
.right_bar::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Handle */
.right_bar::-webkit-scrollbar-thumb {
background: #888;
}
/* Handle on hover */
.right_bar::-webkit-scrollbar-thumb:hover {
background: #555;
}
.center_contents {
float: left;
width: 69%;
}
.center_contents.fixed_class {
margin-left: 18%;
margin-right: 13%;
width: 69%;
}
.center_contents img {
max-width: 100%;
}
#sidebar li.active a {
color: #0058ff;
font-weight: 600;
}
.center_contents h1 a,
.center_contents h2 a,
.center_contents h3 a {
font-size: 20px;
margin-left: 10px;
visibility: hidden;
cursor: pointer;
}
.center_contents h1:hover a,
.center_contents h2:hover a,
.center_contents h3:hover a {
visibility: visible;
}
.topbar-right {
width: 14%;
display: flex;
justify-content: flex-end;
flex-direction: row;
}
.profile-setup {
display: flex;
justify-content: flex-end;
width: 100%;
background: #f3f3f3;
padding: 3px;
align-items: center;
}
.profile-setup img.logo-img {
width: 30px;
height: 30px;
cursor: pointer;
}
.profile-setup .dropdown-menu {
padding: 10px;
width: 200px;
}
.profile-setup .dropdown-menu-right {
right: 1px;
cursor: pointer ;
border: none;
border-radius: 0;
box-shadow: 0px 0px 16px 2px rgb(156 135 135 / 18%);
}
.profile-setup .pro-name {
font-weight: 700;
text-transform: uppercase;
padding-left: 5px;
}
.pro-container-detail {
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;
}
.g-sign-in-button-wrapper {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
width: 100vw;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
.g-sign-in-button {
margin: 10px;
display: inline-block;
width: 240px;
height: 50px;
background-color: #4285f4;
color: #fff;
border-radius: 1px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
}
.g-sign-in-button:hover {
cursor: pointer;
-webkit-box-shadow: 0 0 3px 3px rgba(66, 133, 244, 0.3);
box-shadow: 0 0 3px 3px rgba(66, 133, 244, 0.3);
}
.g-sign-in-button:active {
background-color: #3367d6;
transition: background-color 0.2s;
}
.g-sign-in-button .content-wrapper {
height: 100%;
width: 100%;
border: 1px solid transparent;
}
.g-sign-in-button img {
width: 18px;
height: 18px;
}
.g-sign-in-button .logo-wrapper {
padding: 15px;
background: #fff;
width: 48px;
height: 100%;
border-radius: 1px;
display: inline-block;
}
.g-sign-in-button .text-container {
font-family: Roboto, arial, sans-serif;
font-weight: 500;
letter-spacing: 0.21px;
font-size: 16px;
line-height: 48px;
vertical-align: top;
border: none;
display: inline-block;
text-align: center;
width: 180px;
}
#mdContent {
overflow: auto;
height: 100%;
padding-left: 15px;
padding-right: 10px;
}
.side-bar-menu {
padding: 0;
}
.side-bar-menu li ul {
padding-left: 15px;
}
.mobile #sideContent {
display: none;
width: 0%;
}
.mobile #mdContent {
width: 100%;
}
.mobile #sidebar {
display: none;
width: 0%;
}
#topbar {
display: flex;
padding: 5px;
background: #0000000f;
margin-bottom: 10px;
font-family: "Metamorphous", cursive;
width: 100%;
}
.mobile .mobile-handler {
display: block;
padding: 0px 15px;
cursor: pointer;
}
.mobile-handler {
display: none;
}
.top-content {
width: 100%;
display: block;
height: 40px;
}
.body-content {
width: 100%;
display: block;
height: calc(100vh - 40px);
}
.top-brand-name {
padding-left: 15px;
}
.mobile .top-brand-name {
padding-left: 0px;
}
.mobile #sidebar.sidebar.show {
position: fixed;
width: 100%;
height: 100%;
top: 40px;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
background: #f0f0f0;
}
#sideContent.right_bar.hide {
display: none;
width: 0;
}
#mdContent.center_contents.full-width {
width: 82%;
}
.mobile #mdContent.center_contents.full-width {
width: 100%;
}
.right_bar a:hover {
background: #bebebe36;
border-radius: 5px;
color: #4b00ff;
}
.right_bar a {
float: left;
color: #0065b3;
cursor: pointer;
padding: 3px 0px;
text-transform: capitalize;
font-size: 15px;
line-height: 1;
transition: 0.3s;
padding: 5px;
text-decoration: none;
}
#side-dynamic-link {
display: flex;
flex-direction: column;
}
#side-dynamic-link div {
padding-top: 5px;
width: 100%;
}
pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 15px;
line-height: 1.42857143;
color: #333;
word-break: break-all;
word-wrap: break-word;
background-color: #f5f5f5;
border: none;
border-radius: 5px;
}
pre code {
font-family: Consolas ;
}
#topbar .topbar-left {
width: 18%;
padding: 5px;
}
#topbar .topbar-middle input {
width: 100%;
border: none;
outline: none;
padding: 5px 10px;
}
#topbar .topbar-middle {
width: 68%;
}
.search-drop-down {
width: 100%;
border: none;
box-shadow: 0px 2px 4px -1px #00000094;
border-bottom-right-radius: 4px;
border-top-right-radius: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 4px;
max-height: calc(100vh - 200px);
overflow: auto;
}
.search-drop-down .dropdown-item {
display: block;
padding: 5px 10px;
cursor: pointer;
text-decoration: none;
font-size: 15px;
color: #00000094;
font-weight: 700;
width: 100%;
cursor: pointer;
}
.search-drop-down .dropdown-item:hover {
color: #003cff94;
}
.CodeMirror {
height: max-content ;
background: #cecece2c ;
border-radius: 5px;
padding: 10px;
}
.CodeMirror * {
font-family: Consolas ;
font-family: "Montserrat", sans-serif ;
font-family: "Roboto Mono", monospace ;
}
.dropdown.open .pagination-bar {
display: block;
}
.pagination-bar {
display: none;
position: absolute;
right: 10px;
top: 8px;
border-radius: 5px;
font-size: 13px;
font-weight: 700;
}