]> git.ipfire.org Git - ipfire.org.git/blame - static/scss/style.scss
Navbar styling and Intro section for Website - Start - XL
[ipfire.org.git] / static / scss / style.scss
CommitLineData
b2051dd7
S
1/*!
2 * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com)
3 * Copyright 2011-2017 The Bootstrap Authors
4 * Copyright 2011-2017 Twitter, Inc.
5 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6 */
7
8// Core variables and mixins
9@import "bootstrap-4.0.0-alpha.6/scss/variables";
10@import "bootstrap-4.0.0-alpha.6/scss/mixins";
11@import "bootstrap-4.0.0-alpha.6/scss/custom";
12
13// Reset and dependencies
14@import "bootstrap-4.0.0-alpha.6/scss/normalize";
15// @import "bootstrap-4.0.0-alpha.6/scss/print";
16
17// Core CSS
18@import "bootstrap-4.0.0-alpha.6/scss/reboot";
19@import "bootstrap-4.0.0-alpha.6/scss/type";
20@import "bootstrap-4.0.0-alpha.6/scss/images";
21// @import "bootstrap-4.0.0-alpha.6/scss/code";
22@import "bootstrap-4.0.0-alpha.6/scss/grid";
23// @import "bootstrap-4.0.0-alpha.6/scss/tables";
24// @import "bootstrap-4.0.0-alpha.6/scss/forms";
25@import "bootstrap-4.0.0-alpha.6/scss/buttons";
26
27// Components
28@import "bootstrap-4.0.0-alpha.6/scss/transitions";
29@import "bootstrap-4.0.0-alpha.6/scss/dropdown";
30@import "bootstrap-4.0.0-alpha.6/scss/button-group";
31@import "bootstrap-4.0.0-alpha.6/scss/input-group";
32@import "bootstrap-4.0.0-alpha.6/scss/custom-forms";
33@import "bootstrap-4.0.0-alpha.6/scss/nav";
34@import "bootstrap-4.0.0-alpha.6/scss/navbar";
35@import "bootstrap-4.0.0-alpha.6/scss/card";
36// @import "bootstrap-4.0.0-alpha.6/scss/breadcrumb";
37// @import "bootstrap-4.0.0-alpha.6/scss/pagination";
38// @import "bootstrap-4.0.0-alpha.6/scss/badge";
39// @import "bootstrap-4.0.0-alpha.6/scss/jumbotron";
97ed546d 40// @import "bootstrap-4.0.0-alpha.6/scss/alert";
b2051dd7
S
41@import "bootstrap-4.0.0-alpha.6/scss/progress";
42@import "bootstrap-4.0.0-alpha.6/scss/media";
43@import "bootstrap-4.0.0-alpha.6/scss/list-group";
97ed546d
S
44// @import "bootstrap-4.0.0-alpha.6/scss/responsive-embed";
45// @import "bootstrap-4.0.0-alpha.6/scss/close";
b2051dd7
S
46
47// Components w/ JavaScript
48// @import "bootstrap-4.0.0-alpha.6/scss/modal";
49// @import "bootstrap-4.0.0-alpha.6/scss/tooltip";
50// @import "bootstrap-4.0.0-alpha.6/scss/popover";
51// @import "bootstrap-4.0.0-alpha.6/scss/carousel";
52
53// Utility classes
97ed546d
S
54@import "bootstrap-4.0.0-alpha.6/scss/utilities";
55
56.btn {
57 text-transform: uppercase;
58}
59
60.navbar-brand {
61 font-size: 2rem;
62 font-weight: 300;
63 img {
64 margin-right: 1rem;
65 transform: translateY(-5px);
66 }
67}
68
69
70section.intro {
71 min-height: 100vh;
72 background-image: url('../img/header-background.jpg');
73 background-size: cover;
74 background-attachment: fixed;
75 background-position: center top;
76 position: relative;
77 .branding {
78 padding-top: 192px;
79 margin-bottom: 64px;
80 text-align: center;
81 color: $blue-grey-600;
82 h1 {
83 font-weight: 300 !important;
84 color: $blue-grey-900;
85 strong {
86 font-weight: 700 !important;
87 }
88 }
89 h1:before {
90 content: "";
91 height: 120px;
92 width: 93px;
93 background-image: url('../img/ipfire-tux.png');
94 background-repeat: no-repeat;
95 background-position: center center;
96 background-size: contain;
97 margin-right: 32px;
98 display: inline-block;
99 position: relative;
100 top: 8px;
101 }
102 }
103 .btn-lg {
104 margin: 0 24px;
105 }
106 .page-scroll {
107 position: absolute;
108 bottom: 48px;
109 width: 66px;
110 left: 50%;
111 transform: translateX(-50%);
112 .btn {
113 width: 64px;
114 height: 64px;
115 fill: $red_900;
116 &:hover {
117 fill: white;
118 }
119 svg {
120 width: 24px;
121 height: auto;
122 position: absolute;
123 top: 50%;
124 transform: translate(-50%, -50%);
125 }
126 }
127 }
128}