Skip to content

Commit

Permalink
Images
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayush Gupta committed Feb 13, 2021
1 parent cf824ed commit ebb2768
Show file tree
Hide file tree
Showing 8 changed files with 166 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .gitignore

This file was deleted.

14 changes: 14 additions & 0 deletions css/body.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
img.github {
width: 10%;
height: 10%;
cursor: pointer;
}

footer {
position: fixed;
left: 0;
bottom: 0;
font-size: 60%;
margin: 1.5%;
font-style: italic;
}
84 changes: 84 additions & 0 deletions css/calculator.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
.calculator {
margin-left: 5px;
}

.display,
.blur-display {
color: white;
text-align: right;
margin-top: 30px;
margin-right: 30px;
font-size: 75px;
height: 90px;
}

.blur-display {
height: 0;
padding: 0;
font-size: 15px;
margin-top: 30px;
margin-bottom: 0px;
}

.operator,
.other-operator,
.integer div {
text-align: center;
vertical-align: middle;
font-weight: bold;
font-size: x-large;
line-height: 52px;
color: white;
width: 52px;
height: 52px;
border-radius: 50%;
margin: 10px;
float: left;
}

.operator:hover,
.other-operator:hover,
.integer div:hover {
cursor: pointer;
}

.operator {
float: none;
margin-left: 225px;
margin-bottom: 12px;
background-color: orange;
}

.operator:hover {
background-color: rgb(255, 102, 0);
}

.other-operator {
color: black;
background-color: grey;
}

.other-operator:hover {
background-color: dimgray;
}

.integer {
margin-right: 10px;
}

.integer div {
display: inline;
margin-top: 1px;
background-color: slategray;
}

.integer div:hover {
background-color: rgb(50, 70, 125);
}

.integer .zero {
text-align: left;
text-indent: 25px;
border-radius: 40px;
width: 124px;
}
62 changes: 62 additions & 0 deletions css/phone.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
body {
font-family: Arial, Helvetica, sans-serif;
}

.phone {
/* To align the element */
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
margin: auto;
/* Set custom property of the element */
background-color: black;
border: 5px solid grey;
border-radius: 35px;
width: 300px;
height: 510px;
}

.camera,
.speaker {
position: relative;
height: 4px;
}

.speaker {
background-color: rgb(50, 50, 50);
margin: 10px 130px auto;
border-radius: 20px;
width: 40px;
}

.camera {
background-color: rgb(20, 20, 55);
margin: -4px 180px auto;
width: 5px;
height: 5px;
border-radius: 50%;
}

.time {
color: white;
font-size: 8px;
text-indent: 30px;
letter-spacing: 1px;
}

img {
position: relative;
height: 12px;
width: auto;
float: right;
}

img.wifi {
margin: -12px 30px;
}

img.battery {
margin: -12px 50px;
}
Binary file added images/GitHub-Mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/battery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/wifi-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"author": "Ayush Gupta",
"version": "0.1-beta",
"username": "GuptaAyush19",
"github": "https://github.com//GuptaAyush19/calculator"
}

0 comments on commit ebb2768

Please sign in to comment.