aboutsummaryrefslogtreecommitdiff
path: root/src/css/styles.css
blob: 4b772735e9ff6067d0d785c90dc6427d627a3364 (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
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;
    /* width: 400px; */
    display: inline;
    /* flex-direction: column; */
}

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

.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: 15%; 
    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;
}