-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
133 lines (114 loc) · 2.42 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/*** SET BODY STYLES ***/
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
}
/* SET STYLES FOR BANNER */
#jumbotron {
text-align: center;
background: #392986;
color: black;
text-shadow: black 0px 0px 100px;
background-image: linear-gradient(90deg, blue, rgba(125, 125, 255), white, white, white, rgba(225, 125, 125), red);
}
a {
color: #6387a5;
text-decoration: none;
}
a:hover {
color: #334859;
text-decoration: underline;
}
/* Footer styles. Set black background color, white text and padding */
footer {
background-color: #555;
color: white;
padding: 15px;
text-align: center;
margin-top: 20px;
}
/* Footer link styles. */
footer a {
color: #f7f7f7;
text-decoration: none;
}
footer a:hover {
color: #ccffcc;
text-decoration: underline;
}
.site-logo {
width: 2.5rem;
height: 2.5rem;
background-image: url('images/siteLogo.JPG');
background-size: cover;
display: block;
border-radius: 2.5rem;
}
/* Styles for custom components. */
.rand-word-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: 10px;
padding-bottom: 10px;
margin-bottom: 10px;
background-color: rgb(240, 240, 240);
border-radius: 15px;
}
.rand-word-container>div {
justify-content: center;
align-items: center;
}
#rand-word-btn {
background-color: rgb(225, 225, 225);
border: none;
padding: 12px 28px;
text-align: center;
font-size: 16px;
border-radius: 15px;
}
#rand-word-btn:hover {
background-color: rgb(212, 212, 212);
}
#rand-word-btn:active {
background-color: rgb(200, 200, 200);
}
.rand-words {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: monospace;
}
.img-cards {
justify-content: center;
text-align: center;
align-items: center;
}
.container-iframe {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 56.25%;
/* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
table,
th,
td {
border: 1px solid black;
padding: 5px;
}
table {
border-collapse: collapse;
}