diff --git a/README.md b/README.md index 134bcb1..1222038 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +
+
+ # STEAMO PROJECT ## Select your language diff --git a/_css/light.css b/_css/light.css new file mode 100644 index 0000000..89184f5 --- /dev/null +++ b/_css/light.css @@ -0,0 +1,117 @@ +@media only screen and (max-width: 1299px) { + aside.toc-nav { + max-width: 45px; + opacity: 0.6; + right: 0 !important; + margin-right: 0 !important; + background: #fff; + } + aside.toc-nav:hover { + max-width: inherit; + opacity: 1; + } +} + +@media only screen and (min-width: 1300px) { + section.content { + padding-right: 250px; + } +} + +@media only screen and (max-width: 960px) { + aside.toc-nav { + display: none; + } +} + +aside.toc-nav { + position: fixed; + top: 70px; + right: 3%; + margin-right: 20px; + width: 250px; + z-index: 999999; + align-self: flex-start; + flex: 0 0 auto; + overflow-y: auto; + max-height: 70%; +} + +aside.toc-nav.nothing { + width: 0; +} + +.page_toc { + position: relative; + left: 0; + margin: 10px 0; + border: none; + font-size: 1.0em; +} + +.page_toc p.title { + margin: 0; + padding-bottom: 5px; + font-weight: 600; + font-size: 1.2em; +} + +.page_toc .anchor:hover:after { + content: ""; +} +.page_toc div[class^="lv"] a:hover span { + color: var(--sidebar-nav-link-color--active, #42b983); +} + +.page_toc div { + border-left: 2px solid #e8e8e8; + text-indent: 10px; + padding: 2px 0; + cursor: pointer; +} + +.page_toc div.active { + border-left-color: var(--sidebar-nav-link-color--active, #42b983); + transition: border-left-color 0.23s; +} + +.page_toc div.active a span { + color: var(--sidebar-nav-link-color--active, #42b983); + transition: color 0.23s; +} + +.page_toc div[class^="lv"] a { + color: var(--text-color-base, black); + text-decoration: none; + font-weight: 300; + line-height: 2em; + display: block; +} + +.page_toc div[class^="lv"] a span { + color: var(--sidebar-nav-link-color--hover, var(--sidebar-nav-link-color)); + display: block; + overflow: hidden; + white-space: nowrap; + text-overflow:ellipsis; +} + +.page_toc div.lv2 { + text-indent: 20px; +} + +.page_toc div.lv3 { + text-indent: 30px; +} + +.page_toc div.lv4 { + text-indent: 40px; +} + +.page_toc div.lv5 { + text-indent: 50px; +} + +.page_toc div.lv6 { + text-indent: 60px; +} diff --git a/_media/BUYNOW.png b/_media/buynow.png similarity index 100% rename from _media/BUYNOW.png rename to _media/buynow.png diff --git a/_navbar.md b/_navbar.md index 3b32413..df57d8c 100644 --- a/_navbar.md +++ b/_navbar.md @@ -1,6 +1,6 @@ * - * [English](#/en/) - * [Tieng Viet](#/vi/) + * [English](en/) + * [Tieng Viet](vi/) * diff --git a/index.html b/index.html index c3b540c..15e1783 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ - + @@ -23,10 +23,23 @@ :root { --docsifytabs-border-color: #ededed; --docsifytabs-tab-highlight-color: #42b983; - + } .blue { color: blue; } + .sidebar-toggle { + background-color: unset; + position: fixed !important; + top: 0 !important; + bottom: auto !important; + padding: 10px 10px 10px 10px !important; +} + +@media screen and (max-width: 768px) { + .markdown-section { + padding: 16px 16px 16px 36px !important; + } +}