Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MMI_speculativeAI_Blog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Martin Hustoles
MMI_speculativeAI_Blog
Commits
1788050c
Commit
1788050c
authored
2 years ago
by
Martin Hustoles
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
8a056c74
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
style.css
+200
-0
200 additions, 0 deletions
style.css
with
200 additions
and
0 deletions
style.css
0 → 100644
+
200
−
0
View file @
1788050c
@import
url('https://fonts.googleapis.com/css2?family=Electrolize&display=swap')
;
*
{
font-family
:
'Electrolize'
,
sans-serif
;
/*Ausgewaehlte Font*/
font-size
:
110%
;
user-select
:
none
;
scroll-behavior
:
smooth
;
/*Damit die Schnellauswahl oben auf der ersten Seite nicht sofort runter springt*/
}
body
{
margin
:
0
;
text-align
:
center
;
}
.header
{
/*Alle Elemente werden mit Flex-Box positioniert*/
display
:
flex
;
justify-content
:
space-around
;
width
:
100vw
;
background-color
:
#282828
;
}
.header
a
{
margin
:
0.1rem
;
color
:
white
;
text-decoration
:
none
;
}
.header
a
:hover
{
/*Uns eine wichtige Kleinigkeit, dass der Cursor sich aendert damit man weiss, dass man diesen Text anklickbar ist*/
cursor
:
pointer
;
}
.zentriert
h1
{
margin
:
1rem
;
margin-top
:
3rem
;
font-size
:
250%
;
}
.zentriert
{
display
:
flex
;
width
:
100vw
;
flex-direction
:
column
;
align-items
:
center
;
}
.zentriert
p
{
margin
:
0
;
margin-bottom
:
4rem
;
}
.Bild1
{
width
:
45rem
;
border-radius
:
0.5rem
;
filter
:
blur
(
2px
);
transition
:
0.2s
ease-out
;
}
.Bild1
:hover
{
/*Bild wird erst "sichtbar", wenn man mit dem Cursor darueber faehrt*/
transform
:
scale
(
1.05
)
rotate
(
2deg
);
filter
:
blur
(
0px
);
}
.Bild2
{
width
:
20rem
;
border-radius
:
0.5rem
;
}
.container
{
display
:
flex
;
width
:
100vw
;
align-items
:
center
;
justify-content
:
space-evenly
;
}
.container
p
{
margin
:
0
;
font-size
:
75%
;
max-width
:
20rem
;
}
.container
div
{
margin
:
3rem
;
}
.container2
{
display
:
flex
;
width
:
100vw
;
align-items
:
center
;
justify-content
:
space-evenly
;
}
.container2
p
{
max-width
:
45rem
;
}
#video1
{
background-color
:
black
;
border-radius
:
0.5rem
;
}
.video2
{
border-radius
:
4rem
;
overflow
:
hidden
;
transition
:
0.2s
ease-out
;
/*
transition wird verwendet, damit bei :hover der neue Zustand nicht sofort,
sondern mit einer kleinen Annimation wechselt.
*/
}
.video2
:hover
{
border-radius
:
2rem
;
transform
:
scale
(
1.05
);
}
.video2
video
{
width
:
20rem
;
}
#scroll_main
{
height
:
100vh
;
overflow-y
:
auto
;
scroll-snap-type
:
y
;
/*mandatory*/
}
#scroll_main
section
{
overflow
:
hidden
;
/*Elemente sollen nicht in andere Sektionen ueberlappen*/
}
.scroll_snap_item
{
display
:
flex
;
height
:
100vh
;
scroll-snap-align
:
start
;
/*Sagt dass das scroll-snapping hier stehen bleiben soll*/
}
.container3
{
display
:
flex
;
width
:
100vw
;
align-items
:
center
;
justify-content
:
center
;
}
.container3
img
{
width
:
40rem
;
border-radius
:
3.5rem
;
transition
:
0.2s
ease-in-out
;
}
.container3
img
:hover
{
box-shadow
:
0px
0px
2rem
gray
;
transform
:
scale
(
1.03
)
rotate
(
-3deg
);
/*aehnlich wie auf der ersten Seite.*/
}
#title2
{
font-weight
:
bold
;
}
.container3
p
{
text-align
:
right
;
margin
:
0
;
}
.container3
h1
{
font-size
:
250%
;
text-align
:
right
;
}
.container3
div
{
margin
:
2rem
;
}
/*
Farbe von Hintergruenden und den Texten auf jewheils jeder Seite.
(Es macht keinen Sinn schwarzen Text auf einem schwarzem Hintergrund darzustellen.)
*/
#page1
{
background-color
:
black
;
color
:
white
;
}
#page2
{
background-color
:
white
;
color
:
black
;
}
#page3
{
background-color
:
black
;
color
:
white
;
}
#page4
{
background-color
:
white
;
color
:
black
;
}
#back_to_top
{
position
:
fixed
;
right
:
2rem
;
bottom
:
2rem
;
transition
:
0.1s
ease-out
;
}
#back_to_top
:hover
{
transform
:
scale
(
1.04
);
}
#back_to_top
:active
{
transform
:
scale
(
0.94
);
}
\ No newline at end of file
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