Comments (6)
Rust uses Git Book which also has this nice grouping:
http://rustbyexample.com/hello.html
from core.
@wilzbach Do have any experience with vertical side bars already in other frameworks? I feel like this getting a more and more important priority with new content coming up and user input. I just would like to prevent to write the CSS etc. stuff from scratch :-)
from core.
Unfortunately not really. Well I guess we have to throw away most parts of the dlang menu css, but apart from the mobile view, it shouldn't be that difficult.
Most css frameworks I know support such menu bar, but they come with rather heavy dependencies. However I am happy if you find something.
from core.
The previous version of dlang.org had vetical sidebar, btw.
from core.
The previous version of dlang.org had vetical sidebar, btw.
There are a couple of pages still online with it, e.g. http://erdani.com/d/
(but of course we should go for a bit more modern menu)
from core.
I just gave this a quick try and I think it will get a bit messy, because we have to hack the CSS ourselves, but it seems doable :)
Open questions:
- mobile view (imho one of the bigger isuees))
- show we use this change to apply #54 too (fixed height for text and code)
- I think we need to make the menu categories collapsible (except the current one), because otherwise there's to much content
- should the menu bar itself be toggle-able? (like for the Rust Tour)
quick & dirty css overwrite styles (in case someone wants to continue this attempt):
#top {
left: 0;
width: 250px;
display: inline-block;
height: 100vh;
overflow-y: auto;
overflow-x: hidden;
}
#top #cssmenu > ul > li {
float: none;
}
body .row {
display: inline-block;
position: absolute;
}
#top #cssmenu .expand-container > * {
display: block;
}
#top #cssmenu > ul > li > ul {
position: inherit;
border: none;
background: none;
-webkit-box-shadow: none;
box-shadow: none;
}
#top > .helper {
padding-left: 5px;
padding-right: 5px;
}
#top a:hover, #top #cssmenu li.open > a, #top #cssmenu li.active > a {
background: inherit;
}
.expand-content li {
padding-left: 5px;
}
from core.
Related Issues (20)
- Wrong syntax highlight / indentation for nestable multi line comments HOT 9
- The unexcepted 404 code HOT 5
- The code for structs does not compile HOT 1
- Broken hyperlink readf documentation HOT 1
- DMD Windows Compiler options list incorrectly shows -fPIC as an option.
- run.dlang.io: no space left HOT 1
- run.dlang.io times out when using "all dmd compilers" HOT 3
- Adding a slash at the end of routes, redirects to the wrong address
- Page should load minimal content without Javascript enabled
- run.dlang.io: dmd-nightly not using nightly build HOT 2
- Shorten button doesn't work HOT 2
- Long code complain about 'writeln is not defined' even though it is not there HOT 1
- Polish translation HOT 2
- Convert tabs to spaces
- Persian translation HOT 3
- [Content Deleted]
- Very much required MySQL support
- API documentation link about mir-algorithm from dlang tour does not work.
- ❗ Move https://github.com/dlang-tour/core/wiki to a repository folder.
- Need different `script` cmdl to run playground on macOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.