blob: 308b12c393aa88d5f8bb422bd83ad8705eb473d7 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
// determines the max-width of the site at various resolutions
.site-width {
padding-left: @gutter-width / 4 * 3;
padding-right: @gutter-width / 4 * 3;
@media (min-width: @screen-sm-min) {
padding-left: @gutter-width;
padding-right: @gutter-width;
}
@media (min-width: @screen-lg-min) {
margin-left: auto;
margin-right: auto;
width: @container-lg;
}
}
// Only display content to screen readers
// See: http://a11yproject.com/posts/how-to-hide-content/
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
}
.center-img {
text-align: center;
img {
max-width: 100%;
}
}