-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
75 lines (65 loc) · 1.72 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
/* Set the background color, text color, and font for the body */
body {
background-color: black; /* Set the background color to black */
color: white; /* Set the text color to white */
font-family: 'mona-sans', sans-serif; /* Set the font to 'mona-sans', and use sans-serif as a fallback */
}
/* Style text input fields */
input[type=text] {
background-color: white;
color: black;
font-size: 1.2em;
padding: 10px;
}
/* Style h1 elements */
h1 {
color: white; /* Set the text color to white */
}
/* Style the submit button */
input[type=submit] {
background-color: #2ea44f;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-family: 'mona-sans', sans-serif;
font-size: 1em;
padding: 8px 16px;
margin-top: 10px;
}
/* Change the submit button color on hover */
input[type=submit]:hover {
background-color: #2a8c3e;
}
/* Style the welcome message */
.welcome-message {
font-family: 'mona-sans', sans-serif;
font-size: 2em;
color: white;
}
/* Style the refresh message */
.refresh-message {
font-family: 'mona-sans', sans-serif;
font-size: 1.2em;
color: white;
}
/* CSS to position the content a bit below the top of the page */
#content {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
height: 100vh;
text-align: center;
padding-top: 50px; /* Adjust this value to move the content up or down */
}
/* CSS to style the error message */
#error {
color: red;
margin-bottom: 10px;
margin-top: 20px;
}
#errorContainer {
word-wrap: break-word;
}
/* Enjoying this callenge? We have 10 more challenges for you in the Secure Code Game. Play at gh.io/securecodegame */