~kmdodrill/my-brother-lives-in-a-canyon-website

ref: 5a2626f4d680a541ef36f5f9e4273e3b1e538cc1 my-brother-lives-in-a-canyon-website/sass/site.scss -rw-r--r-- 2.9 KiB
5a2626f4Kenneth Dodrill update with storefront links 3 months ago
                                                                                
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
152
153
154
155
156
157
158
159
160
161
162
163
@charset "utf-8";

@font-face {
    font-family: manrope-regular;
    src: url("/font/Manrope-Regular.otf")
}

$bg-color: #49343d;
$list-bg-color: #5b455f;
$text-color: #dce2e1;
$link-color: #b86343;
$link-hover-color: #bc8563;
$font-family: manrope-regular;

body {
    margin: 0 auto;
    color: $text-color;
    font-family: $font-family;
}

html, body {
    background-color: $bg-color;
}

a {
    text-decoration: none;
    color: $link-color;
}

a:hover {
    color: $link-hover-color
}

img {
    display: block;
    margin: 0 auto 1rem;
    max-width: 100%;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

article {
    margin: 0 auto;
    line-height: 1.3;
    text-align: left;
    padding-top: 1rem 1rem 3rem 1rem;

    .storefront-links {
        li {
            height: auto !important;
            justify-content: center;
        }

        img {
            border-radius: 0px;
        }
    }

    h2 {
        font-size: 40px;
        display: grid;
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: center;
    }

    h3 {
        font-size: 30px;
        display: grid;
        justify-content: center;
    }

    p {
        font-size: 20px;
        display: grid;
        justify-content: center;
        padding: 2rem 1rem;
    }

    ul {
        display: grid;
        justify-content: center;
        padding-top: 1rem;
        padding-left: 0;
        padding-bottom: 2.5rem;
        background-color: $list-bg-color;
        
        li {
            font-size: 20px;
            padding: .5rem 1rem;
        }
    }

    img {
        border-radius: 10px;
    }

    .links {
        ul {
            background-color: $bg-color;
            padding-bottom: 1rem;
        }
        li {
            display: block;
            text-align: center;
            padding: 0 1rem;
        }
    }

    .screenshots, .storefront-links {
        ul {
            display: flex;
            flex-wrap: wrap;
            padding-left: 0;
            padding-bottom: 1rem;
            background-color: #513e45;
        }

        li {
            display: flex;
            height: 40vh;
            flex-grow: 1;
        }

        img {
            max-height: 100%;
            max-width: 100%;
            object-fit: cover;
            vertical-align: bottom;
            border-radius: 5px;
        }

        @media (max-aspect-ratio: 1/1) {
            li {
                height: 30vh;
            }
        }

        @media (max-height: 480px) {
            li {
              height: 80vh;
            }
        }

        @media (max-aspect-ratio: 1/1) and (max-width: 480px) {
            ul {
              flex-direction: row;
            }
          
            li {
              height: auto;
              width: 100%;
            }
          
            img {
              width: 100%;
              max-height: 75vh;
              min-width: 0;
            }
        }
    }
}