-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c70257
commit fe7f8f6
Showing
5 changed files
with
393 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Applying main CSS-grid */ | ||
/* Main Content */ | ||
.grid { | ||
width: 100%; | ||
display: grid; | ||
grid-template-rows: repeat(5, minmax(200px, auto) ); /* = 5 */ | ||
grid-template-columns: repeat(4, 1fr); | ||
gap: 1em; | ||
} | ||
|
||
/* Positioning the grid items (boxes/areas) */ | ||
#grid-cell-1 { | ||
grid-area: 1/1/2/2; /* grid-row-start / grid-column-start / grid-row-end / grid-column-end */ | ||
} | ||
#grid-cell-2 { | ||
grid-area: 1/2/2/3; | ||
} | ||
#grid-cell-3 { | ||
grid-area: 1/3/2/4; | ||
} | ||
#grid-cell-4 { | ||
grid-area: 1/4/2/5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.w3-card-4 { | ||
width: 25%; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#main-content { | ||
height: 500px; | ||
} | ||
svg { | ||
width: 1200px; | ||
height: 500px; | ||
} | ||
|
||
#start { | ||
|
||
width: 300px; | ||
height: 100px; | ||
fill: rgb(255,0,0); | ||
stroke-width: 3px; | ||
stroke: rgb(10,10,10); | ||
} | ||
#top-right { | ||
|
||
stroke-width: 3px; | ||
stroke: rgb(10,10,10); | ||
} | ||
#bottom-right { | ||
|
||
stroke-width: 3px; | ||
stroke: rgb(10,10,10); | ||
} | ||
#bottom-left { | ||
|
||
stroke-width: 3px; | ||
stroke: rgb(10,10,10); | ||
} | ||
#top-left { | ||
|
||
stroke-width: 3px; | ||
stroke: rgb(10,10,10); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
body { | ||
padding-top: 75px; | ||
background-color: #aba2a2; | ||
} | ||
.container { | ||
max-width: 100%; | ||
padding: 30px 30px 0px 30px; | ||
margin: auto; | ||
} | ||
.row { | ||
min-height: 300px; | ||
} | ||
.col-md-12 { | ||
width: 100%; | ||
} | ||
.col-md-4 { | ||
width: 33.33%; | ||
float: left; | ||
margin: 20px; | ||
} | ||
.week { | ||
color: black; | ||
font-weight: 600; | ||
} | ||
button { | ||
width: 75%; | ||
font-size: 24px; | ||
font-weight: 400; | ||
padding: 14px 40px; | ||
margin: auto; | ||
cursor: crosshair; | ||
background-color: green; | ||
color: white; | ||
border: none; | ||
border-radius: 25%; | ||
-webkit-transition-duration: 0.4s; /* Safari */ | ||
transition-duration: 0.4s; | ||
} | ||
button:hover { | ||
background-color: red; /* Green */ | ||
color: black; | ||
} | ||
button::first-letter { | ||
color: #903; | ||
float: left; | ||
font-family: Georgia; | ||
font-size: 75px; | ||
line-height: 60px; | ||
padding-top: 4px; | ||
padding-right: 8px; | ||
padding-left: 3px; | ||
} | ||
#countDownToBaby { | ||
color: #3D764D; | ||
font-weight: 400; | ||
font-size: 20px; | ||
text-align: center; | ||
top: 50%; | ||
left: 50% | ||
} | ||
/* Slideshow =====================*/ | ||
/* Slideshow container */ | ||
.slideshow-container { | ||
max-width: 1000px; | ||
position: relative; | ||
margin: auto; | ||
} | ||
.mySlides { | ||
display: none; | ||
} | ||
|
||
/* Next & previous buttons */ | ||
.prev, .next { | ||
cursor: pointer; | ||
position: absolute; | ||
top: 50%; | ||
width: auto; | ||
margin-top: -22px; | ||
padding: 16px; | ||
color: white; | ||
font-weight: bold; | ||
font-size: 18px; | ||
transition: 0.6s ease; | ||
border-radius: 0 3px 3px 0; | ||
} | ||
|
||
/* Position the "next button" to the right */ | ||
.next { | ||
right: 0; | ||
border-radius: 3px 0 0 3px; | ||
} | ||
|
||
/* On hover, add a black background color with a little bit see-through */ | ||
.prev:hover, .next:hover { | ||
background-color: rgba(0,0,0,0.8); | ||
} | ||
|
||
/* Caption text */ | ||
.text { | ||
color: #f2f2f2; | ||
font-size: 15px; | ||
padding: 8px 12px; | ||
position: absolute; | ||
bottom: 8px; | ||
width: 100%; | ||
text-align: center; | ||
} | ||
|
||
/* Number text (1/4 etc) */ | ||
.numbertext { | ||
color: #f2f2f2; | ||
font-size: 12px; | ||
padding: 8px 12px; | ||
position: absolute; | ||
left: 50%; | ||
} | ||
|
||
/* The dots/bullets/indicators */ | ||
.dot { | ||
cursor:pointer; | ||
height: 13px; | ||
width: 13px; | ||
margin: 0 2px; | ||
background-color: #bbb; | ||
border-radius: 50%; | ||
display: inline-block; | ||
transition: background-color 0.6s ease; | ||
} | ||
|
||
.active, .dot:hover { | ||
background-color: #717171; | ||
} | ||
|
||
/* Fading animation */ | ||
.fade { | ||
-webkit-animation-name: fade; | ||
-webkit-animation-duration: 1.5s; | ||
animation-name: fade; | ||
animation-duration: 1.5s; | ||
} | ||
|
||
@-webkit-keyframes fade { | ||
from {opacity: .4} | ||
to {opacity: 1} | ||
} | ||
|
||
@keyframes fade { | ||
from {opacity: .4} | ||
to {opacity: 1} | ||
} |
Oops, something went wrong.