all repos — www @ bd9f9a7d8331731ab93cf143a826654a21bf1ec1

deserthorns.net content + generator

index.html (view raw)

 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
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <meta name="theme-color" content="#374456">
    <title>deserthorns</title>
    <link rel="stylesheet" href="/assets/css/colors.css">
    <style>
        html {
            background: var(--f_high);
        }

        body {
            -webkit-text-size-adjust: 100%;
            margin: 0;
        }

        a {
            color: var(--f_med);
        }

        ul {
            list-style: none;
            text-align: center;
            font-size: 1.25rem;
            padding: 0;
        }

        li {
            padding-bottom: 1rem;
        }

        .content {
            margin: 3rem auto 8rem;
            border: 3px solid var(--b_inv);
            padding: 2rem;
            box-shadow: 8px 8px var(--background);
            max-width: 30rem;
            background: var(--background);
        }

        .ident-imgs {
            display: flex;
            flex-direction: row;
            justify-content: center;
        }

        .logo {
            display: block;
            width: 8rem;
            height: 8rem;
            margin: 0 auto;
        }

        .name {
            display: block;
            letter-spacing: 0.5rem;
            font-family: monospace;
            color: var(--b_high);
            font-size: 2rem;
            margin-left: 1rem;
            text-align: center;
            animation: 1s ease-in-out fade-in, 1s ease-in-out spacing;
        }

        h2 {
            letter-spacing: 0.5rem;
            font-family: monospace;
            color: var(--b_high);
            text-align: center;
        }

        blockquote {
            color: var(--f_high);
            text-align: center;
            margin: 3rem 0.5rem 1rem;
        }

        blockquote + p {
            color: var(--f_med);
            text-align: center;
        }

        blockquote + p > span {
            font-style: italic;
        }

        .round-img {
            width: 6rem;
            height: 6rem;
            border-radius: 50%;
            display: block;
            margin: 0 auto;
        }

        .header {
            height: 40vh;
        }

        .header-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            image-rendering: crisp-edges;
        }

        .divider > hr {
            top: -4rem;
            position: relative;
            padding: 0;
            margin: 0;
            animation: none;
            border: 1px solid var(--b_low);
        }

        .divider > .round-img {
            z-index: 1;
            position: relative;
            border: 1rem solid var(--background);
            image-rendering: crisp-edges;
        }

        nav {
            margin-bottom: 4rem;
        }

        nav ul {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

        nav li {
            padding: 0;
            margin-top: 1rem;
        }

        nav li > a {
            border: 1px solid var(--b_med);
            width: fit-content;
            padding: 0.25rem 0.5rem;
            margin: 0.5rem;
            box-shadow: 4px 4px var(--b_low);
            text-decoration: none;
            font-family: monospace;
            font-size: 1rem;
        }

        nav li > a:hover {
            background: var(--b_high);
            color: var(--background);
            border-color: var(--background);
            box-shadow: 4px 4px var(--b_high);
        }

        @media screen and (max-width: 600px) {
            .header {
                height: 30vh;
            }

            .content {
                max-width: 17rem;
            }

            .name {
                font-size: 1.5rem;
            }

            .logo {
                width: 6rem;
                height: 6rem;
            }

            .round-img {
                width: 4rem;
                height: 4rem;
            }

            .divider > hr {
                top: -3rem;
            }
        }

        @keyframes fade-in {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes spacing {
            from {
                letter-spacing: normal;
            }

            to {
                letter-spacing: 0.5rem;
            }
        }
    </style>
</head>

<body>
    <div class="header">
        <img class="header-img" src="/assets/img/sunset-d.png">
    </div>
    <div class="content">
        <img class="logo" src="/assets/svg/logo-light.svg">
        <h1 class="name">deserthorns</h1>
        <nav>
            <ul>
                <li>
                    <a href="/wiki">wiki</a>
                </li>
                <li>
                    <a href="/etc/do">do</a>
                </li>
                <li>
                    <a href="/wiki/about">about</a>
                </li>
                <!-- <li>
                    <a href="/now">now</a>
                </li>
                <li>
                    <a href="/music">music</a>
                </li>
                <li>
                    <a href="/photos">photos</a>
                </li>
                 -->
                <li>
                    <a href="https://git.deserthorns.net/">git</a>
                </li>
                <!-- <li>
                    <a href="/etc">etc</a>
                </li> -->
            </ul>
        </nav>
        <div class="divider">            
            <img class="round-img" src="/assets/img/vista-d.png">
            <hr>
        </div>
        <blockquote>
            <p>Your hearts know in silence the secrets of the days and the nights.</p>
            <p>But your ears thirst for the sound of your heart’s knowledge.</p>
        </blockquote>
        <p>- Khalil Gibran, <span>The Prophet</span></p>        
    </div>
</body>

</html>