Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bielefeld-CeBiTec
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
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2024 Competition
Bielefeld-CeBiTec
Commits
7d79b5db
Commit
7d79b5db
authored
5 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
header
parent
f3cedd24
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#468099
failed
5 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/App/App.css
+10
-3
10 additions, 3 deletions
src/App/App.css
src/components/Headings.tsx
+27
-4
27 additions, 4 deletions
src/components/Headings.tsx
with
37 additions
and
7 deletions
src/App/App.css
+
10
−
3
View file @
7d79b5db
...
@@ -265,7 +265,7 @@ color: var(--text-primary);
...
@@ -265,7 +265,7 @@ color: var(--text-primary);
max-width
:
100%
!important
;
max-width
:
100%
!important
;
}
}
.header-container
{
.header-container
{
padding-top
:
100px
;
padding-top
:
0
;
padding-bottom
:
10px
;
padding-bottom
:
10px
;
background-color
:
var
(
--ourbeige
);
background-color
:
var
(
--ourbeige
);
}
}
...
@@ -421,7 +421,6 @@ margin-bottom: 10vw !important;
...
@@ -421,7 +421,6 @@ margin-bottom: 10vw !important;
}
}
.header-title
{
.header-title
{
color
:
var
(
--text-primary
)
!important
;
text-align
:
center
;
text-align
:
center
;
align-items
:
center
;
align-items
:
center
;
margin
:
auto
!important
;
margin
:
auto
!important
;
...
@@ -4031,11 +4030,19 @@ figure img{
...
@@ -4031,11 +4030,19 @@ figure img{
}
}
#hphead
{
#hphead
{
background-image
:
url("https://static.igem.wiki/teams/5247/photos/header/human-practices.webp")
;
background
:
linear-gradient
(
rgba
(
255
,
255
,
255
,
0.2
),
rgba
(
255
,
255
,
200
,
0.2
)),
url("https://static.igem.wiki/teams/5247/photos/header/human-practices.webp")
;
}
#hphead
{
background-size
:
1650px
auto
;
background-size
:
1650px
auto
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
}
}
.header-title
{
min-height
:
900px
;
}
.download-butt
span
{
.download-butt
span
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
10px
;
padding
:
10px
;
...
...
This diff is collapsed.
Click to expand it.
src/components/Headings.tsx
+
27
−
4
View file @
7d79b5db
...
@@ -150,7 +150,7 @@ export function Hwave({text, id}:{text: string, id?: string}){
...
@@ -150,7 +150,7 @@ export function Hwave({text, id}:{text: string, id?: string}){
idtext
=
stringToSlug
(
text
);
idtext
=
stringToSlug
(
text
);
}
}
return
(
return
(
<
svg
id
=
{
idtext
}
className
=
"bigtitle"
viewBox
=
"0 0 100 20"
>
/*
<svg id={idtext} className="bigtitle" viewBox="0 0 100 20">
<defs>
<defs>
<linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1">
<linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1">
<stop offset="5%" stopColor="#850F78"/>
<stop offset="5%" stopColor="#850F78"/>
...
@@ -169,9 +169,32 @@ export function Hwave({text, id}:{text: string, id?: string}){
...
@@ -169,9 +169,32 @@ export function Hwave({text, id}:{text: string, id?: string}){
</path>
</path>
</pattern>
</pattern>
</defs>
</defs>
<
text
textAnchor
=
"middle"
x
=
"50"
y
=
"15"
fontSize
=
"13"
fill
=
"url(#wave)"
fillOpacity
=
"0.6"
>
{
text
}
</
text
>
<text textAnchor="middle" x="50" y="15" fontSize="13" fill="white" fillOpacity="1">{text}</text>
<
text
textAnchor
=
"middle"
x
=
"50"
y
=
"15"
fontSize
=
"13"
fill
=
"url(#gradient)"
fillOpacity
=
"0.3"
>
{
text
}
</
text
>
<text textAnchor="middle" x="50" y="15" fontSize="13" fill="url(#wave)" fillOpacity="0.7">{text}</text>
</
svg
>
<text textAnchor="middle" x="50" y="15" fontSize="13" fill="url(#gradient)" fillOpacity="0.9">{text}</text>
</svg> */
<
svg
id
=
{
idtext
}
className
=
"bigtitle"
viewBox
=
"0 0 100 20"
>
<
defs
>
<
linearGradient
id
=
"gradient"
x1
=
"0"
x2
=
"0"
y1
=
"0"
y2
=
"1"
>
<
stop
offset
=
"5%"
stopColor
=
"#850F78"
/>
<
stop
offset
=
"95%"
stopColor
=
"#A0A7F3"
/>
</
linearGradient
>
<
pattern
id
=
"wave"
x
=
"0"
y
=
"0"
width
=
"120"
height
=
"20"
patternUnits
=
"userSpaceOnUse"
>
<
path
id
=
"wavePath"
d
=
"M-40 9 Q-30 7 -20 9 T0 9 T20 9 T40 9 T60 9 T80 9 T100 9 T120 9 V20 H-40z"
fill
=
"url(#gradient)"
>
<
animateTransform
attributeName
=
"transform"
begin
=
"0s"
dur
=
"3s"
type
=
"translate"
from
=
"0,0"
to
=
"40,0"
repeatCount
=
"indefinite"
/>
</
path
>
</
pattern
>
</
defs
>
<
text
textAnchor
=
"middle"
x
=
"50"
y
=
"15"
fontSize
=
"13"
stroke
=
"var(--ourbeige)"
strokeWidth
=
{
"
0.2px
"
}
fill
=
"url(#gradient)"
>
{
text
}
</
text
>
<
text
textAnchor
=
"middle"
x
=
"50"
y
=
"15"
fontSize
=
"13"
fill
=
"url(#wave)"
stroke
=
"var(--ourbeige)"
strokeWidth
=
{
"
0.2px
"
}
fillOpacity
=
"1"
>
{
text
}
</
text
>
</
svg
>
)
)
}
}
...
...
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