-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (95 loc) · 1.76 KB
/
style.css
File metadata and controls
106 lines (95 loc) · 1.76 KB
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
@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');
html{
font-family: 'Press Start 2P';
}
body {
background: url(./background.gif);
background-color: rgb(32, 31, 31);
background-repeat: no-repeat;
background-size: 1400px 800px;
background-position: center;
padding-top: 600px;
}
.main{
text-align: center;
color: yellow;
}
.heading{
font-size: 60px;
font-family: 'Press Start 2P';
}
.container {
top: 50%;
left: 50%;
position: absolute;
transform: translate(-50%,-50%);
padding-left: 640px;
}
.msgbox{
position: absolute;
top: 0;
left: 0;
padding: 0;
margin-left: 100px;
width: 400px;
height: 400px;
font-family: 'Press Start 2P';
background-color: blue;
color: yellow;
text-align: justify;
font-size: 30px;
border: 10px solid black;
}
.robo{
position: absolute;
bottom: 0;
left: 0;
margin-left: 250px;
margin-bottom: 1px;
width: 300px;
height: 350px;
}
.btn {
font-size: 1.2em;
font-family: 'Press Start 2P', cursive;
width: 100px;
height: 70px;
background: #06C1DE;
border: 0px;
position: relative;
box-shadow:
inset -4px 2px 1px 1px grey,
inset -4px -2px 1px 1px lightgray,
inset 4px 0px 1px 1px lightgray;
}
.btn:hover {
cursor: pointer;
background-color: #06B6D1;
}
.btn:active {
top: 5px;
box-shadow:
-4px 2px 1px 1px grey,
-4px -2px 1px 1px lightgray,
4px 0px 1px 1px lightgray;
}
.btn::after {
content: '';
background: black;
position: absolute;
left: -2.5%;
top: 0;
width: 105%;
height: 100%;
z-index: -1;
}
.btn::before {
content: '';
background: black;
position: absolute;
left: 0;
top: -5%;
width: 100%;
height: 113%;
z-index: -1;
}