diff --git a/brythonRunner/css/all.css b/brythonRunner/css/all.css index 11f64cd9..10caccce 100644 --- a/brythonRunner/css/all.css +++ b/brythonRunner/css/all.css @@ -4,21 +4,22 @@ html{ height: 100%; + background-image: url(../page/palin.png); + background-position: center; + background-repeat: no-repeat; + background-size: cover; } + body{ display: flex; flex-direction: row; - flex-wrap: nowrap; - justify-content: space-around; align-items: stretch; - /* height: 100%; */ - height: 100%; - margin: 0; + height: 98%; + margin-top: 10px; padding: 0; } - div.enigme{ width: 25%; height: 100%; @@ -27,11 +28,80 @@ div.enigme{ } div.editor_class{ - width: 50%; + width: 45%; min-height: 100%; margin-bottom: 0; + margin-right: 10px; } div.compiler_class{ - width: 25%; -} \ No newline at end of file + width: 30%; +} + +textarea { + font-size: .8rem; + letter-spacing: 1px; +} +textarea { + padding: 10px; + max-width: 95%; + max-height: 50%; + line-height: 1.5; + border-radius: 5px; + border: 1px solid #ccc; + box-shadow: 1px 1px 1px #999; +} + +@import url('https://fonts.googleapis.com/css?family=Lato:100&display=swap'); + + +div.compiler_class.container { + width: 400px; + height: 400px; + display: flex; + flex-direction: row; + align-items: stretch; +} + +.right { + width: 180px; + height: 60px; +} +.left { + width: 180px; + height: 60px; + position: relative; +} + +.btn { + width: 180px; + height: 60px; + cursor: pointer; + background: transparent; + border: 1px solid #11f830; + outline: none; + transition: 0.5s ease-in-out; + color: white; + font-size: 18px; + font-weight: 100; + position: absolute; +} + +svg { + left: 0; + top: 0; + stroke: #df0d0d; + stroke-dasharray: 150 480; + stroke-dashoffset: 150; + transition: 5s ease-in-out; +} + +.btn:hover { + transition: 0.5s ease-in-out; + background: #11f830; + opacity: 50%; +} + +.btn:hover svg { + stroke-dashoffset: -480; +} diff --git a/brythonRunner/css/test.css b/brythonRunner/css/test.css new file mode 100644 index 00000000..93df3c8b --- /dev/null +++ b/brythonRunner/css/test.css @@ -0,0 +1,65 @@ +@import url('https://fonts.googleapis.com/css?family=Lato:100&display=swap'); + +body, html { + width: 100%; + height: 100%; + margin: 0; + padding: 0; + background: #5CA4EA; + overflow: hidden; + font-family: 'Lato', sans-serif; +} + +.container { + width: 400px; + height: 400px; + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + display: flex; + justify-content: center; + align-items: center; +} + +.center { + width: 180px; + height: 60px; + position: absolute; +} + +.btn { + width: 180px; + height: 60px; + cursor: pointer; + background: transparent; + border: 1px solid #91C9FF; + outline: none; + transition: 1s ease-in-out; +} + +svg { + position: absolute; + left: 0; + top: 0; + fill: none; + stroke: #fff; + stroke-dasharray: 150 480; + stroke-dashoffset: 150; + transition: 1s ease-in-out; +} + +.btn:hover { + transition: 1s ease-in-out; + background: #4F95DA; +} + +.btn:hover svg { + stroke-dashoffset: -480; +} + +.btn span { + color: white; + font-size: 18px; + font-weight: 100; +} \ No newline at end of file diff --git a/brythonRunner/page/palin.png b/brythonRunner/page/palin.png new file mode 100644 index 00000000..af9ba940 Binary files /dev/null and b/brythonRunner/page/palin.png differ diff --git a/brythonRunner/page/palindrome.html b/brythonRunner/page/palindrome.html index e14a20e1..62ca0e80 100644 --- a/brythonRunner/page/palindrome.html +++ b/brythonRunner/page/palindrome.html @@ -29,7 +29,26 @@ return False
- + +
+
+ +
+ +
diff --git a/brythonRunner/page/test.html b/brythonRunner/page/test.html new file mode 100644 index 00000000..c32ec739 --- /dev/null +++ b/brythonRunner/page/test.html @@ -0,0 +1,22 @@ + + + + + + + Brython + + + +
+
+ +
+
+