forked from acl2018/acl2018-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.scss
141 lines (114 loc) · 2.57 KB
/
main.scss
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
---
# Only the main Sass file needs front matter (the dashes are enough)
---
@charset "utf-8";
// Our variables
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
$base-font-size: 16px;
$base-font-weight: 400;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5;
$spacing-unit: 30px;
$text-color: #111;
$background-color: #fdfdfd;
$brand-color: #2a7ae2;
$grey-color: #828282;
$grey-color-light: lighten($grey-color, 40%);
$grey-color-dark: darken($grey-color, 25%);
// Width of the content area
$content-width: 800px;
$on-palm: 600px;
$on-laptop: 800px;
// Minima also includes a mixin for defining media queries.
// Use media queries like this:
// @include media-query($on-palm) {
// .wrapper {
// padding-right: $spacing-unit / 2;
// padding-left: $spacing-unit / 2;
// }
// }
// Import partials from the `minima` theme.
@import "minima";
$top-nav-height: 40px;
$banner-height: 250px;
.site-header {
border: none;
}
.banner {
padding: 30px 15px;
/* margin-bottom: 30px; */
// height: 300px;
margin: 5px auto;
max-width: 911px;
height: $banner-height;
background-image: url({{ "/images/yarra-panorama.jpg" | prepend: site.github.url }});
background-repeat: no-repeat;
background-position: top center;
background-size: cover;
border: none;
}
.site-nav-wrapper {
max-width: $content-width - 2 * $spacing-unit;
float: none;
margin: 10px auto;
height: $top-nav-height;
padding: 0 $spacing-unit;
}
.site-nav {
line-height: $top-nav-height;
vertical-align: middle;
}
.site-title {
float: right;
font-weight: 500;
font-size: 50px;
a:link, a:visited {
color: white;
}
}
.site-sub-title-wrapper {
height: $banner-height;
}
.site-sub-title {
float: left;
vertical-align: bottom;
color: white;
position: absolute;
bottom: 10px;
.sub-title-main {
font-weight: 500;
font-size: 20px;
line-height: 110%;
margin-bottom: 10px;
}
.sub-title-extra {
font-size: 15px;
}
background-color: #424242;
opacity: 0.75;
padding: 10px;
}
.org-logo {
float: left;
vertical-align: middle;
img {
max-height: $top-nav-height - 10px;
}
}
.feed-link {
text-transform: uppercase;
a:link, a:visited {
color: #777;
}
::before {
content: "[ ";
}
::after {
content: " ]";
}
text-align: right;
font-size: 0.7em;
}
.date {
font-style: italic;
}