-
Notifications
You must be signed in to change notification settings - Fork 0
/
mystyles.css
103 lines (88 loc) · 1.78 KB
/
mystyles.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
body {
background-color: lightcyan;
}
h1 {
color: navy;
margin-left: 20px;
}
h2 {
color: black;
margin-left: 2px;
}
/* Three columns side by side */
.column {
float: left;
width: 30%;
margin-bottom: 16px;
padding: 0 8px;
}
/* Display the columns below each other instead of side by side on small screens */
@media screen and (max-width: 650px) {
.column {
width: 100%;
display: block;
}
}
/* Add some shadows to create a card effect */
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
/* Some left and right padding inside the container */
.container {
padding: 0 16px;
height: 410px;
text-align:justify;
}
/* Clear floats */
.container::after, .row::after {
content: "";
clear: both;
display: table;
}
.title {
color: grey;
}
.button {
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
}
.button:hover {
background-color: #555;
}
/* This is for the heart shaped icon under the 'Mentors we'd love to work with.' section. Instruction via https://css-tricks.com/forums/topic/icon-sizes-how-can-i-resize-them/ */
.my-icon {
width: 20px;
height: 20px;
}
blockquote {
background: #F0F8FF;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.25em;
vertical-align: -0.4em;
}
blockquote p {
display: inline;
}
/* This code was added on 07-01-2021 (July 01st) as it was recommended by RG (Rusith). This is what this code does --> Aligning the text to 'justify' for lists and paragraphs */
li {
text-align:justify;
}
p {
text-align:justify;
}