aboutsummaryrefslogtreecommitdiff
path: root/css/calc.css
diff options
context:
space:
mode:
Diffstat (limited to 'css/calc.css')
-rw-r--r--css/calc.css167
1 files changed, 167 insertions, 0 deletions
diff --git a/css/calc.css b/css/calc.css
new file mode 100644
index 0000000..2b2e2df
--- /dev/null
+++ b/css/calc.css
@@ -0,0 +1,167 @@
+* {
+ font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
+ box-sizing: border-box;
+}
+
+.wrapper h1,
+.wrapper h2,
+.wrapper h3,
+.wrapper h4 {
+ font-weight: 900;
+}
+
+.wrapper {
+
+ font-weight: 300;
+ margin: 0;
+}
+
+.wrapper {
+ width: 100%;
+}
+
+.calc {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: flex-start;
+}
+
+.top {
+ max-width: 400px;
+ width: 100%;
+ background: #FFF9F9;
+ color: #444;
+ border-radius: 10px 10px 0 0;
+}
+
+.result {
+ box-sizing: border-box;
+ width: 100%;
+ height: 30px;
+ font-size: 16px;
+ margin: 0;
+ padding: 7px 10px 0px 10px;
+ text-align: left;
+ opacity: 0.6;
+ overflow: hidden;
+}
+
+.screen {
+ width: 100%;
+ height: 50px;
+ border: 0;
+ font-size: 30px;
+ padding: 0px 20px 5px 5px;
+ text-align: right;
+ display: flex;
+ align-items: baseline;
+ justify-content: flex-end;
+ overflow: hidden;
+}
+
+.hints {
+ opacity: 0.3;
+}
+
+.keyboard {
+ max-width: 400px;
+ width: 100%;
+ box-shadow: inset 10px -88px 160px 23px rgba(0, 0, 0, 0.8), 5px 35px 191px -43px rgba(255, 0, 255, 0.5);
+ margin-bottom: 50px;
+}
+
+.crow {
+ display: flex;
+ flex-direction: row;
+ align-items: stretch;
+ ;
+ justify-content: space-around;
+ ;
+ width: 100%;
+ min-height: 50px;
+ margin: auto;
+}
+
+.crow:last-child {
+ border-radius: 0px 0px 10px 10px;
+}
+
+.cb {
+ box-sizing: border-box;
+ width: 100%;
+ text-align: center;
+ padding: 5px;
+ background: rgba(255, 228, 240, 1);
+ color: #444;
+ cursor: pointer;
+ outline: 1px solid rgba(136, 14, 79, 0.1);
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: center;
+ box-shadow: none;
+ transition: all 0.2s;
+ -moz-user-select: none;
+ -khtml-user-select: none;
+ -webkit-user-select: none;
+ -o-user-select: none;
+}
+
+.cb:hover {
+ box-shadow: 10px 10px 18px -6px rgba(233, 30, 99, 0.5);
+ z-index: 1000;
+}
+
+.cb:active {
+ box-shadow: inset 10px 10px 18px -6px rgba(233, 30, 99, 0.5);
+}
+
+.screentext {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ justify-content: center;
+}
+
+.animated {
+ position: relative;
+ top: 0;
+ animation: movetext1 .2s 1;
+}
+
+@keyframes movetext1 {
+ 0% {
+ top: 100px;
+ }
+ 100% {
+ top: 0px;
+ }
+}
+
+.wrapper sup {
+ vertical-align: text-top;
+ font-size: 0.5em;
+}
+
+.inv {
+ display: none;
+}
+
+.lighter {
+ background-color: rgba(255, 235, 238, 1);
+ font-size: 1.2em;
+}
+
+.operands {
+ background-color: rgba(255, 155, 160, 1);
+ color: #eee;
+ font-size: 1.6em;
+}
+
+.enter {
+ background-color: rgba(254, 111, 118, 1);
+ color: #eee;
+ font-size: 2em;
+} \ No newline at end of file