Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_footer.scss « sass « assets - github.com/Lednerb/bilberry-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e1260788d03c7e466b40de407fa644ef826cd189 (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
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
footer {
    border-top: 3px solid $footer-border-color;
    border-bottom: 3px solid $footer-border-color;
    background-color: $footer-background-color;

    .container {
        padding: 4rem 0;
        display: flex;
        justify-content: space-between;
        font-size: 0.9em;
        font-family: $headline-font;

        div {
            &:not(:first-child) {
                margin-left: 5%;
            }
        }

        &:after {
            display: none;
        }

        strong {
            text-transform: uppercase;
            color: $footer-headline-color;
            padding-bottom: 0.75em;
        }

        ul {
            list-style: none;
            margin-top: 1.25em;

            li {
                border-bottom: 1px solid #eee;
                padding-right: 10px;
            }

            a {
                position: relative;
                left: 0;
                display: inline-block;
                transition: left 0.3s ease-in-out;
                color: $highlight-color;
                font-family: $content-font;

                &:hover {
                    left: 10px;
                    color: $base-color;
                }
            }
        }

        .right {
            .external-profiles {
                width: 100%;
                margin-bottom: 2em;

                a {
                    font-size: 2em;
                    margin: 0 0.5rem;
                    color: #444;

                    &:hover {
                        color: $highlight-color;
                    }
                }

                // Workaround to avoid conflicts with Adblock
                // See: https://github.com/Lednerb/bilberry-hugo-theme/issues/95
                .fa-facebook-adblock-proof:before {
                    content: "\f09a";
                }

                .fa-twitter-adblock-proof:before {
                    content: "\f099";
                }

                .fa-google-plus-official-adblock-proof:before {
                    content: "\f2b3";
                }

                .fa-youtube-adblock-proof:before {
                    content: "\f167";
                }
            }

            .languages {
                width: 100%;
                margin-left: 0;
                margin-bottom: 2em;

                a {
                    text-transform: uppercase;
                    color: $highlight-color;
                    letter-spacing: 0.1em;

                    &.active {
                        font-weight: bold;
                    }

                    &:hover {
                        color: $text-color;
                    }

                    &:not(:last-child):after {
                        content: " | ";
                        color: $text-color !important;
                    }
                }
            }

            .archive {
                width: 100%;
                margin-left: 0;
            }

            strong {
                display: block;
            }
        }
    }
}

.credits {
    .container {
        display: flex;
        justify-content: space-between;
        padding: 4rem 0;
        font-size: 0.8em;
        color: #777;

        &:after {
            display: none;
        }
    }
}