diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml
index 5ef69a0..f8a509b 100644
--- a/.idea/watcherTasks.xml
+++ b/.idea/watcherTasks.xml
@@ -34,7 +34,7 @@
-
+
diff --git a/data/css_compress/compress.py b/data/css_compress/compress.py
index 5420128..a3b7795 100644
--- a/data/css_compress/compress.py
+++ b/data/css_compress/compress.py
@@ -4,6 +4,7 @@ import sys
import os
import re
import subprocess
+import shutil
def findnext(strdata, start, searchchr):
@@ -41,12 +42,11 @@ def comment_remover(text):
)
return re.sub(pattern, replacer, text)
-
fsource = str.replace(sys.argv[1], '\\', '/') # scss
-finput = str.replace(sys.argv[2], '\\', '/') # css
+finput = str.replace(sys.argv[2], '\\', '/') # css
foutput = str.replace(sys.argv[3], '\\', '/') # min.css
-ftemp1 = '__temp_compresss_py_1.tmp.css'
-ftemp2 = '__temp_compresss_py_2.tmp.css'
+ftemp1 = '__temp_compresss_py_1.tmp.css'
+ftemp2 = '__temp_compresss_py_2.tmp.css'
print('======== INPUT ========')
print()
@@ -77,9 +77,8 @@ print()
print()
print('======== CALL SCSS ========')
-out = subprocess.run(['ruby', 'scss', '--style=expanded', '--no-cache', '--update', fsource + ':' + finput],
- stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-print('> ruby scss --style=expanded --no-cache --update ' + fsource + ':' + finput)
+print('> scss --style=expanded --no-cache --update "' + fsource + ':' + finput + '"')
+out = subprocess.run([shutil.which('scss'), '--style=expanded', '--no-cache', '--update', fsource + ':' + finput], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
print('STDOUT:')
print(out.stdout.decode('utf-8'))
print('STDERR:')
@@ -104,9 +103,8 @@ print('')
print('')
print('======== CALL YUI ========')
-out = subprocess.run(['java', '-jar', 'yuicompressor.jar', '--verbose', ftemp1, '-o', ftemp2], stdout=subprocess.PIPE,
- stderr=subprocess.PIPE)
print('> java -jar yuicompressor.jar --verbose "' + finput + '" -o "' + ftemp2 + '"')
+out = subprocess.run(['java', '-jar', 'yuicompressor.jar', '--verbose', ftemp1, '-o', ftemp2], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
print('STDOUT:')
print(out.stdout.decode('utf-8'))
print('STDERR:')
diff --git a/www/data/css/styles.css b/www/data/css/styles.css
index 2c94ca4..b713bc0 100644
--- a/www/data/css/styles.css
+++ b/www/data/css/styles.css
@@ -1,5 +1,4 @@
@charset "UTF-8";
-/* 400px */
body {
background-color: #EEEEEE;
color: #333333;
@@ -20,7 +19,8 @@ body {
margin-right: auto;
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.content-responsive {
width: 95%;
width: calc(100% - 20px);
@@ -28,7 +28,8 @@ body {
margin-right: auto;
}
}
-@media (min-width: 768px) and (max-width: 850px) {
+/* Level: 1 */
+@media (min-device-width: 768px) and (max-device-width: 850px) {
.content-responsive {
width: 95%;
width: calc(100% - 20px);
@@ -36,7 +37,8 @@ body {
margin-right: auto;
}
}
-@media (min-width: 851px) and (max-width: 991px) {
+/* Level: 2 */
+@media (min-device-width: 851px) and (max-device-width: 991px) {
.content-responsive {
width: 95%;
width: calc(100% - 20px);
@@ -44,12 +46,14 @@ body {
margin-right: auto;
}
}
-@media (min-width: 992px) and (max-width: 1199px) {
+/* Level: 3 */
+@media (min-device-width: 992px) and (max-device-width: 1199px) {
.content-responsive {
width: 724px;
}
}
-@media (min-width: 1200px) {
+/* Level: 4 */
+@media (min-device-width: 1200px) {
.content-responsive {
width: 1170px;
}
@@ -71,7 +75,8 @@ body {
margin-bottom: 0;
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.contentheader h1 {
font-size: 32px;
}
@@ -87,7 +92,8 @@ body {
background: -webkit-linear-gradient(left, #CCCCCCFF 0%, #FFFFFF00 100%);
}
-@media (max-width: 991px) {
+/* Level: 0 - 2 */
+@media (max-device-width: 991px) {
.contentheader h1 {
text-align: center;
margin-left: 10px;
@@ -315,7 +321,8 @@ body {
cursor: pointer;
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.pagination {
flex-direction: column;
}
@@ -332,7 +339,8 @@ body {
flex-direction: row;
}
}
-@media (min-width: 768px) and (max-width: 850px) {
+/* Level: 1 */
+@media (min-device-width: 768px) and (max-device-width: 850px) {
.pagination {
flex-direction: column;
}
@@ -349,7 +357,8 @@ body {
flex-direction: row;
}
}
-@media (min-width: 851px) and (max-width: 991px) {
+/* Level: 2 */
+@media (min-device-width: 851px) and (max-device-width: 991px) {
.pagination {
flex-direction: column;
}
@@ -366,7 +375,8 @@ body {
flex-direction: row;
}
}
-@media (min-width: 992px) and (max-width: 1199px) {
+/* Level: 3 */
+@media (min-device-width: 992px) and (max-device-width: 1199px) {
.pagination {
flex-direction: column;
}
@@ -383,7 +393,8 @@ body {
flex-direction: row;
}
}
-@media (min-width: 1200px) {
+/* Level: 4 */
+@media (min-device-width: 1200px) {
.pagination {
flex-direction: column;
}
@@ -450,7 +461,6 @@ body {
border: 1px solid #000000;
}
-/* 400px */
#headerdiv {
z-index: 999;
background-color: #333;
@@ -530,7 +540,8 @@ body {
color: black;
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
#headerdiv {
position: static;
flex-direction: column;
@@ -553,7 +564,6 @@ body {
padding-top: 0;
}
}
-/* 400px */
html, body {
margin: 0;
padding: 0;
@@ -585,27 +595,32 @@ html, body {
margin: 0 auto;
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
#footerdiv {
width: auto;
}
}
-@media (min-width: 768px) and (max-width: 850px) {
+/* Level: 1 */
+@media (min-device-width: 768px) and (max-device-width: 850px) {
#footerdiv {
width: auto;
}
}
-@media (min-width: 851px) and (max-width: 991px) {
+/* Level: 2 */
+@media (min-device-width: 851px) and (max-device-width: 991px) {
#footerdiv {
width: auto;
}
}
-@media (min-width: 992px) and (max-width: 1199px) {
+/* Level: 3 */
+@media (min-device-width: 992px) and (max-device-width: 1199px) {
#footerdiv {
width: 724px;
}
}
-@media (min-width: 1200px) {
+/* Level: 4 */
+@media (min-device-width: 1200px) {
#footerdiv {
width: 1170px;
}
@@ -620,13 +635,13 @@ html, body {
background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from(#CCCCCCFF), to(#FFFFFF00));
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
#footerdiv .footerspan2 {
display: none;
visibility: collapse;
}
}
-/* 400px */
.index_pnl_base {
display: inline-flex;
flex-direction: column;
@@ -651,7 +666,8 @@ html, body {
font-weight: 900;
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
.index_pnl_header a {
font-size: 16px;
}
@@ -667,12 +683,12 @@ html, body {
padding: 6px;
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
.index_pnl_base {
width: 330px;
}
}
-/* 400px */
.aboutcontent {
display: block;
width: 100%;
@@ -695,7 +711,8 @@ html, body {
overflow: visible;
}
-@media (max-width: 991px) {
+/* Level: 0 - 2 */
+@media (max-device-width: 991px) {
.git_list {
width: 100%;
height: auto;
@@ -807,7 +824,6 @@ html, body {
fill: #003958;
}
-/* 400px */
.admincontent {
display: block;
width: 100%;
@@ -975,7 +991,6 @@ html, body {
color: #FF0000;
}
-/* 400px */
#loginform div {
display: flex;
flex-direction: column;
@@ -997,7 +1012,6 @@ html, body {
margin: 5px 0 20px 0;
}
-/* 400px */
.bloglistelem_container {
display: flex;
align-items: center;
@@ -1078,12 +1092,12 @@ html, body {
margin: 2px 0 2px 10px;
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.ble_title {
font-size: 1.25em;
}
}
-/* 400px */
.base_markdown code {
font-family: Consolas, Monaco, "Courier New", Menlo, monospace;
direction: ltr;
@@ -1138,7 +1152,6 @@ html, body {
width: 90%;
}
-/* 400px */
#PEB_tableProblems .PEB_tablerowProblems:hover {
background-color: #999999;
}
@@ -1213,12 +1226,14 @@ html, body {
text-decoration: underline;
}
-@media (max-width: 1199px) {
+/* Level: 0 - 3 */
+@media (max-device-width: 1199px) {
#PEB_tableProblems tr td:nth-child(1), #PEB_tableProblems tr th:nth-child(1) {
display: none;
}
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
#PEB_tableProblems tr td:nth-child(1), #PEB_tableProblems tr th:nth-child(1) {
display: none;
}
@@ -1238,7 +1253,6 @@ html, body {
padding: 0 5px;
}
-/* 400px */
.aoc_calendar_parent {
display: flex;
justify-content: center;
@@ -1298,6 +1312,12 @@ html, body {
padding-bottom: 0.5em;
}
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
+ .aoc_calendar {
+ transform: scale(0.75);
+ }
+}
.aoc_calendar_row {
display: flex;
flex-direction: row;
@@ -1379,13 +1399,13 @@ html, body {
color: #000000;
}
-/* 400px */
.prgl_parent {
display: flex;
flex-direction: column;
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
.prgl_parent {
align-items: center;
}
@@ -1487,7 +1507,8 @@ html, body {
margin: 1px 2px 0 2px;
}
-@media (max-width: 1199px) {
+/* Level: 0 - 3 */
+@media (max-device-width: 1199px) {
.prgl_elem_title {
font-size: 22pt;
}
@@ -1509,7 +1530,8 @@ html, body {
margin-bottom: 10px;
}
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
.prgl_elem {
flex-direction: column;
width: 350px;
@@ -1544,7 +1566,6 @@ html, body {
visibility: hidden;
}
}
-/* 400px */
.prgv_content {
display: flex;
flex-direction: column;
@@ -1661,12 +1682,14 @@ html, body {
background: -webkit-radial-gradient(circle, #CCCCCCFF 0%, #FFFFFF00 100%);
}
-@media (max-width: 991px) {
+/* Level: 0 - 2 */
+@media (max-device-width: 991px) {
.prgv_content {
border: none;
}
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.prgv_top {
flex-direction: column;
margin-top: 0;
@@ -1696,7 +1719,6 @@ html, body {
margin: 10px;
}
-/* 400px */
.booklst_entry {
display: flex;
flex-direction: row;
@@ -1767,7 +1789,8 @@ html, body {
border-bottom: 1px solid transparent;
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.booklst_left {
flex-direction: column;
align-items: center;
@@ -1786,7 +1809,6 @@ html, body {
font-size: 32pt;
}
}
-/* 400px */
.bookv_content {
display: flex;
flex-direction: column;
@@ -1898,7 +1920,8 @@ html, body {
border: 1px solid rgba(0, 0, 0, 0.15);
}
-@media (max-width: 991px) {
+/* Level: 0 - 2 */
+@media (max-device-width: 991px) {
.bookv_content {
border: none;
}
@@ -1907,12 +1930,14 @@ html, body {
font-size: 28pt;
}
}
-@media (max-width: 1199px) {
+/* Level: 0 - 3 */
+@media (max-device-width: 1199px) {
#bookv_header h1 {
font-size: 28pt;
}
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.bookv_top {
flex-direction: column;
margin-top: 0;
@@ -1935,7 +1960,6 @@ html, body {
font-size: 18pt;
}
}
-/* 400px */
.webapplistelem_container {
display: flex;
align-items: center;
@@ -1988,17 +2012,19 @@ html, body {
margin: 2px 0 2px 10px;
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.wle_title {
font-size: 1.25em;
}
}
-/* 400px */
.ev_master {
align-self: center;
width: 100%;
+ /* Level: 2 - 4 */
+ /* Level: 0 */
}
-@media (min-width: 851px) {
+@media (min-device-width: 851px) {
.ev_master {
padding-bottom: 80px;
}
@@ -2026,7 +2052,7 @@ html, body {
white-space: nowrap;
width: 100%;
}
-@media (max-width: 767px) {
+@media (max-device-width: 767px) {
.ev_master .ev_code {
font-size: 75pt;
}
@@ -2035,14 +2061,14 @@ html, body {
}
}
-/* 400px */
.euler_pnl_row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
.euler_pnl_row {
flex-direction: column;
}
@@ -2113,7 +2139,6 @@ html, body {
background: #CCCCCC;
}
-/* 400px */
.programs_pnl_content {
display: flex;
flex-direction: row;
@@ -2194,7 +2219,8 @@ html, body {
font-weight: bolder;
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
.programs_pnl_entry {
width: 100%;
}
@@ -2208,7 +2234,6 @@ html, body {
flex-direction: row;
}
}
-/* 400px */
.blog_pnl_content {
display: flex;
align-items: center;
@@ -2255,12 +2280,12 @@ html, body {
margin: 2px 0 2px 10px;
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
.blogpnl_title {
text-align: center;
}
}
-/* 400px */
.books_pnl_content {
display: flex;
flex-direction: row;
@@ -2295,7 +2320,8 @@ html, body {
text-decoration: none;
}
-@media (max-width: 850px) {
+/* Level: 0 - 1 */
+@media (max-device-width: 850px) {
.books_pnl_extra {
display: none;
visibility: collapse;
@@ -2314,11 +2340,11 @@ html, body {
filter: grayscale(100%);
}
-/* 400px */
.bfjoust_runner_owner {
border: 1px solid #888;
background: #F8F8F8;
padding: 6px;
+ /* Level: 0 */
}
.bfjoust_runner_owner .hsplit {
display: flex;
@@ -2346,7 +2372,7 @@ html, body {
.bfjoust_runner_owner .bottomelem {
height: 200px;
}
-@media (max-width: 767px) {
+@media (max-device-width: 767px) {
.bfjoust_runner_owner .hsplit {
display: block;
}
@@ -2417,7 +2443,6 @@ html, body {
border: 1px solid #CCC;
}
-/* 400px */
.bce_code {
background: #F8F8F8;
color: black;
@@ -2504,7 +2529,8 @@ html, body {
cursor: default;
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.bce_code .bce_code_ctrl {
display: flex;
flex-direction: column;
@@ -2559,7 +2585,8 @@ html, body {
flex-direction: column;
}
-@media (max-width: 767px) {
+/* Level: 0 */
+@media (max-device-width: 767px) {
.bce_code_out {
flex-direction: column;
}
diff --git a/www/data/css/styles.min.css b/www/data/css/styles.min.css
index 5fd2ce4..a8da450 100644
--- a/www/data/css/styles.min.css
+++ b/www/data/css/styles.min.css
@@ -1,17 +1,17 @@
@charset "UTF-8";body{background-color:#eee;color:#333;font-family:"Times New Roman",serif}
#content{padding-top:64px;display:flex;justify-content:center;line-height:1.4;flex-direction:column;align-items:center}
.content-responsive{margin-left:auto;margin-right:auto}
-@media(max-width:767px){.content-responsive{width:95%;width:calc(100% - 20px);margin-left:auto;margin-right:auto}}
-@media(min-width:768px) and (max-width:850px){.content-responsive{width:95%;width:calc(100% - 20px);margin-left:auto;margin-right:auto}}
-@media(min-width:851px) and (max-width:991px){.content-responsive{width:95%;width:calc(100% - 20px);margin-left:auto;margin-right:auto}}
-@media(min-width:992px) and (max-width:1199px){.content-responsive{width:724px}}
-@media(min-width:1200px){.content-responsive{width:1170px}}
+@media(max-device-width:767px){.content-responsive{width:95%;width:calc(100% - 20px);margin-left:auto;margin-right:auto}}
+@media(min-device-width:768px) and (max-device-width:850px){.content-responsive{width:95%;width:calc(100% - 20px);margin-left:auto;margin-right:auto}}
+@media(min-device-width:851px) and (max-device-width:991px){.content-responsive{width:95%;width:calc(100% - 20px);margin-left:auto;margin-right:auto}}
+@media(min-device-width:992px) and (max-device-width:1199px){.content-responsive{width:724px}}
+@media(min-device-width:1200px){.content-responsive{width:1170px}}
.content-fullheight{flex-grow:1}
.contentheader{width:100%;color:#333;font-size:large}
.contentheader h1{font-family:Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:32px;font-weight:900;margin-bottom:0}
-@media(max-width:767px){.contentheader h1{font-size:32px}}
+@media(max-device-width:767px){.contentheader h1{font-size:32px}}
.contentheader hr{margin:0 0 25px 0;display:block;border:0;color:white;height:1px;background-color:#CCCCCCFF;background:-moz-linear-gradient(left,#CCCCCCFF,#FFFFFF00);background:-webkit-linear-gradient(left,#CCCCCCFF 0,#FFFFFF00 100%)}
-@media(max-width:991px){
+@media(max-device-width:991px){
.contentheader h1{text-align:center;margin-left:10px;margin-right:10px}
.contentheader hr{background:-moz-radial-gradient(circle,#CCCCCCFF,#FFFFFF00);background:-webkit-radial-gradient(circle,#CCCCCCFF 0,#FFFFFF00 100%)}
}
@@ -53,31 +53,31 @@
.imgcarousel_next svg{width:48px;height:48px;border:1px solid black;background:#333;fill:#ddd}
.imgcarousel_prev:hover svg{background:#000;fill:#fff;cursor:pointer}
.imgcarousel_next:hover svg{background:#000;fill:#fff;cursor:pointer}
-@media(max-width:767px){
+@media(max-device-width:767px){
.pagination{flex-direction:column}
.pag20{flex-direction:column}
.pag10{flex-direction:column}
.pag05{flex-direction:row}
}
-@media(min-width:768px) and (max-width:850px){
+@media(min-device-width:768px) and (max-device-width:850px){
.pagination{flex-direction:column}
.pag20{flex-direction:column}
.pag10{flex-direction:row}
.pag05{flex-direction:row}
}
-@media(min-width:851px) and (max-width:991px){
+@media(min-device-width:851px) and (max-device-width:991px){
.pagination{flex-direction:column}
.pag20{flex-direction:column}
.pag10{flex-direction:row}
.pag05{flex-direction:row}
}
-@media(min-width:992px) and (max-width:1199px){
+@media(min-device-width:992px) and (max-device-width:1199px){
.pagination{flex-direction:column}
.pag20{flex-direction:column}
.pag10{flex-direction:row}
.pag05{flex-direction:row}
}
-@media(min-width:1200px){
+@media(min-device-width:1200px){
.pagination{flex-direction:column}
.pag20{flex-direction:row}
.pag10{flex-direction:row}
@@ -108,7 +108,7 @@
#headerdiv .tabrow .tab_github:hover{background-color:#c9510c;color:black}
#headerdiv .tabrow .tab_logout{background-color:#a00;border-left:1px solid #111;border-right:0;color:black;min-width:38px}
#headerdiv .tabrow .tab_logout:hover{background-color:#c9510c;color:black}
-@media(max-width:850px){
+@media(max-device-width:850px){
#headerdiv{position:static;flex-direction:column}
#headerdiv .logowrapper{display:flex;align-items:center;justify-content:center}
#headerdiv .tabrow{flex-direction:column}
@@ -119,25 +119,25 @@ html,body{margin:0;padding:0;height:100%}
#mastercontainer{display:flex;flex-direction:column;min-height:100%;position:relative}
#content{padding-bottom:60px}
#footerdiv{position:absolute;bottom:0;width:100%;height:60px;text-align:center;color:#ccc;left:0;right:0;margin:0 auto}
-@media(max-width:767px){#footerdiv{width:auto}}
-@media(min-width:768px) and (max-width:850px){#footerdiv{width:auto}}
-@media(min-width:851px) and (max-width:991px){#footerdiv{width:auto}}
-@media(min-width:992px) and (max-width:1199px){#footerdiv{width:724px}}
-@media(min-width:1200px){#footerdiv{width:1170px}}
+@media(max-device-width:767px){#footerdiv{width:auto}}
+@media(min-device-width:768px) and (max-device-width:850px){#footerdiv{width:auto}}
+@media(min-device-width:851px) and (max-device-width:991px){#footerdiv{width:auto}}
+@media(min-device-width:992px) and (max-device-width:1199px){#footerdiv{width:724px}}
+@media(min-device-width:1200px){#footerdiv{width:1170px}}
#footerdiv hr{margin-bottom:5px;display:block;border:0;color:white;height:1px;background:#ccc;background:-webkit-gradient(radial,50% 50%,0,50% 50%,350,from(#CCCCCCFF),to(#FFFFFF00))}
-@media(max-width:850px){#footerdiv .footerspan2{display:none;visibility:collapse}}
+@media(max-device-width:850px){#footerdiv .footerspan2{display:none;visibility:collapse}}
.index_pnl_base{display:inline-flex;flex-direction:column;border:1px solid #444;margin:15px;width:652px}
.index_pnl_header{display:flex;align-items:center;justify-content:center;padding:4px;background:#bbb}
.index_pnl_header a{color:#222;text-decoration:none;font-family:Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:22px;font-weight:900}
-@media(max-width:850px){.index_pnl_header a{font-size:16px}}
+@media(max-device-width:850px){.index_pnl_header a{font-size:16px}}
.index_pnl_header a:hover{text-decoration:underline}
.index_pnl_content{display:flex;flex-direction:column;background:#e0e0e0;padding:6px}
-@media(max-width:850px){.index_pnl_base{width:330px}}
+@media(max-device-width:850px){.index_pnl_base{width:330px}}
.aboutcontent{display:block;width:100%}
.aboutcontent .boxedcontent{margin-bottom:20px}
.about_egg_container{display:flex;flex-direction:column;align-items:center}
.git_list{display:inline-block;width:715px;height:115px;overflow:visible}
-@media(max-width:991px){
+@media(max-device-width:991px){
.git_list{width:100%;height:auto}
.extGitGraphContainer{width:95%;width:calc(100% - 16px)}
}
@@ -207,7 +207,7 @@ html,body{margin:0;padding:0;height:100%}
.ble_log:hover .ble_date{background-color:#fff;color:#000;border-bottom:1px solid #000}
.ble_date{border-bottom:1px solid transparent;padding:2px;font-size:.8em;font-style:italic}
.ble_title{font-weight:bold;font-size:1.2em;text-align:left;margin:2px 0 2px 10px}
-@media(max-width:767px){.ble_title{font-size:1.25em}}
+@media(max-device-width:767px){.ble_title{font-size:1.25em}}
.base_markdown code{font-family:Consolas,Monaco,"Courier New",Menlo,monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}
.base_markdown pre{font-size:14px;display:block;padding:9.5px;margin:0 0 10px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;background-color:#f8f8f8;color:#000;border:1px solid rgba(0,0,0,0.15);border-radius:2px}
.base_markdown blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #ccc}
@@ -232,8 +232,8 @@ html,body{margin:0;padding:0;height:100%}
#PEB_tableProblems .PEB_TC_Size_98{float:right;font-family:"Times New Roman",serif;border-radius:1px;background-color:#FF0;display:inline-block;padding:1px 6px}
#PEB_tableProblems a{color:#222;display:block;text-decoration:none}
#PEB_tableProblems .PEB_TC_Title a{text-decoration:underline}
-@media(max-width:1199px){#PEB_tableProblems tr td:nth-child(1),#PEB_tableProblems tr th:nth-child(1){display:none}}
-@media(max-width:767px){
+@media(max-device-width:1199px){#PEB_tableProblems tr td:nth-child(1),#PEB_tableProblems tr th:nth-child(1){display:none}}
+@media(max-device-width:767px){
#PEB_tableProblems tr td:nth-child(1),#PEB_tableProblems tr th:nth-child(1){display:none}
#PEB_tableProblems tr td:nth-child(3),#PEB_tableProblems tr th:nth-child(3){display:none}
#PEB_tableProblems tr td:nth-child(4),#PEB_tableProblems tr th:nth-child(4){display:none}
@@ -248,6 +248,7 @@ html,body{margin:0;padding:0;height:100%}
.aoc_calendar_header_link.aoc_next{flex-grow:0;padding-right:.5em}
.aoc_calendar_header_link.aoc_link_hidden{visibility:hidden}
.aoc_calendar{display:flex;flex-direction:column;background:#aaa;font-size:xx-large;font-family:Consolas,Monaco,"Courier New",Menlo,monospace;border:1px solid #333;padding-bottom:.5em}
+@media(max-device-width:850px){.aoc_calendar{transform:scale(0.75)}}
.aoc_calendar_row{display:flex;flex-direction:row;justify-content:center;margin-left:.5em;margin-right:.5em}
.aoc_calendar_field{display:flex;align-items:center;justify-content:center;width:2em;height:2em;margin:4px;text-decoration:none;font-weight:bold}
.aoc_calendar_field.aoc_enabled{background:#2d4e3b;color:#bb2528;border:1px solid #fff;text-shadow:0 0 .2em #222;font-weight:bold}
@@ -261,7 +262,7 @@ html,body{margin:0;padding:0;height:100%}
.bc_aoc_solution_code pre{margin:0 !important;border:0}
.bc_aoc_solution_value{background:#888;color:#000}
.prgl_parent{display:flex;flex-direction:column}
-@media(max-width:850px){.prgl_parent{align-items:center}}
+@media(max-device-width:850px){.prgl_parent{align-items:center}}
.prgl_elem{display:flex;flex-direction:row;text-decoration:none;background:#bbb;border:1px solid #444;color:#333;margin:5px 0}
.prgl_elem:hover{background:#fff;color:#000;border:solid 1px #000}
.prgl_elem:hover .prgl_elem_sdesc{color:#000}
@@ -278,14 +279,14 @@ html,body{margin:0;padding:0;height:100%}
.prgl_elem_subinfo_caption{color:#333;font-weight:bold;margin:0 5px 0 10px}
.prgl_elem_subinfo_data{color:#555;display:flex;flex-direction:row;align-items:center;height:100%}
.prgl_elem_subinfo_data img{display:inline;height:13pt;margin:1px 2px 0 2px}
-@media(max-width:1199px){
+@media(max-device-width:1199px){
.prgl_elem_title{font-size:22pt}
.prgl_elem_subinfo{flex-direction:column}
.prgl_elem_subinfo_data{justify-content:center}
.prgl_elem_subinfo_caption{text-align:center}
.prgl_elem_sdesc{font-size:12pt;margin-bottom:10px}
}
-@media(max-width:850px){
+@media(max-device-width:850px){
.prgl_elem{flex-direction:column;width:350px}
.prgl_elem_left img{width:100%;height:100%}
.prgl_elem_title{font-size:24pt;word-wrap:break-word;text-align:center}
@@ -311,8 +312,8 @@ html,body{margin:0;padding:0;height:100%}
.prgv_right_lang img{display:inline;height:16pt;max-width:32px;margin:1px 2px 0 2px}
.prgv_center{margin:0 8px 8px 8px;padding:16px;background:#eee;color:#333;border:1px solid rgba(0,0,0,0.15)}
.prgv_sep{margin:40px 0 40px 0;display:block;border:0;color:white;height:1px;background-color:#CCCCCCFF;background:-moz-radial-gradient(circle,#CCCCCCFF,#FFFFFF00);background:-webkit-radial-gradient(circle,#CCCCCCFF 0,#FFFFFF00 100%)}
-@media(max-width:991px){.prgv_content{border:0}}
-@media(max-width:767px){
+@media(max-device-width:991px){.prgv_content{border:0}}
+@media(max-device-width:767px){
.prgv_top{flex-direction:column;margin-top:0}
.prgv_left{margin:0 10px 10px 10px}
.prgv_right{min-height:0;min-width:0}
@@ -332,7 +333,7 @@ html,body{margin:0;padding:0;height:100%}
.booklst_title{color:#333;font-size:40pt;font-weight:bolder;flex-grow:1;display:flex;justify-content:center;align-items:center;text-align:center}
.booklst_date{display:flex;flex-direction:row-reverse;color:#333}
.booklst_date span{background:#AAA;padding:0 3px;border-left:1px solid transparent;border-bottom:1px solid transparent}
-@media(max-width:767px){
+@media(max-device-width:767px){
.booklst_left{flex-direction:column;align-items:center}
.booklst_entry{flex-direction:column}
.booklst_date{display:none;visibility:hidden}
@@ -355,12 +356,12 @@ html,body{margin:0;padding:0;height:100%}
.bookv_right_lang img{display:inline;height:16pt;max-width:32px;margin:1px 2px 0 2px}
.bookv_extra{height:500px;border:1px solid #333;background:#aaa;margin:10px}
.bookv_readme{margin:10px;padding:16px;background:#eee;color:#333;border:1px solid rgba(0,0,0,0.15)}
-@media(max-width:991px){
+@media(max-device-width:991px){
.bookv_content{border:0}
#bookv_header h1{font-size:28pt}
}
-@media(max-width:1199px){#bookv_header h1{font-size:28pt}}
-@media(max-width:767px){
+@media(max-device-width:1199px){#bookv_header h1{font-size:28pt}}
+@media(max-device-width:767px){
.bookv_top{flex-direction:column;margin-top:0}
.bookv_left{margin:0 10px 10px 10px}
.bookv_right{min-height:0;min-width:0}
@@ -376,18 +377,18 @@ html,body{margin:0;padding:0;height:100%}
.webapplistelem:hover .wle_date{background-color:#fff;color:#000;border-bottom:1px solid #000}
.wle_date{border-bottom:1px solid transparent;padding:2px;font-size:.8em;font-style:italic}
.wle_title{font-weight:bold;font-size:1.2em;text-align:left;margin:2px 0 2px 10px}
-@media(max-width:767px){.wle_title{font-size:1.25em}}
+@media(max-device-width:767px){.wle_title{font-size:1.25em}}
.ev_master{align-self:center;width:100%}
-@media(min-width:851px){.ev_master{padding-bottom:80px}}
+@media(min-device-width:851px){.ev_master{padding-bottom:80px}}
.ev_master .ev_code{color:#333;text-align:center;font-size:150pt;font-weight:500;font-family:Consolas,Monaco,"Courier New",Menlo,monospace}
.ev_master .ev_msg{color:#888;text-align:center;font-size:25pt}
.ev_master .ev_statusmore{color:#333;background-color:#bbb;text-align:left;padding:4px;font-family:Consolas,Monaco,"Courier New",Menlo,monospace;font-size:small;overflow-x:auto;white-space:nowrap;width:100%}
-@media(max-width:767px){
+@media(max-device-width:767px){
.ev_master .ev_code{font-size:75pt}
.ev_master .ev_msg{font-size:15pt}
}
.euler_pnl_row{display:flex;flex-direction:row;flex-wrap:wrap}
-@media(max-width:850px){.euler_pnl_row{flex-direction:column}}
+@media(max-device-width:850px){.euler_pnl_row{flex-direction:column}}
.euler_pnl_row2{display:flex;flex-direction:row}
.euler_pnl_cell{width:24px;height:24px;font-size:11px;margin:3px;border:1px solid #333;display:flex;align-items:center;justify-content:center}
.euler_pnl_cell:hover{background-color:#fff;color:#000;border:1px solid #000}
@@ -413,7 +414,7 @@ html,body{margin:0;padding:0;height:100%}
.programs_pnl_bottom_1,.programs_pnl_bottom_2{flex-grow:1;text-align:center;display:flex;flex-direction:column}
.programs_pnl_bottom_sub_top{color:#444}
.programs_pnl_bottom_sub_bot{color:#222;font-weight:bolder}
-@media(max-width:850px){
+@media(max-device-width:850px){
.programs_pnl_entry{width:100%}
.programs_pnl_bottom_sub_top{margin-left:4px;margin-right:6px}
.programs_pnl_bottom_1,.programs_pnl_bottom_2{flex-direction:row}
@@ -425,12 +426,12 @@ html,body{margin:0;padding:0;height:100%}
.blogpnl_base:hover .blogpnl_date{background-color:#fff;color:#000;border-bottom:1px solid #000}
.blogpnl_date{border-bottom:1px solid transparent;padding:2px;font-size:.8em;font-style:italic}
.blogpnl_title{font-weight:bold;font-size:1.2em;text-align:left;margin:2px 0 2px 10px}
-@media(max-width:850px){.blogpnl_title{text-align:center}}
+@media(max-device-width:850px){.blogpnl_title{text-align:center}}
.books_pnl_content{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-evenly}
.books_pnl_entry{display:flex;flex-direction:column;margin:4px;border:1px solid #333;background:#aaa;color:#222;text-decoration:none}
.books_pnl_entry img{margin:4px;width:150px;height:auto}
.books_pnl_entry div{display:flex;justify-content:center;align-items:flex-end;flex-grow:1;border-top:1px solid transparent;text-align:center;font-weight:bold;text-decoration:none}
-@media(max-width:850px){.books_pnl_extra{display:none;visibility:collapse}}
+@media(max-device-width:850px){.books_pnl_extra{display:none;visibility:collapse}}
.books_pnl_entry:hover{border:1px solid #000;background:#fff}
.books_pnl_entry:hover div{color:#000}
.books_pnl_entry:hover img{filter:grayscale(100%)}
@@ -442,7 +443,7 @@ html,body{margin:0;padding:0;height:100%}
.bfjoust_runner_owner .source{height:350px}
.bfjoust_runner_owner .sink{height:100px}
.bfjoust_runner_owner .bottomelem{height:200px}
-@media(max-width:767px){
+@media(max-device-width:767px){
.bfjoust_runner_owner .hsplit{display:block}
.bfjoust_runner_owner .hsplit_1{display:block;width:calc(100% - 8px)}
.bfjoust_runner_owner .hsplit_2{display:block;width:calc(100% - 8px)}
@@ -476,7 +477,7 @@ html,body{margin:0;padding:0;height:100%}
.bce_code .bce_code_ctrl .ctrl_btn_rr:hover{border-left:0}
.bce_code .bce_code_ctrl .ctrl_btn_disabled{background:#999;color:#BBB}
.bce_code .bce_code_ctrl .ctrl_btn_disabled:hover{background:#999;color:#BBB;cursor:default}
-@media(max-width:767px){
+@media(max-device-width:767px){
.bce_code .bce_code_ctrl{display:flex;flex-direction:column;margin:0}
.bce_code .bce_code_ctrl .ctrl_btn_left,.bce_code .bce_code_ctrl .ctrl_btn_right{display:flex;flex-direction:column;margin:0}
.bce_code .ctrl_btn_left,.bce_code .ctrl_btn_right{display:flex;flex-direction:column;margin:0}
@@ -486,7 +487,7 @@ html,body{margin:0;padding:0;height:100%}
.bce_code_out .bce_code_out_stack{font-family:Consolas,Monaco,"Courier New",Menlo,monospace;overflow-y:scroll;overflow-x:auto;background:#FFF;color:#000;border:1px solid #888;flex-grow:1}
.bce_code_out .bce_code_out_left{flex-grow:1;margin:0 4px 4px 4px;height:300px;display:flex;flex-direction:column}
.bce_code_out .bce_code_out_right{height:300px;width:200px;margin:0 4px 4px 4px;display:flex;flex-direction:column}
-@media(max-width:767px){
+@media(max-device-width:767px){
.bce_code_out{flex-direction:column}
.bce_code_out .bce_code_out_left{flex-grow:0;height:100px}
.bce_code_out .bce_code_out_right{width:auto;height:150px}
diff --git a/www/data/css/styles_blogview_aoc.scss b/www/data/css/styles_blogview_aoc.scss
index 0e3ae40..9799576 100644
--- a/www/data/css/styles_blogview_aoc.scss
+++ b/www/data/css/styles_blogview_aoc.scss
@@ -70,6 +70,8 @@
padding-bottom: 0.5em;
}
+@include rdmedia_range(0,1) { .aoc_calendar { transform: scale(0.75); } } // cause I'm lazy
+
.aoc_calendar_row {
display: flex;
flex-direction: row;
diff --git a/www/data/css/styles_config.scss b/www/data/css/styles_config.scss
index 8276b5e..48cfa30 100644
--- a/www/data/css/styles_config.scss
+++ b/www/data/css/styles_config.scss
@@ -180,7 +180,7 @@ $COL_ADMIN_STATUS_DB_ERROR: #BB2222;
// [0] ResponsiveDesign Minimal Mobile
// content_width = auto
// header = vertical
-$RD_0_MINIMOBILE_MIN: 0px; /* 400px */
+$RD_0_MINIMOBILE_MIN: 0px;
$RD_0_MINIMOBILE_MAX: 767px;
// [1] ResponsiveDesign Normal Mobile
@@ -228,14 +228,17 @@ $RD_4_LARGEDESKTOP_MAX: 99999px;
@if ($max == 3) { $w2: $RD_3_MEDDESKTOP_MAX; }
@if ($max == 4) { $w2: $RD_4_LARGEDESKTOP_MAX; }
- @if (($min == 0) and ($max == 4)) { @return "(all)"; }
- @if ($min == 0 ) { @return "(max-width:"+$w2+")"; }
- @if ($max == 4 ) { @return "(min-width:"+$w1+")"; }
+ @if (($min == 0) and ($max == 4)) { @return "all"; }
+ @if ($min == 0 ) { @return "(max-device-width:"+$w2+")"; }
+ @if ($max == 4 ) { @return "(min-device-width:"+$w1+")"; }
- @return "(min-width:"+$w1+") and (max-width:"+$w2+")";
+ @return "(min-device-width:"+$w1+") and (max-device-width:"+$w2+")";
}
-@mixin rdmedia_range($min, $max) {
+@mixin rdmedia_range($min, $max)
+{
+
+ /* Level: #{$min} - #{$max} */
@media #{rdmedia_expr($min, $max)}
{
@@ -244,10 +247,12 @@ $RD_4_LARGEDESKTOP_MAX: 99999px;
}
}
-@mixin rdmedia($lvl) {
+@mixin rdmedia($lvl)
+{
+
+ /* Level: #{$lvl} */
@media #{rdmedia_expr($lvl, $lvl)}
{
-
@content;
}