Changes for page Presentation Test Page
Last modified by Erik Bakker on 2024/07/30 14:39
From version 20.1
edited by Erik Bakker
on 2024/07/30 11:31
on 2024/07/30 11:31
Change comment:
There is no comment for this version
To version 40.1
edited by Erik Bakker
on 2024/07/30 14:23
on 2024/07/30 14:23
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -32,3 +32,52 @@ 32 32 | |[[image:Main.Images.Microlearning.WebHome@intermediate-emagiz-monitoring-runtime-stats-keymetrics-1]] 33 33 |[[image:Powerpoint xWiki background small.png||alt="xwiki powerpoint" height="73" style="float:left" width="100"]]| 34 34 35 +== Test slide == 36 +{{html}} 37 +<Div class="SC" id="s1s0"><img /><div id="s1s4" style="top:153.9902px;left:34.59945px;height:189.078px;width:529.7338px;"><pre class="pre0" style="left:7.200001px;top:146.328px;">Next generation runtime migration</pre></div><div id="s1s5" style="top:349.836px;left:34.59929px;height:91.41969px;width:529.7338px;"><pre class="pre1" style="left:7.199997px;top:0.9508972px;">Plan Q2 2023</pre></div></Div>{{/html}} 38 + 39 +== Next slide == 40 +{{html}} 41 +<Div class="SC" id="s2s0"><img /><div id="s2s2" style="top:28.75px;left:480px;height:105.5765px;width:415.0281px;"> </div><div id="s2s3" style="top:143.75px;left:480px;height:343.6036px;width:415.0281px;"> </div></Div>{{/html}} 42 + 43 +== Current slide == 44 + 45 +{{html}} 46 +<html> 47 +<body> 48 + 49 + <!-- Define the slideshow container --> 50 + <div id="slideshow"> 51 + <div class="slide-wrapper"> 52 + 53 + <!-- Define each of the slides 54 + and write the content --> 55 + 56 + <div class="slide"> 57 + <h1 class="slide-number"> 58 + GeeksforGeeks 59 + </h1> 60 + </div> 61 + <div class="slide"> 62 + <h1 class="slide-number"> 63 + A computer science portal 64 + </h1> 65 + </div> 66 + <div class="slide"> 67 + <h1 class="slide-number"> 68 + This is an example of 69 + </h1> 70 + </div> 71 + <div class="slide"> 72 + <h1 class="slide-number"> 73 + Slideshow with HTML and CSS only 74 + </h1> 75 + </div> 76 + </div> 77 + </div> 78 +</body> 79 + 80 +</html> 81 + 82 +{{/html}} 83 +
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -1,49 +1,68 @@ 1 - .carousel{2 - background:#503d75;1 +/* Styling the area of the slides */ 2 +#slideshow { 3 3 overflow: hidden; 4 - margin: auto; 4 + height: 510px; 5 + width: 728px; 6 + margin: 0 auto; 5 5 } 6 -.carousel-inner { 7 - position: relative; 8 - width: 100%; 9 - overflow: hidden; 8 + 9 +/* Style each of the sides 10 + with a fixed width and height */ 11 +.slide { 12 + float: left; 13 + height: 510px; 14 + width: 728px; 10 10 } 11 -.carousel .carousel-inner .carousel-item { 12 - font-size: 20px; 13 - page-break-after: always; 16 + 17 +/* Add animation to the slides */ 18 +.slide-wrapper { 19 + 20 + /* Calculate the total width on the 21 + basis of number of slides */ 22 + width: calc(728px * 4); 23 + 24 + /* Specify the animation with the 25 + duration and speed */ 26 + animation: slide 10s ease infinite; 14 14 } 15 -.carousel .carousel-inner .carousel-item .carousel-item-slide { 16 - width: 100%; 17 - height: 100%; 18 - margin: auto; 19 - overflow: hidden; 20 - background-color: burlywood; 21 - box-shadow: 0 0 2px #888; 22 - display: table; 23 - table-layout: fixed; 28 + 29 +/* Set the background color 30 + of each of the slides */ 31 +.slide:nth-child(1) { 32 + background: green; 24 24 } 25 -.carousel-item-slide { 26 - -webkit-text-size-adjust: 100%; 27 - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 28 - --rem: 16; 29 - font-family: Ubuntu, sans-serif; 30 - line-height: 1.428571429; 31 - color: #207e10; 32 - white-space: normal; 33 - font-size: 40px; 34 - box-sizing: border-box; 34 + 35 +.slide:nth-child(2) { 36 + background: pink; 35 35 } 36 - .carousel.carousel-inner .carousel-item.header .carousel-item-slide-content {37 - text-align: center;38 - vertical-align:middle;38 + 39 +.slide:nth-child(3) { 40 + background: red; 39 39 } 40 -.carousel .carousel-inner .carousel-item .carousel-item-slide .carousel-item-slide-content { 41 - font-family: 'Ubuntu, sans-serif'; 42 - display: table-cell; 43 - padding: 1em 4em 1em 4em; 42 + 43 +.slide:nth-child(4) { 44 + background: yellow; 44 44 } 45 -.carousel .carousel-inner .carousel-item .carousel-item-slide .carousel-item-slide-content h2 { 46 - font-size: 3.1em; 47 - margin-bottom: .3em; 48 - color: green; 46 + 47 +/* Define the animation 48 + for the slideshow */ 49 +@keyframes slide { 50 + 51 + /* Calculate the margin-left for 52 + each of the slides */ 53 + 20% { 54 + margin-left: 0px; 55 + } 56 + 57 + 40% { 58 + margin-left: calc(-728px * 1); 59 + } 60 + 61 + 60% { 62 + margin-left: calc(-728px * 2); 63 + } 64 + 65 + 80% { 66 + margin-left: calc(-728px * 3); 67 + } 49 49 }