-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ayush Gupta
committed
Feb 13, 2021
1 parent
cf824ed
commit ebb2768
Showing
8 changed files
with
166 additions
and
3 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |