Advertisement
Guest User

Untitled

a guest
Sep 24th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 15.06 KB | None | 0 0
  1. <html>
  2. <head>
  3.     <link href="https://fonts.googleapis.com/css?family=Poiret+One" rel="stylesheet">
  4.     <link href="https://fonts.googleapis.com/css?family=Amatic+SC" rel="stylesheet">
  5.         <link href="https://fonts.googleapis.com/css?family=Abel" rel="stylesheet">
  6.     <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
  7.     <link href="https://fonts.googleapis.com/css?family=Julius+Sans+One" rel="stylesheet">
  8.     <link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet">
  9.     <script src="../js/jquery-3.3.1.min.js"></script>
  10. <style>
  11. body{
  12.     margin:0px;
  13. }
  14. .nav-1 {
  15.     top:0px;
  16.     position:fixed;
  17.     z-index:3;
  18.         width:100%;
  19.         background-color:#f9fbfc;
  20. }
  21.  
  22. .nav-1 ul {
  23.         width:100%;
  24.         height:100%;
  25.         padding:0px;
  26.         margin:0px;
  27.         list-style:none;
  28.     display:flex;
  29.     justify-content:center;
  30. }
  31.  
  32. .nav-1 ul li {
  33.     float:left;
  34.         font-family:'Julius Sans One', sans-serif;
  35.         color:#000;
  36.         padding:30px 25px;
  37.         cursor:pointer;
  38.     transition:all 0.3s;
  39.     font-size:12px;
  40. }
  41.  
  42. .nav-1 ul a li:hover{
  43.     transition:all 0.3s;
  44.     background-color:rgba(0,0,0,0.1);
  45. }
  46.  
  47. .mySlides {
  48.     display: none;
  49.     width:100%;
  50.     height:75%;
  51.     filter:brightness(60%);
  52.     position: absolute;
  53.     top: 0;
  54.     left: 0;
  55. }
  56.  
  57.  
  58. /* Slideshow container */
  59. .slideshow-container {
  60.     width:100%; z-index:-3;
  61. }
  62.    
  63.    
  64. .nav-1 {
  65.     top:0px;
  66.     position:fixed;
  67.     z-index:3;
  68.         width:100%;
  69.         background-color:#f9fbfc;
  70. }
  71.        
  72. .nav-1 ul {
  73.     width:100%;
  74.     height:100%;
  75.         padding:0px;
  76.         margin:0px;
  77.         list-style:none;
  78.     display:flex;
  79.     justify-content:center;            
  80. }
  81. .nav-1 ul li {
  82.     float:left;
  83.         font-family:'Julius Sans One', sans-serif;
  84.         color:#000;
  85.         padding:30px 25px;
  86.         cursor:pointer;
  87.     transition:all 0.3s;
  88.     font-size:12px;
  89. }
  90.  
  91. .nav-1 ul a li:hover{
  92.     transition:all 0.3s;
  93.     background-color:rgba(0,0,0,0.1);
  94. }
  95.  
  96. .enfeite{
  97.     width:100%;
  98.     padding:20px 0px;
  99.     display:flex;
  100.     justify-content:center;
  101.     align-items:center;
  102. }
  103. .enfeite img {
  104.     width:80px;
  105.     height:80px;
  106.     margin:0px 80px;
  107.     border-radius:100%;
  108. }
  109.  
  110. .enfeite h3 {
  111.     text-align: center;
  112.     font-family: 'Julius Sans One', sans-serif;
  113.     font-weigth: light;
  114.     color: black;
  115. }
  116.  
  117. .slide {
  118.        position: relative;
  119.        display: flex;
  120.        justify-content: center;
  121.        align-items: center;
  122. }
  123.  
  124. .slide-text {
  125.        display: block;
  126.        color: #fff;
  127.        /* text-shadow: 2px 2px #000; */
  128.        font-size: 50px;
  129.        font-family: 'Pacifico', cursive;
  130. }
  131.  
  132. .icone {
  133.     position:absolute;
  134.     z-index:6;
  135.     width:100px;
  136.     left: 13%;
  137.     top: 200px;
  138. }
  139.  
  140. .informacoes {
  141.     width:70%;
  142.     margin-left:15%;
  143.     display:flex;
  144.     flex-wrap:wrap;
  145.     justify-content:center;
  146.     padding-bottom:50px;
  147. }
  148.  
  149. .informacoes p {
  150.     max-width: 800px;
  151.     text-align: center;
  152.     margin: auto;
  153. }
  154.    
  155. .wrapper{
  156.     float:left;
  157.     width:45%;
  158.     margin-left:20px;
  159.     margin-right:20px;
  160.     margin-top:55px;
  161.     display:flex;
  162.     flex-wrap:wrap;
  163.     justify-content:flex-start;
  164.     align-content:flex-start;
  165. }
  166.  
  167. .wrapper h1{
  168.     width:40%;
  169.     padding-bottom:5px;
  170.     font-family:'Abel', 'sans-serif';
  171.     font-size: 18px;
  172.     color:#999;
  173.     border-bottom:1px solid #999;
  174. }
  175.  
  176. .wrapper img {
  177.     width:100%;
  178.     height:200px;
  179. }
  180.  
  181. .wrapper p {
  182.     margin-top:15px;
  183.     width:100%;
  184.     color:#999;
  185.     font-size:13px;
  186.     font-family:"arial";
  187.     text-align:justify;
  188. }
  189.  
  190. .descricao{
  191.     position:absolute;
  192.         margin-top:190px;
  193.         background-color: #fff;
  194.     height: 40px;
  195.     width: 250px;
  196. }
  197.  
  198. .descricao h1{
  199.     margin: 0.9rem;
  200.     font-family: sans-serif;
  201.     font-weight: lighter;
  202. }
  203.  
  204. .slideshow-container-hadley {
  205.     width: 100vw;
  206.     height: 75vh;
  207.     padding: 0;
  208.     position: relative;
  209. }
  210.  
  211. .slide-hadley {
  212.     width: 100%;
  213.     height: 100%;
  214.     padding: 0;
  215.     margin: 0;
  216.     position: absolute;
  217.     display: flex;
  218.     justify-content: center;
  219.     align-items: center;
  220.     flex-direction: column;
  221. }
  222.  
  223. .slide-image-hadley {
  224.     width: 100%;
  225.     height: 100%;
  226.     position: absolute;
  227.     left: 0;
  228.     margin: 0;
  229.     padding: 0;
  230.     z-index: -1;
  231.     filter: brightness(60%);
  232. }
  233.  
  234. .slide-text-hadley {
  235.        display: block;
  236.        color: #fff;
  237.        /* text-shadow: 2px 2px #000; */
  238.        font-size: 50px;
  239.        font-family: 'Pacifico', cursive;
  240. }
  241.  
  242. .slide-text-button {
  243.     display: flex;
  244.     flex-direction: column;
  245.     align-items: center;
  246.     position: relative;
  247. }
  248.  
  249. .slide-button {
  250.     position: absolute;
  251.     top: 70px;
  252.     z-index: 2;
  253. }
  254.  
  255. /* On smaller screens, decrease text size */
  256. @media only screen and (max-width: 300px) {
  257.     .text {font-size: 11px}
  258.     }
  259.  
  260. /*formatting for gadgets very small*/
  261. @media (min-width:0px) and (max-width:767px) {
  262.     .intro {
  263.         margin-top:30px;
  264.     }
  265.     nav ul li {
  266.         padding:10px 15px;
  267.         font-size:12px;
  268.     }
  269. }
  270.  
  271. /*formatting for gadgets smalls*/
  272. @media (min-width:768px) and (max-width:997px) {
  273.        
  274. }
  275.  
  276. /*formatting for gadgets medium*/
  277. @media (min-width:998px) and (max-width:1199px) {
  278.            
  279. }
  280.  
  281. /*formatting for big gadgets*/
  282. @media (min-width:1200px) {
  283.        
  284. }
  285. </style>
  286. </head>
  287. <body>
  288. <nav class="nav-1">
  289.         <ul>
  290.                 <a href="index.html"><li>HOME</li></a>
  291.                     <a href="culture.html"> <li>CULTURE</li></a>
  292.                     <a href="tourism.html"> <li>TOURISM</li></a>
  293.                     <a href="GeographicalAspects.html"> <li>GEOGRAPHICAL ASPECTS</li></a>
  294.             </ul>
  295. </nav>
  296.  
  297. <!-- nos queremos que o slideshow-container possua o tamanho que vai ficar, ou seja, tendo espaço para
  298.     aparecer o menu em cima e os três icones na parte de baixo. -->
  299. <div class="slideshow-container-hadley">
  300.     <div class="slide-hadley">
  301.         <img class="slide-image-hadley" src="https://i.imgur.com/5QeN1qN.jpg" style="width:100%">
  302.         <div class="slide-text-button">
  303.             <span class="slide-text-hadley">You only live once.</span><br>
  304.             <img class="slide-button" onclick="rolagem()" src="http://www.vivanovocampeche.com.br/img/icon_setabaixo.png">     
  305.         </div>
  306.     </div>
  307.     <div class="slide-hadley">
  308.         <img class="slide-image-hadley" src="https://i.imgur.com/ihSWQ14.jpg" style="width:100%">
  309.         <div class="slide-text-button">
  310.             <span class="slide-text-hadley">You only live once.</span><br>
  311.             <img class="slide-button" onclick="rolagem()" src="http://www.vivanovocampeche.com.br/img/icon_setabaixo.png">     
  312.         </div>
  313.  
  314.     </div>
  315.     <div class="slide-hadley">
  316.         <img class="slide-image-hadley" src="https://i.imgur.com/RMFMpwt.jpg" style="width:100%">
  317.         <div class="slide-text-button">
  318.             <span class="slide-text-hadley">You only live once.</span><br>
  319.             <img class="slide-button" onclick="rolagem()" src="http://www.vivanovocampeche.com.br/img/icon_setabaixo.png">     
  320.         </div>
  321.     </div>
  322.     <div class="slide-hadley">
  323.         <img class="slide-image-hadley" src="https://i.imgur.com/J9h2nNw.jpg" style="width:100%">
  324.         <div class="slide-text-button">
  325.             <span class="slide-text-hadley">You only live once.</span><br>
  326.             <img class="slide-button" onclick="rolagem()" src="http://www.vivanovocampeche.com.br/img/icon_setabaixo.png">     
  327.         </div>
  328.     </div>
  329.  
  330. </div>
  331.  
  332. <script>
  333. var myIndex = 0;
  334.  
  335. function carousel() {
  336.     var i;
  337.     var img = document.getElementsByClassName("slide-hadley");
  338.     //var y = document.getElementsByClassName("slide-text-hadley");
  339.     for (i = 0; i < img.length; i++) {
  340.       img[i].style.display = "none";
  341.      // y[i].style.display = "none";
  342.    }
  343.    myIndex++;
  344.    if (myIndex > img.length) {
  345.         myIndex = 1;
  346.     }    
  347.     img[myIndex-1].style.display = "flex";
  348.     //y[myIndex-1].style.display = "block";  
  349.     setTimeout(carousel, 2000); // Change image every 2 seconds
  350. }
  351.  
  352. carousel();
  353.  
  354. function rolagem(){
  355.     $("html, body").animate({scrollTop: $(".enfeite").offset().top-80},700);
  356. }
  357.  
  358. </script>
  359.  
  360. <br>
  361.  
  362.     <section class="enfeite">
  363.         <div>
  364.             <img src="http://travelpedia.com.br/wp-content/uploads/2018/02/food-wine-icon.png">
  365.             <h3>Food</h3>
  366.         </div>
  367.         <div>
  368.             <img src="https://cdn.icon-icons.com/icons2/706/PNG/512/hot-air-balloon_icon-icons.com_61845.png">
  369.             <h3>Fun</h3>
  370.         </div>
  371.         <div>
  372.             <img src="https://cdn.pixabay.com/photo/2015/06/05/10/35/coffee-798315_960_720.png">
  373.             <h3>Relax</h3>
  374.         </div>
  375.     </section>
  376.     <section class="informacoes">
  377.         <div class="wrapper">
  378.             <img src="https://i.imgur.com/hAdDwlW.jpg">
  379.             <h1>Bergen</h1>
  380.             <p>&nbsp;&nbsp;&nbsp;Kygo's home-country, the world-famous DJ, Bergen has different aromas, flavors and experiences of everything.
  381.             Fresh seafood and other local delicacies are comparable to the artwork of the city's lively museums and galleries.
  382.             In addition, the streets of the capital of the fjords are filled with wooden houses, direct exits of fairy tale,
  383.             and still have the characteristics of seven mountains as a backdrop.
  384.             &nbsp;&nbsp;&nbsp;To conclude, the medieval Hanseatic port of Bryggen, with its sixty historic buildings,
  385.             many with foundations dating from the 12th century, has been considered a UNESCO World Heritage Site and is worth a visit.
  386.             </p>
  387.         </div>
  388.        
  389.         <div class="wrapper">
  390.             <img src="https://i.imgur.com/xiDNNC6.jpg">
  391.             <h1>TTromsø</h1>
  392.             <p>&nbsp;&nbsp;&nbsp;The few main streets of the city can create a very urban international atmosphere, in the polar style.
  393.             This locality of the Tromshalvøya peninsula deserves the nickname "Arctic capital" and has a huge variety of attractions,
  394.             ranging from the Polaria Center, the Arctic Pole Museum, and Mack, the local brewery created in 1877, to the observation whales,
  395.             the midnight sun and the northern lights.
  396.             &nbsp;&nbsp;&nbsp;Tromsø is the largest city in northern Norway.
  397.             However, the steep mountains and deep fjords that surround it are so close to the center that you can admire them from the main street.
  398.             </p>
  399.         </div>
  400.  
  401.         <div class="wrapper">
  402.             <img src="https://i.imgur.com/Odlz9ae.jpg">
  403.             <h1>The Lofoten Islands</h1>
  404.             <p>&nbsp;&nbsp;&nbsp;TJust as the fjords tear the continent, the Lofoten Islands have the shape of a huge arm that invades the sea.
  405.             Its many peaks extend into the Arctic sky like towers of cathedrals and among them traditional villages replete with fishermen and artists dominate the landscape.
  406.             &nbsp;&nbsp;&nbsp;Sample everything from local dishes with seafood and lamb to white sand beaches and the Lofotr Viking Museum.
  407.             In addition, it is very easy to travel from the islands to the mainland, to Helgeland and to the Vega Islands, which have been declared a World Heritage Site by Unesco.
  408.             </p>
  409.            
  410.         </div>
  411.        
  412.         <div class="wrapper">
  413.             <img src="https://i.imgur.com/ljI2Vna.jpg">
  414.             <h1>The region of Stavanger</h1>
  415.             <p>&nbsp;&nbsp;&nbsp;Norway's capital stock of oil fifty years ago did not spoil the charm of this coastal city nor the fact
  416.              that the region has some of the country's most entertaining trails.
  417.             &nbsp;&nbsp;&nbsp;Here you can visit the Lyse Fjord and famous plateaus such as the Preikestolen, the Rock of the Pulpit.
  418.             Local dishes are served in both Michelin-starred restaurants and more modest bistros.
  419.             </p>
  420.         </div>
  421.        
  422.         <div class="wrapper">
  423.             <img src="https://i.imgur.com/UY0z2wd.jpg">
  424.             <h1>Oslo</h1>
  425.             <p>&nbsp;&nbsp;&nbsp;A capital situated in the middle of nature, Olso was chosen Green Capital of Europe of 2019 and
  426.             considered Best Destination of 2018 by Lonely Planet. Many things stir the city, such as a number of excellent restaurants
  427.             - among them the world's most three-Michelin-starred restaurant.
  428.              Oslo is also home to some of the world's most awarded baristas and coffee producers.
  429.             &nbsp;&nbsp;&nbsp;This unique capital, good for trips with children and with an incredible diversity of musical attractions for adults,
  430.             values mainly nature, modern architecture, art, cyclists and pedestrians.
  431.             Here it is possible to walk up on the roof of the Opera House.
  432.             </p>
  433.         </div>
  434.    
  435.         <div class="wrapper">
  436.             <img src="https://i.imgur.com/GCuVHy9.jpg">
  437.             <h1>Flåm</h1>
  438.             <p>&nbsp;&nbsp;&nbsp;A twenty-kilometer train journey takes you through the beautiful mountainous landscapes
  439.             of the interior of the Aurland Fjord, an arm of the Sogn Fjord.
  440.             &nbsp;&nbsp;&nbsp;Remember that the place, one of the most visited in Norway, is much less hectic in the spring, fall and even early summer.
  441.             </p>
  442.         </div>
  443.  
  444.         <div class="wrapper">
  445.             <img src="https://i.imgur.com/XKungPn.jpg">
  446.             <h1>Fiorde of Geiranger</h1>
  447.             <p>&nbsp;&nbsp;&nbsp;The Seven Sisters and many other waterfalls run through steep walls that end in the clear blue waters of the
  448.             fifteen-mile stretch of the Geiranger fjord. Here, you will be able to live all the tranquility of one of the main natural attractions of the world.
  449.             &nbsp;&nbsp;&nbsp;It is even bigger in the low season, since this cultural patrimony of humanity by Unesco receives less visitors
  450.             at that time. The surrounding area also offers many activities throughout the year.
  451.             </p>
  452.         </div>
  453.    
  454.         <div class="wrapper">
  455.             <img src="https://i.imgur.com/lshpG5U.jpg">
  456.             <h1>The Svalbard Islands</h1>
  457.             <p>&nbsp;&nbsp;&nbsp;This huge island in the northern tip of Europe raises the experience in nature to another level.
  458.             Here, tourists can participate in outdoor activities available year-round but little known in other places.
  459.             At the same time, life in the region is very easy and organized.
  460.             You can even have the same experiences as the locals, since the guides are usually from the region.
  461.             The main town, Longyearbyen, is a small metropolis and offers good services and restaurants, as we expect to find only in the big cities.
  462.             </p>
  463.         </div>
  464.  
  465.         <div class="wrapper">
  466.             <img src="https://i.imgur.com/1bPmiiB.jpg">
  467.             <h1>Trondheim </h1>
  468.             <p>&nbsp;&nbsp;&nbsp;Lively pedestrian streets with colorful wooden buildings lead you to the Nidaros Cathedral and the ancient warehouses on
  469.             the banks of the Nidelva River.
  470.             Trondheim also has many funky cafes and new restaurants willing to explore and refresh the richness of
  471.             the typical dishes of the Trøndelag region.
  472.             &nbsp;&nbsp;&nbsp;Food fairs and festivals help to compose the lively atmosphere of the city. Music is also a major attraction,
  473.             especially because of the Rockheim and Ringve museums.
  474.             </p>
  475.         </div>
  476.  
  477.         <div class="wrapper">
  478.             <img src="https://i.imgur.com/ToYZz7y.jpg">
  479.             <h1>The region of Ålesund and Sunnmøre</h1>
  480.             <p>&nbsp;&nbsp;&nbsp;This is the only place in the world where you can walk through art nouveau buildings feeling the scent of the Atlantic Ocean.
  481.             Check out the seafood restaurants after spending the day riding kayaking, hiking, skiing or fishing.
  482.             If you do not enjoy outdoor activities, the city is the cultural center of the region and hosts many festivals all year round.
  483.             &nbsp;&nbsp;&nbsp;But it's not just the city that holds surprises. The entire region of Sunnmøre fjords,
  484.             islands and steep mountains. Even from Ålesund, it is very easy to go out to visit the fjords of Geiranger and Hjørund,
  485.             the island of Runde, the mountain range of Sunnmørsalpene and many other places.
  486.             </p>
  487.         </div>
  488.     </section>
  489. </body>
  490. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement