diff --git a/calc.css b/calc.css index b53e9a1..08ef7e1 100644 --- a/calc.css +++ b/calc.css @@ -12,6 +12,12 @@ border-right: rgba(0, 0, 0, 0); border-bottom: rgba(0, 0, 0, 1); text-align: right; + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Old versions of Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; } .numberbutton { width: 100px; @@ -63,3 +69,17 @@ .zerobutton:active { background-color: rgba(110, 110, 110, 0.5); } +#eingabe:hover { + background-color: rgba(10, 10, 10, 0.5); +} +#calc { + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Old versions of Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; +} +button { + outline: none; +} \ No newline at end of file diff --git a/calculator.php b/calculator.php index f2a6843..dbbd63e 100644 --- a/calculator.php +++ b/calculator.php @@ -21,6 +21,7 @@ + @@ -37,14 +38,15 @@ 1 2 3 - + + + - 0 - , - = + 0 + Pi + , + = - +