Skip to content

Commit 3b46b29

Browse files
committed
mobile
1 parent d583c57 commit 3b46b29

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

_includes/css/grayscale.css

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,19 @@ a:focus {
126126
padding: 0px 0;
127127
text-align: center;
128128
color: #fff;
129+
background: url(/img/bg.jpg) no-repeat bottom center scroll;
130+
background-color: {{ site.color.primary-dark }};
131+
-webkit-background-size: cover;
132+
-moz-background-size: cover;
133+
background-size: cover;
134+
-o-background-size: cover;
135+
box-sizing: border-box;
136+
}
137+
138+
.container img {
139+
width: 100%; /* Makes the image fill its container */
140+
height: auto; /* Maintains aspect ratio */
141+
display: block; /* Removes any extra space caused by inline-block */
129142
}
130143

131144

@@ -146,12 +159,6 @@ a:focus {
146159
.intro {
147160
height: 100%;
148161
padding: 0;
149-
background: url(/img/bg.jpg) no-repeat bottom center scroll;
150-
background-color: {{ site.color.primary-dark }};
151-
-webkit-background-size: cover;
152-
-moz-background-size: cover;
153-
background-size: cover;
154-
-o-background-size: cover;
155162
}
156163

157164
.intro .intro-body .brand-heading {

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="container">
55
<div class="row">
66
<div class="col-md-8 col-md-offset-2">
7-
<a href="https://github.com/qlibs"><img src="img/qlibs_logo.png" width="90%;"/></a>
7+
<img src="img/qlibs_logo.png" width="90%;"/>
88
<p class="intro-text">{{ site.description }}<br>
99
<br />
1010
<a href="#about" class="btn btn-circle page-scroll">

0 commit comments

Comments
 (0)