-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
107 lines (105 loc) · 2.93 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
body
{
display:flex;
justify-content: center;
min-height: 8vh;
background-color:rgb(41, 40, 40);
margin-top:5rem;
margin-bottom: 5rem;
}
.cal
{
display: grid;
justify-content: center;
/* align-items: center;*/
align-content: center;
position: relative;
min-height: 400px;
min-width: 300px;
box-shadow: 25px 25px 25px 25px rgba(0,0,0,0.5),10px 10px 70px rgba(0,0,0,0.35);
grid-template-columns: repeat(4,90px);
grid-template-rows:minmax(100px,auto) repeat(5,90px);
inset: -5px -5px 15px rgba(0,0,0,0.7);
inset: -5px -5px 15px rgba(0,0,0,0.7);
border-radius: 23px;
background-color: #333;
}
.cal>button
{
color: azure;
place-items: center;
text-align: center;
margin: 2px;
position: relative;
display:grid;
background:linear-gradient(110deg,#2d2d2d,#4d4d4d);
font-size: 2rem;
cursor: pointer;
font-size: large;
outline:none;
font-weight: 450;
border-radius: 10px ;
user-select: none;
box-shadow: inset -8px 0px 8px rgba(0,0,0,0.1) ,inset 0px -8px 8px rgba(0,0,0,0.5),inset 0px 0px 3px rgba(0,0,0,0.5),inset 10px 20px 26px rgba(0, 0, 0, 0.4);
}
.cal>button::before
{
content: '';
position:absolute;
top: 3px;
left: 3px;
bottom:15px;
right: 12px;
border-left:1px solid #0004;
border-top:1px solid #0009;
border-bottom:1px solid #0004;
box-shadow: -5px -5px 15px rgba(0,0,0,0.1),
10px 5px 10px rgba(0,0,0,0.5);
}
.cal>button:active
{
filter: brightness(0.8);
}
.cal>button:hover{
background-color: rgba(45, 47, 45, 0.9);
}
.big
{
grid-column:span 2 ;
}
#c
{
color: aliceblue;
background-color: red;
background:linear-gradient(110deg,#d80d0d,#d50000);
}
.out
{
margin:12px;
margin-top:15px;
grid-column: 1/-1;
padding: 10px;
background-color: #a7af7c;
border-radius: 10px;
text-align: right;
box-shadow: 0 0 2px rgba(0,0,0,0.7);
font-size:2rem;
justify-content: space-around;
flex-direction: column;
word-wrap: break-word;
word-break: break-all;
}
.out.pre-op
{
color:grey ;
}
.out.curr-op
{
color: black;
}