-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
215 lines (171 loc) · 3.17 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
.logo{
color: blue;
font-weight: 750;
font-size: 1.5em;
font-family: monospace;
}
.navBar{
background: blue !important;
font-family: monospace !important;
}
body{ /*Style for the whole body*/
background-color: cornflowerblue
}
.topicLogo{
display: block;
margin-left: auto;
margin-right: auto;
width: 30%;
}
/*Responsiveness of the mainDiv*/
@media (max-width: 992px) {
.mainDiv{
margin: auto;
width: 80% !important;
height: autos;
padding: 10px;
background-color: white
}
}
.mainDiv{ /*Style for mainDiv class*/
margin: auto;
width: 100%;
height: autos;
padding: 10px;
background-color: white
}
.divSection { /*Style for divSection class*/
margin: auto;
}
h1, h2, h3{ /*Style for all h1, h2 and h3 headings*/
text-align: center;
}
h4{ /*Style for all h4 headings*/
text-align: center;
color:cornflowerblue;
font-family: sans-serif;
}
p{ /*Style for all paragraphs*/
text-align: justify;
font-family: sans-serif;
padding: 0px 20px 0px 20px
}
p.subtitle{ /*Style for subtitle class which is located inside paragraphs*/
text-align: center;
font-family: sans-serif;
padding: 0px 20px 0px 20px
}
.column { /*Style for column class*/
padding: 0px 20px;
float: left;
width: 50%;
}
/* Clear floats after the columns */
.row:after {
display: table;
clear: both;
}
ol /*Used to indent all ordered lists*/
{
margin-left: 40px;
}
.subol /*Style for subol class - used to indent 'a' type ordered lists*/
{
margin-left: 60px;
}
.codes /*Style for codes class*/
{
text-align: left;
background-color:#CCC;
font-family: "Lucida Console", Monaco, monospace;
font-size: 14px;
margin-left: 50px;
margin-right: 50px;
}
#bluefont /*Style for bluefont id - used to make font blue*/
{
color:#06C;
}
#redfont /*Style for redfont id - used to make font red*/
{
color:#C00;
}
#greenfont /*Style for greenfont id - used to make font green*/
{
color: #396;
}
.links /*Style for link class*/
{
color: #909;
font-size: 18px;
text-decoration: underline;
}
aside /*Styles for all aside tags - will be yellow*/
{
background-color:#FFC;
font-style:italic;
}
.tipicon /*Small icon for tips*/
{
height: 50px;
width: 50px;
float: left;
}
footer /*Styles for the footer*/
{
background-color: white;
}
/*Image gallery in the home page*/
div.gallery {
border: 1px solid #ccc;
height: 450px;
}
div.gallery:hover {
border: 1px solid #777;
}
div.gallery img {
width: 200px;
height: 200px;
margin-top: 10px;
}
div.desc {
padding: 15px;
text-align: center;
}
* {
box-sizing: border-box;
}
.responsive {
padding: 0 6px;
float: left;
width: 24.99999%;
}
.clearfix:after {
content: "";
display: table;
clear: both;
}
/*Responsiveness for the image gallery in the home page*/
@media only screen and (max-width: 1024px) {
.responsive {
width: 49.99999%;
margin: 6px 0;
}
div.gallery img {
width: 100px;
height: 100px;
}
}
@media only screen and (max-width: 500px) {
.responsive {
width: 100%;
}
div .gallery
{
height: 300px;
}
div.gallery img {
width: 100px;
height: 100px;
}
}