mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Some mobile and other fixes for docs
This commit is contained in:
48
docs/static/static/css/HPstyles.css
vendored
48
docs/static/static/css/HPstyles.css
vendored
@@ -24,8 +24,9 @@ body {
|
||||
|
||||
.header {
|
||||
display: table;
|
||||
height: 85%;
|
||||
height: 70%;
|
||||
width: 100%;
|
||||
min-height: 70%;
|
||||
position: relative;
|
||||
background: url(../img/converse-fields.jpg) no-repeat center center fixed;
|
||||
-webkit-background-size: cover;
|
||||
@@ -36,6 +37,43 @@ body {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
@media only screen
|
||||
and (min-device-width : 320px)
|
||||
and (max-device-width : 1024px)
|
||||
and (orientation : portrait)
|
||||
{
|
||||
.header {
|
||||
display: table;
|
||||
height: 70%;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
background: url(../img/converse-fields-mini.jpg) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
z-index: 99999;
|
||||
background-color: black;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen
|
||||
and (min-device-width : 320px)
|
||||
and (max-device-width : 1024px)
|
||||
and (orientation : landscape) {
|
||||
.header {
|
||||
display: table;
|
||||
height: 70%;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
background: url(../img/converse-fields-long.jpg) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
z-index: 99999;
|
||||
background-color: black;
|
||||
}
|
||||
}
|
||||
|
||||
.header .btn {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
#main {
|
||||
z-index: 99999;
|
||||
position: relative;
|
||||
@@ -136,7 +174,7 @@ i.service-icon:hover {
|
||||
display: table;
|
||||
height: 400px;
|
||||
width: 100%;
|
||||
background: url(../img/section-two.JPG) no-repeat center center fixed;
|
||||
background: url(/static/img/section-two.JPG) no-repeat center center fixed;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
@@ -168,7 +206,7 @@ i.service-icon:hover {
|
||||
}
|
||||
|
||||
#action {
|
||||
background: url(../img/gray.png);
|
||||
background: url(/static/img/gray.png);
|
||||
padding: 50px 0px 30px;
|
||||
position: fixed;
|
||||
bottom: 130px;
|
||||
@@ -219,8 +257,8 @@ div.point a {
|
||||
|
||||
|
||||
.btn-clear {
|
||||
color: #FFF;
|
||||
background-color: rgba(255, 255, 255, 0.19);
|
||||
color: #444;
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
border-color: #FFF;
|
||||
}
|
||||
|
||||
|
BIN
docs/static/static/img/converse-fields-long.jpg
vendored
Normal file
BIN
docs/static/static/img/converse-fields-long.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 421 KiB |
BIN
docs/static/static/img/converse-fields-mini.jpg
vendored
Normal file
BIN
docs/static/static/img/converse-fields-mini.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 91 KiB |
BIN
docs/static/static/img/converse-fields-sm.jpg
vendored
Normal file
BIN
docs/static/static/img/converse-fields-sm.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 229 KiB |
BIN
docs/static/static/img/converse-fields.jpg
vendored
BIN
docs/static/static/img/converse-fields.jpg
vendored
Binary file not shown.
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 681 KiB |
Reference in New Issue
Block a user