-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
119 lines (119 loc) · 2.27 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
108
109
110
111
112
113
114
115
116
117
118
119
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: rgb(40, 42, 71);
}
#wrapper {
margin: 0 auto auto auto;
width: 80%;
}
img {
display: block;
margin: 5px auto 5px auto;
height: 700px;
}
.hide {display: none;}
h1 {
text-align: center;
margin: 10px auto;
}
p {
font-size: 1.5em;
text-align: center;
margin: 10px auto 10px auto;
}
span {
font-size: 0.8em;
}
/* forms section --------------------------------------- */
form {
padding: 10px;
border: 1px black solid;
margin: auto 10px;
}
label {
/* puts the label on its own line */
display: block;
}
input[type="text"]:focus {
border: 3px green solid;
}
button {
margin-left: 150px;
margin-top: 10px;
}
#formErrors {
background-color: rgb(0, 0, 0);
width: 300px;
color: red;
margin-left: 50px;
}
#formErrors li {
padding: 10px auto;
margin-left: 20px;
}
.error {
color: red;
}
.formSection {
margin: 10px 20px;
}
/* tabs sections ------------------------------------ */
#tabs {
list-style: none;
width: 100%;
text-align: center;
}
#tabs li {
float: left;
width: 200px;
height: 50px;
margin-left: 20px;
margin-top: 20px;
background-color: lightcyan;
}
#tabs li a {
width: 100%;
height: 100%;
cursor: pointer;
display: inline-block;
border-top: 1px black solid;
border-left: 1px black solid;
border-right: 1px black solid;
}
#tabs li a.inactive {
background-color: lightgray;
color: rgb(117, 116, 116);
border: none;
}
#tabs li a.inactive:hover {
background-color: rgb(180, 180, 180);
color: rgb(245, 245, 245);
}
/* content container section ---------------------------- */
.container {
clear: both;
height: 800px;
background-color: rgb(121, 137, 143);
border: 1px solid black;
}
/* footer section ---------------------------------------- */
footer {
clear: both;
background-color: lightblue;
height: 50px;
}
footer ul {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
footer li {
float: left;
margin-left: 20px;
list-style: none;
}