diff --git a/sys/css/main.css b/sys/css/main.css index cd97df4..d471273 100644 --- a/sys/css/main.css +++ b/sys/css/main.css @@ -86,7 +86,8 @@ div.user { position: relative; width: 55%; max-width: 800px; - margin: 0 auto 5rem auto; } + margin: 0 auto 5rem auto; + overflow-x: hidden; } div.user header { min-height: 200px; } div.user .content { diff --git a/sys/export-deamon.sh b/sys/export-deamon.sh index 8c7fafb..6b587a9 100755 --- a/sys/export-deamon.sh +++ b/sys/export-deamon.sh @@ -3,6 +3,6 @@ while true; do now=$(date +"%Y-%m-%d--%T") echo "export contents -- $now" ./tex2html.sh - echo "sleep 30sec for new export" - sleep 30s + echo "sleep 15sec for new export" + sleep 15s done diff --git a/sys/scss/main.scss b/sys/scss/main.scss index a7e1959..d97055b 100644 --- a/sys/scss/main.scss +++ b/sys/scss/main.scss @@ -130,6 +130,8 @@ div.user{ width: 55%; max-width: 800px; margin:0 auto 5rem auto; + overflow-x: hidden; + // outline: 1px solid red; header{ min-height: 200px; @@ -158,6 +160,12 @@ div.user{ border:none; } } + + video{ + max-width: 100%; + max-height: 600px; + } + } @media print { diff --git a/sys/tex2html.sh b/sys/tex2html.sh index 2ecdc94..bc85a66 100755 --- a/sys/tex2html.sh +++ b/sys/tex2html.sh @@ -46,7 +46,7 @@ for i in ../content/*; do # user name # record readme content on variable cont=$(cat "$i/readme.textile") - echo " $i" + echo "$i" # echo "$cont" # user=$(grep "h1\.\s*.+" "$i/readme.textile") @@ -57,10 +57,12 @@ for i in ../content/*; do u=${i/..\//} # record link for menu # echo "