-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiscover.css
144 lines (129 loc) · 2.51 KB
/
discover.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
.roundborder{
border-radius: 10px;
}
.logopic{
padding-left:10px;
}
.sidenav {
height: 100%;
width: 160px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
padding-top: 20px;
}
.sidenav a {
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 25px;
color: #ffffff;
display: block;
}
.sidenav a:hover {
color: #000000;
background-color: #ddd;
border: 1px solid rgb(217, 217, 217);
border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.0470588) 0px 1px 0px 0px;
}
.main {
margin-left: 160px; /* Same as the width of the sidenav */
font-size: 28px; /* Increased text to enable scrolling */
padding: 0px 10px;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
/* Style the top navigation bar */
.topnav {
overflow: hidden;
background-color: #111;
}
/* Style the topnav links */
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px 14px;
text-decoration: none;
}
/* Change color on hover */
.topnav a:hover {
background-color: #ddd;
color: black;
border-radius: 10px;
}
.tnleft{
width: 90%;
float: left;
}
.tnright{
width: 10%;
float: right;
}
/* Create three equal columns that floats next to each other */
.column {
float: left;
width: 30%;
padding: 5px;
padding-top: 10px;
margin: 5px;
margin-right: 2px;
background-color: #ffffff;
margin: 0 auto;
content: center;
}
/* Clear floats after the columns */
.row:after {
width: 200px;
margin: 0 auto;
content: center;
display: table;
clear: both;
align-content: center;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
.column {
width: 100%;
}
}
.post{
padding: 10px;
border: 1px solid rgb(217, 217, 217);
border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.0470588) 0px 1px 0px 0px;
font-size: 15px;
}
* {
box-sizing: border-box;
}
.img-wrap{
width: 200px;
height: 150px;
position: relative;
display: inline-block;
overflow: hidden;
margin: 0;
}
#postimg {
display: block;
position: absolute;
top: 50%;
left: 50%;
max-height: 100%;
max-width: 100%;
transform: translate(-50%, -50%);
}
/*Carousal Css*/
.carousel-slide{
background-color: #ffffff;
}
.carousel-inner{
margin-left: 150px;
}