diff options
author | Chris Xiong <chirs241097@gmail.com> | 2019-02-10 11:16:07 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2019-02-10 11:16:07 +0800 |
commit | 9d3c8c0e6e1a7ba43bf3dc19350d1dca68b657a3 (patch) | |
tree | 339de0698c13e1763d3361d70fb1266621025c91 /panel.css | |
download | web-9d3c8c0e6e1a7ba43bf3dc19350d1dca68b657a3.tar.xz |
Initial commit.
Diffstat (limited to 'panel.css')
-rw-r--r-- | panel.css | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/panel.css b/panel.css new file mode 100644 index 0000000..9f4cba6 --- /dev/null +++ b/panel.css @@ -0,0 +1,71 @@ +#panellist{ +padding:0; +list-style-type:none; +} +#panel li h1 { +position:relative; +left:-0.6em; +margin:0; +font-weight:normal; +} +#panel li h2 { +position:relative; +left:-0.3em; +margin:0; +font-weight:normal; +} +#panel li h3 { +position:relative; +left:-0.3em; +margin:0; +font-weight:normal; +} +#panel li a { +display:block; +padding-left:1.5em; +padding-top:0.5em; +padding-bottom:0.5em; +} +#panel li span { +display:block; +padding-left:1.5em; +padding-top:0.5em; +padding-bottom:0.5em; +} +#panel { +width:16em; +height:100%; +overflow-y:auto; +position:fixed; +top:0; +left:0; +transition:left 0.4s; +z-index:999; +} +#panel .themesw { +text-align:center; +padding-top:0.5em; +} +#content { +margin-left: 16em; +} +#content p{text-indent:2em;} +#content .block h2{font-weight:normal;} +#content .block h3{font-weight:normal;} +#content .block { +display: none; +padding: 1em; +} +#footer,div.footer{ + position:fixed; + bottom:0; + left:16em; + padding-bottom:0.5em; + width:calc(100% - 16em); +} +@media (max-width:768px) +{ + #panel{left:-15em;} + #content{margin-left:1em;} + #footer,div.footer{width:calc(100% - 1em);left:1em;} +} |