Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web-visualization-exercises
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
AB7340
web-visualization-exercises
Commits
5ba5ee2a
Commit
5ba5ee2a
authored
1 year ago
by
AB7340
Browse files
Options
Downloads
Patches
Plain Diff
Lisätty Exercise 6
parent
0d4af097
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#744973
passed
1 year ago
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Exercise6/index.html
+20
-0
20 additions, 0 deletions
Exercise6/index.html
Exercise6/styles.css
+28
-0
28 additions, 0 deletions
Exercise6/styles.css
Exercise6/variables.css
+9
-0
9 additions, 0 deletions
Exercise6/variables.css
index.html
+1
-0
1 addition, 0 deletions
index.html
with
58 additions
and
0 deletions
Exercise6/index.html
0 → 100644
+
20
−
0
View file @
5ba5ee2a
<!DOCTYPE html>
<html>
<head>
<title>
CSS3 Advanced
</title>
<meta
name=
'viewport'
content=
'width=device-width, initial-scale=1.0, maximum-scale=1.0'
/>
<link
rel=
"stylesheet"
href=
"./styles.css"
>
</head>
<body>
<div
class=
"container"
>
<div
class=
"card"
>
<h5
class=
"card-title"
>
Card 1
</h5>
<p
class=
"card-text"
>
Add some text here
</p>
</div>
<div
class=
"card"
>
<h5
class=
"card-title"
>
Card 2
</h5>
<p
class=
"card-text"
>
Add some text here
</p>
</div>
</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Exercise6/styles.css
0 → 100644
+
28
−
0
View file @
5ba5ee2a
@import
url('./variables.css')
;
body
{
font-family
:
Arial
,
Helvetica
,
sans-serif
;
}
.container
{
display
:
flex
;
}
.card
{
margin
:
30px
;
width
:
var
(
--card-width
);
background-color
:
var
(
--card-bg-color
);
color
:
var
(
--card-main-color
);
padding
:
var
(
--card-padding
);
box-shadow
:
var
(
--card-shadow-h-offset
)
var
(
--card-shadow-v-offset
)
var
(
--card-shadow-blur
)
rgba
(
13
,
178
,
207
,
0.877
);
}
@media
screen
and
(
max-width
:
768px
)
{
.container
{
flex-direction
:
column
;
}
.card
{
width
:
80%
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Exercise6/variables.css
0 → 100644
+
9
−
0
View file @
5ba5ee2a
.card
{
--card-width
:
100%
;
--card-bg-color
:
#ddd
;
--card-main-color
:
rgba
(
0
,
0
,
0
,
0.651
);
--card-padding
:
15px
20px
;
--card-shadow-h-offset
:
10px
;
--card-shadow-v-offset
:
5px
;
--card-shadow-blur
:
5px
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
index.html
+
1
−
0
View file @
5ba5ee2a
...
...
@@ -17,6 +17,7 @@
<a
class=
"exercise-link"
href=
"https://student.labranet.jamk.fi/~AB7340/web-visualization/Exercise2/responsive.html"
>
Exercise 2
</a>
<a
class=
"exercise-link"
href=
"https://student.labranet.jamk.fi/~AB7340/web-visualization/Ecercise4/speaker-submission.html"
>
Exercise 4
</a>
<a
class=
"exercise-link"
href=
"https://student.labranet.jamk.fi/~AB7340/web-visualization/Exercise5/web-typography/web-fonts.html"
>
Exercise 5
</a>
<a
class=
"exercise-link"
href=
"https://student.labranet.jamk.fi/~AB7340/web-visualization/Exercise6/"
>
Exercise 6
</a>
</main>
</body>
</html>
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