website fixes, primarily mobile
This commit is contained in:
parent
29bb6cfb7f
commit
80ea7a323b
2 changed files with 8 additions and 4 deletions
|
|
@ -77,6 +77,7 @@ code {
|
||||||
/*background: rgba(0,0,0,0.05);*/
|
/*background: rgba(0,0,0,0.05);*/
|
||||||
border-radius:1px;
|
border-radius:1px;
|
||||||
padding: 0.5em 0;
|
padding: 0.5em 0;
|
||||||
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3 {
|
h1, h2, h3 {
|
||||||
|
|
@ -86,8 +87,10 @@ h1 {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 38px;
|
font-size: 38px;
|
||||||
letter-spacing: -1.3px;
|
letter-spacing: -1.3px;
|
||||||
line-height: 60px;
|
line-height: 40px;
|
||||||
text-indent: -2px;
|
text-indent: -2px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
|
@ -109,6 +112,7 @@ h1 > a, h2 > a, h3 > a {
|
||||||
/*background: white;*/
|
/*background: white;*/
|
||||||
}
|
}
|
||||||
.row > * {
|
.row > * {
|
||||||
|
width:100%;
|
||||||
max-width: 888px;
|
max-width: 888px;
|
||||||
flex: 1 0 100%;
|
flex: 1 0 100%;
|
||||||
/*background: white;*/
|
/*background: white;*/
|
||||||
|
|
@ -184,7 +188,7 @@ a > img {
|
||||||
<div class="row white"><div>
|
<div class="row white"><div>
|
||||||
<h2><a id="sample" href="#sample">Sample</a></h2>
|
<h2><a id="sample" href="#sample">Sample</a></h2>
|
||||||
<p>
|
<p>
|
||||||
<img src="res/sample.png" width="888">
|
<img src="res/sample.png" style="width:100%">
|
||||||
</p>
|
</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
set -e
|
set -e
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
if [ ! -s docs/lab/fonts ]; then
|
if [ ! -s lab/fonts ]; then
|
||||||
ln -s ../../build/dist docs/lab/fonts
|
ln -s ../../build/dist lab/fonts
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (which caddy >/dev/null); then
|
if (which caddy >/dev/null); then
|
||||||
|
|
|
||||||
Reference in a new issue