Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
4533c983
Commit
4533c983
authored
Feb 23, 2021
by
Ben Wheeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
converted images around splash video to png, smaller file size
parent
17f96b49
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
352 deletions
+23
-352
src/components/intro/intro.scss
src/components/intro/intro.scss
+23
-23
static/images/splash/background-cropped.png
static/images/splash/background-cropped.png
+0
-0
static/images/splash/background.png
static/images/splash/background.png
+0
-0
static/svgs/intro/background-cropped.svg
static/svgs/intro/background-cropped.svg
+0
-144
static/svgs/intro/background.svg
static/svgs/intro/background.svg
+0
-185
No files found.
src/components/intro/intro.scss
View file @
4533c983
...
...
@@ -8,15 +8,15 @@
padding
:
0
;
justify-content
:
space-between
;
background-color
:
$ui-white
;
.intro-container
{
min-height
:
24rem
;
justify-content
:
space-between
;
background-color
:
$ui-blue
;
background-size
:
auto
;
background-size
:
624px
325px
;
background-repeat
:
no-repeat
;
background-position
:
right
;
background-image
:
url("/
svgs/intro/background-cropped.sv
g")
;
background-image
:
url("/
images/splash/background-cropped.pn
g")
;
}
/* flex: column */
...
...
@@ -27,22 +27,22 @@
margin-left
:
5%
;
min-height
:
20rem
;
}
.intro-video-container
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex
:
0
0
29rem
;
.intro-video
{
margin-right
:
4rem
;
}
.video-image
{
position
:
relative
;
cursor
:
pointer
;
margin-right
:
4rem
;
.watch-button
{
position
:
absolute
;
bottom
:
0
;
...
...
@@ -56,7 +56,7 @@
font-size
:
1rem
;
}
}
&
:after
{
display
:
block
;
position
:
absolute
;
...
...
@@ -84,7 +84,7 @@
padding
:
.625rem
.75rem
;
font-size
:
1rem
;
margin-right
:
.75rem
;
&
.create-button
:before
{
display
:
inline-block
;
margin-right
:
.5rem
;
...
...
@@ -97,7 +97,7 @@
vertical-align
:
-.35rem
;
content
:
""
;
}
&
.join-button
:before
{
display
:
inline-block
;
margin-right
:
.5rem
;
...
...
@@ -111,11 +111,11 @@
content
:
""
;
}
}
.intro-subnav
{
justify-content
:
center
;
background-color
:
$ui-blue-10percent
;
.subnav-button
{
margin
:
.625rem
.5rem
;
padding
:
.5rem
1
.5rem
;
...
...
@@ -143,28 +143,28 @@ $tabletLandscape: 1024px;
@media
only
screen
and
(
min-width
:
$mobile
)
and
(
max-width
:
$rowLayoutMin
-
1
)
{
.intro-banner
{
justify-content
:
flex-start
;
.intro-header
{
margin-top
:
1
.75rem
;
font-size
:
1
.5rem
;
}
.intro-container
{
flex-direction
:
column
;
background-position
:
bottom
32px
right
50%
;
background-size
:
40rem
;
background-image
:
url("/
svgs/intro/background.sv
g")
;
background-image
:
url("/
images/splash/background.pn
g")
;
.intro-content
{
align-items
:
center
;
min-height
:
8rem
;
margin
:
0
;
}
}
.intro-video-container
{
flex
:
0
0
24rem
;
.video-image
,
.video-player
{
margin
:
0
;
...
...
@@ -172,7 +172,7 @@ $tabletLandscape: 1024px;
&
:after
{
display
:
none
;
}
}
}
}
...
...
@@ -182,19 +182,19 @@ $tabletLandscape: 1024px;
.intro-subnav
{
flex-direction
:
row
;
// override flexrow default
}
}
@media
only
screen
and
(
max-width
:
$mobile
-
1
)
{
.intro-banner
{
.intro-container
{
background-image
:
none
;
.intro-content.column
{
margin
:
auto
5%
;
align-items
:
center
;
}
.intro-header
{
font-size
:
1
.5rem
;
}
...
...
@@ -203,5 +203,5 @@ $tabletLandscape: 1024px;
}
}
}
}
static/images/splash/background-cropped.png
0 → 100644
View file @
4533c983
11.7 KB
static/images/splash/background.png
0 → 100644
View file @
4533c983
13.2 KB
static/svgs/intro/background-cropped.svg
deleted
100644 → 0
View file @
17f96b49
This diff is collapsed.
Click to expand it.
static/svgs/intro/background.svg
deleted
100644 → 0
View file @
17f96b49
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment