This repository has been archived by the owner on Jun 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.css
157 lines (127 loc) · 3.08 KB
/
main.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/*Set the font, vertical margin margin, background, and text color*/
body {
font-size: large;
font-family: verdana, arial, sans-serif;
/**/
margin: 1vh 0 1vh 0;
background: lightgreen;
color: purple;
}
/*Add a horizontal margin around the content*/
#content {
margin: 0 10vw 0 10vw;
}
/*Make iframes blend in seamlessly*/
iframe {
width: 100%;
border: none;
}
/*Center the header and footer*/
header, footer {
text-align: center;
}
/*Set the header's font-size*/
header {
font-size: 30px;
}
/*Make links purple*/
a {
color: purple;
}
/*Style links in the header*/
header a {
/*Try to keep the whole link together when pushed to another line*/
display: inline-block;
/*Keep the links from being jumbled up*/
margin: 0 3% 0 3%;
line-height: 2;
/*Make the text bold and green*/
font-weight: bold;
color: green;
/*Remove the underline*/
text-decoration: none;
}
/*Underline a header link when hovered over*/
header a:hover {
text-decoration: underline;
}
/*Give each paragraph an indent*/
p {
text-indent: 50px;
}
/*Make dividers purple*/
hr {
border: 2px solid purple;
}
img, .result-img {
width: 75%;
max-width: max-content;
}
/*Generic container style*/
.question, .submit-button, .results, .score-box {
/*Add a rounded border*/
border: 2px solid darkgreen;
border-radius: 20px;
/*Make it look 3D*/
box-shadow: 4px 4px 8px #00000030; /*Give it a faint shadow*/
background: linear-gradient(to bottom right, #FFFFFF30, #00000030); /*Make the background a gradient from transparent white to black*/
/*Make the text dark purple*/
color: #4C3957;
}
/*Style the question container*/
.question {
/*Keep everything from being jumbled together*/
padding: 0 50px 30px 50px;
margin-bottom: 20px;
}
/*Style the submit button*/
.submit-button {
/*Keep everything from being jumbled together*/
padding: 30px 50px 30px 50px;
margin-bottom: 20px;
/*Make it as wide as the questions*/
width: 100%;
/*Make the font larger and bold*/
font-size: larger;
font-weight: bold;
}
/*Make the submit button darker when hovered over*/
.submit-button:hover {
background: linear-gradient(to bottom right, #FFFFFF10, #00000050);
}
/*Make the submit button even darker when clicked*/
.submit-button:active {
background: linear-gradient(to bottom right, #00000010, #00000080);
}
/*make the canvas*/
#canvas {
background-image: url("assets/images/diagram.svg");
}
/*Style the score box*/
.score-box {
display: inline-block;
width: 60%;
text-align: center;
}
/*make the score labels display on seperate lines and not jumble together*/
.score {
display: block;
padding: 10px 0 20px 0;
}
/*Make an element centered*/
.centered {
text-align: center;
align-items: center;
}
/*Mobile*/
@media only screen and (max-width: 1200px) {
/*Give the body more horizontal margin*/
body {
margin-left: 3vw;
margin-right: 3vw;
}
/*Make the header font size larger*/
header {
font-size: 50px;
}
}