-
Notifications
You must be signed in to change notification settings - Fork 15
/
styles.css
151 lines (128 loc) · 2.69 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
/* Add some custom CSS for the cards */
.card {
margin-bottom: 20px;
border-radius: 10px;
box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
}
/* Position the avatar and username in the top left of the card */
.card-avatar {
height: 50px;
width: 50px;
border-radius: 50%;
position: absolute;
top: 10px;
left: 10px;
}
#settings-icon {
cursor: pointer;
padding-left: 20px;
opacity: 0.5; /* 50% transparency */
}
#settings-icon:hover {
opacity: 1; /* 100% opacity on hover */
}
.card-username {
position: absolute;
top: 10px;
left: 70px;
}
.card-text.text-right {
text-align: right;
margin-top: -20px !important;
}
/* Add padding to the card body to prevent overlay with avatar and username */
.card-body {
padding-top: 40px;
padding-bottom: 10px;
}
/* Style the media image */
.card-img-top {
width: 100%;
height: auto;
}
.card-title {
font-weight: normal;
}
.card-text {
margin-bottom: 1px !important;
}
.card {
font-size: 0.9em; /* adjust this value to get the desired text size */
}
/* Remove indent of URLs */
.invisible {
font-size: 0 !important;
line-height: 0 !important;
}
.hashtag {
margin-right: 0px !important;
}
/* Custom navbar styles */
.navbar {
height: 50px; /* reduce the height of the navbar */
background-color: rgb(227, 6, 19);
margin-bottom: 10px !important;
top: -10px !important;
padding-top: 14px !important;
}
.navbar-brand {
color: rgba(255, 255, 255, 0.8) !important; /* change the text color */
margin: 0 auto; /* center the brand name */
font-size: 0.9em;
}
.navbar-info {
color: rgba(255, 255, 255, 0.8) !important; /* change the text color */
margin: 0 auto; /* center the brand name */
font-size: 1.2em;
display: block !important;
}
.hashtag {
margin-right: 10px; /* add space between the hashtags */
}
.col-sm-3 {
padding-left: 0px !important;
padding-right: 0px !important;
}
/* Set the background color of the body */
body {
background-color: #cccccc;
margin-top: 00px !important;
margin-left: 20px !important;
margin-right: 20px !important;
}
@media (max-width: 1000px) {
.col-sm-3 {
flex: 0 0 50%;
max-width: 50%;
}
.navbar-brand {
display: none;
}
}
@media (max-width: 600px) {
.col-sm-3 {
flex: 0 0 100%;
max-width: 100%;
}
.navbar-brand {
display: none;
}
}
.avatar-img {
width: 50px;
height: 50px;
}
.container {
max-width: 2000px !important;
}
.footer {
background-color: rgb(200, 200, 200);
color: #f2f2f2;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
padding-top: 2px !important; /* reduce padding-top to half */
padding-bottom: 2px !important; /* reduce padding-bottom to half */
font-size: 0.9em;
}