-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
97 lines (85 loc) · 1.87 KB
/
styles.css
File metadata and controls
97 lines (85 loc) · 1.87 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
html, body {
margin: 0;
padding: 0;
font-family: "Rubik", sans-serif;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
background-image: url(assets/bg.png);
background-size: cover;
}
#box {
background-color: #ffe0a2;
padding: 1.5em 3em;
border-radius: 1em;
border: solid #432d00 0.25em;
max-width: 25em;
margin: 0 0.5em 0 0.5em;
}
button {
background-color: blue;
padding: 1em 2em;
color: #ffe0a2;
font-family: "Press Start 2P", "Rubik", sans-serif;
border: solid rgb(0, 0, 79) 0.3em;
border-radius: 1em;
width: 100%;
box-shadow: 0 0.5em 0 rgba(0, 0, 0, 1); /* Raised effect */
transition: all 0.2s ease; /* Smooth transition */
margin-bottom: 1em;
}
button:hover {
background-color: rgb(78, 78, 247);
color: #ffe0a2;
box-shadow: 0 0.7em 0 rgba(0, 0, 0, 1); /* Slightly more raised on hover */
}
button:active {
background-color: blue;
color: #ffe0a2;
box-shadow: 0 0.2em 0 rgba(0, 0, 0, 1); /* Reduced shadow for pressed effect */
transform: translateY(0.2em); /* Simulates pressing down */
}
#display {
width: 100%;
min-height: 10em;
background-color: #fbeccb;
border-radius: 1em;
margin-bottom: 1em;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
padding: 1em 1em;
box-sizing: border-box;
text-align: center;
border: solid rgb(196, 165, 103) 0.25em;
}
#logo-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
#logo {
width: 5em;
height: 5em;
border-radius: 50%;
border: solid #432d00 0.25em;
}
h1 {
margin-bottom: 0.3em;
}
header p {
margin: 0.3em 0 2em 0;
}
h1, p {
text-align: center;
}
footer p {
color: #432d00;
font-weight: 500;
}