-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
132 lines (106 loc) · 2.18 KB
/
style.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
html, body {
width: 100%;
height: 100%;
}
a {
color: black;
text-decoration: none;
}
a:hover {
color: gray;
}
h1, h2, h3, h4, h5, h6 {
margin: 6px 0;
}
body {
display: flex;
flex-direction: column;
background: url('https://orig08.deviantart.net/fd6c/f/2016/024/b/5/peaches__neko_atsume__by_garymotherpuckingoak-d9p8yy8.png') no-repeat center center fixed;
background-size: cover;
font-family: 'Avenir Next', sans-serif;
}
.header-container,
.footer-container {
display: flex;
min-height: 85px;
border: 1px solid grey;
border-radius: 5px;
margin-top: 10px;
margin-bottom: 10px;
justify-content: center;
flex-direction: column;
align-items: center;
}
.main-container {
display: flex;
/* play around with these: */
/* they only work with display: flex; */
/*justify-content: flex-end;*/
/*justify-content: center;*/
/*justify-content: space-between;*/
/*justify-content: space-around;*/
/* for more info: */
/* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout */
border: 1px solid grey;
border-radius: 5px;
}
.click-button {
width: 100px;
height: 50px;
border-radius: 8px;
background-color: #E0A37F;
}
.reddit-container,
.photo-container {
width: 100%;
display: flex;
flex: 1;
flex-direction: column;
margin-top: 10px;
margin-right: 15px;
margin-bottom: 10px;
margin-left: 15px;
/*above can be combined into:*/
margin: 10px 15px 10px 15px;
padding: 6px 0;
border: 1px solid grey;
border-radius: 5px;
}
.reddit-container h4,
.photo-container h4 {
text-align: center;
}
.reddit-container,
.reddit-posts {
flex: 1;
}
.reddit-posts {
overflow: scroll;
}
.photos {
display: flex;
flex-wrap: wrap;
justify-content: center;
overflow: scroll;
}
.reddit-post {
display: flex;
justify-content: space-between;
font-size: 12px;
border: 1px dotted #FDEAC4;
margin: 6px;
padding: 4px;
}
.reddit-post a {
flex: 1;
}
.score {
align-self: center;
padding: 0 12px 0 2px;
}
.reddit-image {
margin: 2px 3px;
}
.reddit-image img {
width: 120px;
}