summaryrefslogtreecommitdiffstats
path: root/scss/style.scss
blob: 26b1b409b444ef2e6ce3600d84da3afebcb9cfcc (plain) (blame)
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
// Mixins.

@mixin block-border($width) {
    border: $width solid $fsfi-dark;
    padding: 5px 20px 15px 20px;
}

// Common
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

a {
    border-bottom: 1px solid rgb(230, 230, 230);
}

a:hover {
    background-color: rgb(250, 250, 250);
    color: rgb(0, 0, 0);
    border-bottom: 0px;
}

.main {
    margin-top: 20px;
    margin-bottom: 20px;
    flex: 1 0 auto;
}


// Nav
nav {
    a {
        border-bottom: 0px;
    }

    @include until($desktop - 1) {
        img.logo {
            margin-top: 0px;
            max-width: 300px;
            max-height: 78px;
        }
    }

    @include desktop {
        img.logo {
            margin-top: 15px;
            max-width: 400px;
            max-height:104px;
        }
    }
}

// Language Block
@include until($desktop - 1) {
    .lang-block {
        margin-right: 5px;
    }
}

// Home - Banner

.fsfi-banner header {
    display:none;
}

// Home - News, Articles.

.fs,
.news,
.articles {
    .wrapper { @include block-border(2px); }

    .title {
        display: inline-block;
        margin-bottom: 0px;
    }

    .title span {
        color: $fsfi-dark;
        font-size: 1.3rem;
        text-transform: uppercase;
    }
}

// Feed, Social
@mixin icon($url) {
    content: url($url);
    background-color: $fsfi-dark;
    max-width: 17px;
    border-radius: 3px;
    margin-left: 2px;
}

a.feed {
    border-bottom: 0px;
}

.feed-icon {
    @include icon('/assets/img/feed.svg');
}

.mastadon-icon {
    @include icon('/assets/img/mastadon.svg');
}

.email-icon {
    @include icon('/assets/img/email.svg');
}

.matrix-icon {
    @include icon('/assets/img/matrix.svg');
}

.xmpp-icon {
    @include icon('/assets/img/xmpp.svg');
}

.follow-block {
    p:not(:last-child) {
        margin-bottom: 5px;
    }
    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0 0 0 0;

        li {
            display: inline;
            margin-top: 1px;

            a {
                border-bottom: 0px;
            }
        }
    }
}


// Join
.fellowship-type {
    border: 2px solid $fsfi-dark;
    margin-bottom: 15px;

    .content header {
        margin-bottom: 10px;
    }

    .content h1 {
        font-size: 1.1em;
    }

    .content p {
        margin-bottom: 2px;
    }

    .content ul {
        margin-top: 3px;
        margin-bottom: 3px;
    }
}

// News

.news-item,
.article {
    .content {
        .meta {
            margin-bottom: 0.9em;
            text-transform: uppercase;
            font-size: 0.8em;

            .author {
                display: inline-block;
                padding-right: 10px;
            }

            .date {
                display: inline-block;
                border-left: 1px solid $fsfi-light;
                padding-left: 10px;
            }

        }

        .header h1 {
            margin-bottom: 0em;
        }
        .header h2 {
            margin-top: 0.4em;
            margin-bottom: 0.3em;
        }
    }
}

// i18n
.lang {
    display: flex;
    flex-direction: row-reverse;

    p {
        border: 1px solid $fsfi-light;
        padding: 1px 8px 1px 8px;
    }
}