summaryrefslogtreecommitdiffstats
path: root/scss/style.scss
blob: fffd9ca37029525d9af9cb818e911d0da8fcb26d (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
// 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;
        }
    }
}


// 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
a.feed {
    border-bottom: 0px;
}

.feed-icon {
    content: url('/assets/img/feed.svg');
    background-color: $fsfi-dark;
    max-width: 17px;
    border-radius: 3px;
    margin-left: 2px;
}

// 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;
        }
    }
}