Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cesium_website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
websites
cesium_website
Commits
16f33e30
Commit
16f33e30
authored
5 years ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
[fix] Fix home image max width
parent
1e29d736
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/style.css
+23
-6
23 additions, 6 deletions
lib/style.css
with
23 additions
and
6 deletions
lib/style.css
+
23
−
6
View file @
16f33e30
...
@@ -670,8 +670,7 @@ p.CTA-button button:hover
...
@@ -670,8 +670,7 @@ p.CTA-button button:hover
body
#home
main
>
section
:nth-child
(
n
+
2
)
body
#home
main
>
section
:nth-child
(
n
+
2
)
{
{
color
:
var
(
--home-text-color
);
color
:
var
(
--home-text-color
);
background-color
:
var
(
--home-bg-color
);
background
:
var
(
--home-bg-color
)
linear-gradient
(
0deg
,
rgba
(
238
,
239
,
231
,
1
)
0%
,
rgba
(
246
,
247
,
239
,
1
)
100%
);
background
:
linear-gradient
(
0deg
,
rgba
(
238
,
239
,
231
,
1
)
0%
,
rgba
(
246
,
247
,
239
,
1
)
100%
);
padding-bottom
:
1rem
;
padding-bottom
:
1rem
;
/*overflow: hidden;*/
/*overflow: hidden;*/
}
}
...
@@ -705,17 +704,35 @@ body#home #showcase h2#USP
...
@@ -705,17 +704,35 @@ body#home #showcase h2#USP
text-align
:
center
;
text-align
:
center
;
}
}
body
#home
#showcase
:not
(
figure
)
{
body
#home
#showcase
h2
{
text-shadow
:
3px
3px
5px
rgba
(
26
,
35
,
126
,
0.9
);
}
body
#home
#showcase
p
{
text-shadow
:
1px
1px
2px
rgba
(
26
,
35
,
126
,
0.9
);
}
body
#home
#showcase
a
{
text-shadow
:
none
;
}
body
#home
#showcase
:not
(
figure
)
{
z-index
:
666
;
z-index
:
666
;
}
}
body
#home
#showcase
h2
#USP
+
p
body
#home
#showcase
h2
#USP
+
p
{
{
margin-top
:
0
rem
;
margin-top
:
0
;
margin-bottom
:
2rem
;
margin-bottom
:
2rem
;
}
}
body
#home
#showcase
div
img
{
max-height
:
529px
;
//
Avoid
to
large
resizing
}
@media
screen
and
(
max-width
:
767px
)
@media
screen
and
(
max-width
:
767px
)
{
{
body
#home
#showcase
div
body
#home
#showcase
div
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment