aboutsummaryrefslogtreecommitdiff
path: root/src/css/styles.css
blob: cb61c991fc898a4850d9c18bfb4db2170a14c1d0 (plain)
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
body {
    padding: 15px;
}

.essay{
    width: 70%;
}

.figure {
    border: 1px solid #777777; 
    background-color: #dddddd;
    padding: 10px;
}

.item {
    margin: 10px;
    border: 2px solid #777777;
    border-radius: 5px;
    padding: 7px;
}

img {
    image-orientation: from-image;
}

.card {
    margin: 1em;
    padding: 2%;
    border: 1px solid #aaaaaa;
    display: inline;
    min-width: 200px;
}

.card img {
    width: 100%;
    padding: 2%;
    
}

.main-page{
    display: flex;
    flex-direction: row;
}

.feed {
    width: 90%;
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 900px) {
    .card-img {
        display: flex;
        flex-flow: row wrap;
        align-content: flex-start;
    }
    .card img {
        width: 400px;
    }
}

.sidebar {
    height: 100vh; 
    width: 100px; 
    margin: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    display: block;
    margin: 5px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    width: 100%;
    height: 2em;
    border-radius: 0;
    text-align: center;
    font-size: 20px;
}

.date {
    font-style: italic;
    margin: 0em;
}