Skip to content

Commit 3158b0a

Browse files
author
Leon Sandøy
committed
adding max-width to the sponsors so they don't consume the whole screen on mobile.
1 parent 10694ce commit 3158b0a

File tree

3 files changed

+25
-16
lines changed

3 files changed

+25
-16
lines changed

scss/pysite/style.scss

+23-14
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
put it in the UIKit shim file instead.
8282
*/
8383

84+
$light_grey: #8C8C8C;
85+
$dark_grey: #222222;
86+
$white: #FFFFFF;
87+
88+
8489
html {
8590
height: 100%;
8691

@@ -125,22 +130,26 @@ html {
125130
max-height: 2.2rem;
126131
}
127132

133+
.jetbrains {
134+
max-width: 35%;
135+
}
136+
128137
footer div.uk-section div.footer {
129-
color:white;
130-
background-color:#222222;
131-
display: flex;
132-
flex-wrap: wrap;
133-
align-items: center;
134-
justify-content: center;
135-
margin: 0.5rem 1rem 0.5rem 1rem;
138+
align-items: center;
139+
background-color: $dark_grey;
140+
color: $white;
141+
display: flex;
142+
flex-wrap: wrap;
143+
justify-content: center;
144+
margin: .5rem 1rem;
136145
}
137146

138147
@media only screen and (min-width: 505px) {
139148
div.footer div.vertical-divider {
140-
background-color: #8c8c8c;
141-
width: 1px;
142-
margin: 0 1.5% 0 1.5%;
143-
height: 3rem;
149+
background-color: $light_grey;
150+
height: 3rem;
151+
margin: 0 1.5%;
152+
width: 1px;
144153
}
145154
}
146155

@@ -150,12 +159,12 @@ footer div.uk-section div.footer {
150159
}
151160
}
152161

153-
div.footer div.right-align{
162+
div.footer div.right-align {
154163
text-align: center;
155164
}
156165

157-
div.footer div#linode{
158-
min-width:4%;
166+
div.footer div#linode {
167+
min-width: 4%;
159168
}
160169

161170
.cursor-default {

0 commit comments

Comments
 (0)