CptQwark

The Telegraph CSS Project

Apr 17th, 2016
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 17.58 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.   <head>
  4.     <char
  5.     <meta charset="UTF-8">
  6.     <title>The Telegraph - 5 Maps That Will Change the Way You See the World</title>
  7.  
  8.     <style>
  9.  
  10.       body {
  11.         font-family: Georgia, Times, serif;
  12.         position: relative;
  13.         margin: auto;
  14.         width: 1100px;
  15.         padding: 15px;
  16.       }
  17.  
  18.       .article-body {
  19.         position: relative;
  20.         float: left;
  21.         width: 650px;
  22.         margin-left: 50px;
  23.       }
  24.  
  25.       img {
  26.         width: 650px;
  27.       }
  28.  
  29.       /* Positions .read-more */
  30.           .read-more {
  31.             float: right;
  32.             width: 345px;
  33.             margin-left: 10px;
  34.             margin-top: -40px;
  35.           }
  36.  
  37.       /* Removes automatic numbers in <ol> */
  38.           #read-more-list {
  39.             list-style-type: none;
  40.             border-bottom: 5px solid #008385;
  41.           }
  42.  
  43.       /* Adds border to list items and uniform height */
  44.           .read-more-list {
  45.             border-top: 1px solid #c9c9c9;
  46.             height: 135px;
  47.           }
  48.  
  49.       /* Sets formatting for list numbers */
  50.           ol li {
  51.             color: #008385;
  52.             font: bold 100px Georgia, Times, serif;
  53.             position: relative;
  54.             padding-top: 5px;
  55.           }
  56.  
  57.       /* Sets formatting for list content */
  58.           .read-more-list p {
  59.             font-family: Georgia, Times, serif;
  60.             font-weight: bold;
  61.             font-size: 20px;
  62.             text-decoration: none;
  63.             color: black;
  64.             padding-left: 80px
  65.           }
  66.  
  67.       /* Sets formatting for time stamps */
  68.           .time {
  69.             color: #888888;
  70.             font-size: 16px;
  71.             font-family: Helvetica, Arial, sans-serif;
  72.             font-weight: normal;
  73.             line-height: 1.6em;
  74.           }
  75.  
  76.       /* Sets poition for list numbers */
  77.           .list-numbers {
  78.             position: absolute;
  79.           }
  80.  
  81.       /* Sets formatting behaviours for links */
  82.           a:link, a:visited {
  83.             color: #008385;
  84.             text-decoration: none;
  85.           }
  86.  
  87.       /* Sets formatting behaviours for links on hover */
  88.           a:hover {
  89.             color: #004849;
  90.             text-decoration: none;
  91.           }
  92.  
  93.       /* Sets formating behaviours for link content on hover */
  94.           a:hover p {
  95.             color: #008385;
  96.             text-decoration: none;
  97.           }
  98.  
  99.       .margin-links a {
  100.         font-family: Arial, sans-serif;
  101.         color: #666666;
  102.         font-size: 0.9em;
  103.         font-weight: 300;
  104.         padding: 5px;
  105.         text-decoration: none;
  106.       }
  107.  
  108.       .margin-links a:hover {
  109.         color: #808080;
  110.       }
  111.  
  112.       .margin-links-footer a {
  113.         font-family: Arial, sans-serif;
  114.         color: #666666;
  115.         font-size: 16px;
  116.         font-weight: 300;
  117.         padding: 5px;
  118.         text-decoration: none;
  119.         border-right: 1px solid #c9c9c9;
  120.       }
  121.  
  122.       .margin-links-footer a:hover {
  123.         color: #808080;
  124.       }
  125.  
  126.       .footer-section {
  127.         border-top: 1px solid #c9c9c9;
  128.         width: 1040px;
  129.         text-align: center;
  130.         float: left;
  131.       }
  132.  
  133.       footer {
  134.         font-family: Arial, sans-serif;
  135.         color: #666666;
  136.         font-size: 16px;
  137.         margin-bottom: 35px;
  138.       }
  139.  
  140.       #telegraph-logo {
  141.         position: left;
  142.         width: 175px;
  143.         float: left;
  144.         opacity: 1;
  145.       }
  146.  
  147.       #telegraph-logo:hover {
  148.         opacity: 0.65;
  149.       }
  150.  
  151.       #nav-links a:link, #nav-links a:visited {
  152.         color: black;
  153.         text-decoration: none;
  154.         padding: 10px;
  155.         float: right;
  156.       }
  157.  
  158.       #nav-links a:hover {
  159.         color: #008385;
  160.         text-decoration: none;
  161.       }
  162.  
  163.       #search-box {
  164.         text-align: center;
  165.       }
  166.  
  167.       input {
  168.         width: 750px;
  169.         height: 50px;
  170.         border: 1px solid #008385;
  171.         border-radius: 5px;
  172.         font-size: 1.5em;
  173.         padding-left: 20px;
  174.         margin-top: 20px;
  175.       }
  176.  
  177.       #chain-links a:link, #chain-links a:visited {
  178.         color: #666666;
  179.         font-family: Arial, sans-serif;
  180.         font-weight: 400;
  181.         text-decoration: none;
  182.         font-size: 16px;
  183.       }
  184.  
  185.       #chain-links a:hover {
  186.         color: #008385;
  187.       }
  188.  
  189.       #travel {
  190.         font-size: 3em;
  191.         font-weight: 600;
  192.         background-color: #fff8e9;
  193.         color: #767676;
  194.         padding: 10px 15px 10px 15px;
  195.         border-bottom-style: solid;
  196.         border-bottom-width: thick;
  197.         border-bottom-color: #008385;
  198.         margin-top: 80px;
  199.         margin-bottom: 0px;
  200.       }
  201.  
  202.       #travel-links a:link, #travel-links a:visited, #travel-links a:hover {
  203.         color: black;
  204.         font-size: 0.75em;
  205.         text-decoration: none;
  206.         font-weight: normal;
  207.         padding-left: 8px;
  208.         padding-right: 4px;
  209.         border-left: 1px solid #c9c9c9;
  210.       }
  211.  
  212.       .travel-div {
  213.         border-bottom: 1px solid #c9c9c9;
  214.         text-align: center;
  215.       }
  216.  
  217.  
  218.       #author {
  219.         color: black;
  220.         text-decoration: none;
  221.       }
  222.  
  223.       #author:hover {
  224.         border-bottom: 2px solid black;
  225.         padding-bottom: 3px;
  226.       }
  227.  
  228.       #article-time {
  229.         font-family: Arial, sans-serif;
  230.         color: #808080;
  231.         line-height: 50px;
  232.       }
  233.  
  234.       .article-title {
  235.         font-size: 2em;
  236.         color: #222222;
  237.         margin-left: 75px;
  238.         font-size: 2.5em;
  239.         line-height: 1.25em;
  240.         margin-top: -20px;
  241.       }
  242.  
  243.       figcaption {
  244.         font-family: Arial, sans-serif;
  245.         color: #808080;
  246.         font-size: 18px;
  247.         letter-spacing: -0.025em;
  248.         margin-left: 40px;
  249.       }
  250.  
  251.       figcaption a:link, figcaption a:visited, figcaption a:hover {
  252.         color: #2e8fb7
  253.       }
  254.  
  255.       .article-headings {
  256.         color: #008385;
  257.         font-size: 1.2em;
  258.       }
  259.  
  260.       #article-list {
  261.         list-style-type: none;
  262.       }
  263.       #article-list p {
  264.         font-size: 22px;
  265.         color: black;
  266.         font-weight: normal;
  267.         padding-left: 60px;
  268.         margin-left: -90px;
  269.       }
  270.  
  271.       .article-list-numbers {
  272.         color: #008385;
  273.         font: bold 22px Georgia, Times, serif;
  274.         border: 1px solid #008385;
  275.         text-align: center;
  276.         border-radius: 30px;
  277.         width: 1.2em;
  278.         height: 1.2em;
  279.         padding: 10px;
  280.         position: absolute;
  281.         margin-left: -90px;
  282.       }
  283.  
  284.       .article-content {
  285.         margin-left: -40px;
  286.       }
  287.  
  288.       .article-images {
  289.         margin-left: -80px;
  290.       }
  291.  
  292.       .article-caption {
  293.         margin-left: -70px;
  294.         font-family: Arial, sans-serif;
  295.         color: #c9c9c9;
  296.         font-size: 0.6em;
  297.         letter-spacing: -0.025em;
  298.       }
  299.  
  300.     </style>
  301.  
  302.   </head>
  303.  
  304.   <body>
  305.  
  306.     <header class="margin-links">
  307.       <a href="https://auth.telegraph.co.uk/sam-ui/login.htm">Login</a>
  308.       <a href="https://auth.telegraph.co.uk/sam-ui/register.htm?redirectTo=http%3A%2F%2Fwww.telegraph.co.uk">Register</a>
  309.       <a href="http://www.telegraph.co.uk/subscriptions/">Subscribe</a>
  310.     </header>
  311.   <div class="header-section">
  312.     <img alt="The Telegraph Logo" src="http://www.telegraph.co.uk/content/dam/best/telegraph_OUTLINE-small.png" id="telegraph-logo">
  313.     <h3 id="nav-links">
  314.       <a href="">ALL SECTIONS</a>
  315.       <a href="http://www.telegraph.co.uk/business/">BUSINESS</a>
  316.       <a href="http://www.telegraph.co.uk/sport/">SPORT</a>
  317.       <a href="http://www.telegraph.co.uk/news/">NEWS</a>
  318.       <a href="http://www.telegraph.co.uk/">HOME</a>
  319.     </h3>
  320.   </div>
  321.  
  322.     <h1 id="travel">Travel</h1>
  323.     <div class="travel-div">
  324.     <h2 id="travel-links">
  325.       <a href="http://www.telegraph.co.uk/travel/destinations/">Destinations</a>
  326.       <a href="http://www.telegraph.co.uk/travel/hotels/">Hotels</a>
  327.       <a href="http://www.telegraph.co.uk/travel/types-of-trip/">Types of Trip</a>
  328.       <a href="http://www.telegraph.co.uk/travel/tours/">Tours</a>
  329.       <a href="http://www.telegraph.co.uk/travel/cruises/">Cruises</a>
  330.       <a href="http://www.telegraph.co.uk/travel/ski/">Ski</a>
  331.       <a href="http://www.telegraph.co.uk/travel/family-holidays/">Family</a>
  332.       <a href="http://www.telegraph.co.uk/travel/advice/">Advice</a>
  333.       <a href="http://travelshop.telegraph.co.uk/exclusive-offers/?from=nwttccouk">Offers</a>
  334.       <a href="http://www.telegraph.co.uk/travel/ultratravel">Luxury</a>
  335.     </h2>
  336.   </div>
  337.  
  338.   <div id="search-box">
  339.     <form>
  340.       <input type="text" placeholder="Search...">
  341.     </form>
  342.   </div>
  343.  
  344.     <h3 id="chain-links">
  345.       <a href="http://www.telegraph.co.uk/">Home ></a>
  346.       <a href="http://www.telegraph.co.uk/travel/">Travel ></a>
  347.       <a href="http://www.telegraph.co.uk/travel/maps-and-graphics/">Maps and graphics</a>
  348.     </h3>
  349.  
  350.     <div class="read-more">
  351.       <ol id="read-more-list">
  352.         <h4 id="read-heading"><a href="http://www.telegraph.co.uk/travel/maps-and-graphics/">READ MORE</a></h4>
  353.           <li class="read-more-list"><a href="http://www.telegraph.co.uk/travel/your-travels/secret-city-attractions-readers-tips-recommendations-travel-advice/">
  354.             <span class="list-numbers">1</span>
  355.             <p>Secret corners of the world: readers' tips<br>
  356.              <span class="time">17:50</span></p></a></li>
  357.          <li class="read-more-list"><a href="http://www.telegraph.co.uk/travel/destinations/middle-east/united-arab-emirates/dubai/articles/new-dubai-skyscraper-to-surpass-the-worlds-tallest-building/">
  358.            <span class="list-numbers">2</span>
  359.            <p>New Dubai skyscraper to surpass the world's tallest<br>
  360.               <span class="time">10:31</span></p></a></li>
  361.           <li class="read-more-list"><a href="http://www.telegraph.co.uk/travel/news/How-to-survive-on-a-desert-island/">
  362.             <span class="list-numbers">3</span>
  363.             <p>How to survive on a desert island<br>
  364.               <span class="time">9:45</span></p></a></li>
  365.           <li class="read-more-list"><a href="http://www.telegraph.co.uk/travel/travel-competitions/Win-a-holiday-voucher/">
  366.             <span class="list-numbers">4</span>
  367.             <p>Win a &pound;350 holiday voucher<br>
  368.               <span class="time">8:00</span></p></a></li>
  369.           <li class="read-more-list"><a href="http://www.telegraph.co.uk/travel/destinations/europe/articles/The-best-beach-hotels-in-the-Mediterranean/">
  370.             <span class="list-numbers">5</span>
  371.             <p>The best beach hotels in the Mediterranean<br>
  372.               <span class="time">11:02</span></p></a></li>
  373.       </ol>
  374.     </div>
  375.  
  376.   <div class="article-body">
  377.     <h1 class="article-title">5 maps that will change the way you see the world</a></h1>
  378.  
  379.     <figure>
  380.       <img alt="World Map" src="http://www.telegraph.co.uk/content/dam/Travel/2016/April/maps-hub-large.jpg">
  381.       <figcaption>The world accord to forest size, Foreign Office advice, reliance on tourism and World Heritage Sites</figcaption>
  382.     <figure>
  383.  
  384.     <p>By <strong><a href="http://www.telegraph.co.uk/travel/team/telegraph-travel/"><span id="author">Telegraph Travel</span></a></strong><br>
  385.       <span id="article-time">11 APRIL 2016 10:51AM</span></p>
  386.  
  387.     <ol>
  388.       <h2><li class="article-headings">
  389.         Life expectancy
  390.       </li></h2>
  391.       <p class="article-content">This map shows the world according to life expectancy.
  392.         The results are depressingly unsurprising. Africa is the only continent that contains nations where the average life expectancy is below 60.
  393.         And there are 28 of them. The lowest life expectancy of all is found in Sierra Leone, where it is a staggering 46. Japan is where residents live the longest -
  394.         84, on average, according to the World Health Organisation data, published this year. It is closely followed by six countries on 83 years: Andorra, Australia,
  395.         Switzerland, Italy, Singapore and San Marino.
  396.       </p>
  397.  
  398.       <figure>
  399.       <img class="article-images" alt="Heat map indicating life expectancy" src="http://www.telegraph.co.uk/content/dam/Travel/2016/April/maps-hub-large.jpg">
  400.       <figcaption class="article-caption">Map created by <a href="https://telegraphtravel.cartodb.com/me">telegraphtravel</a></figcaption>
  401.       </figure>
  402.  
  403.       <h2><li class="article-headings">
  404.         Where's safe
  405.      </li></h2>
  406.      <p class="article-content">This map shows those countries the Foreign Office believes is safe for British travellers
  407.        to visit (in green), and those it doesn't (red). The Foreign Office advises against travel to parts of those countries shown in yellow.
  408.       </p>
  409.  
  410.       <figure>
  411.       <img class="article-images" alt="Heat map indicating where is safest to live" src="http://www.telegraph.co.uk/content/dam/Travel/2016/April/maps-hub-large.jpg">
  412.       <figcaption class="article-caption">Map created by <a href="https://telegraphtravel.cartodb.com/me">telegraphtravel</a></figcaption>
  413.       </figure>
  414.  
  415.       <h2><li class="article-headings">
  416.         Terror threat
  417.       </li></h2>
  418.       <p class="article-content">This map shows where the Foreign Office believes a terrorist attack is most likely to occur. The threat is rated "high"
  419.         in more than 30 countries, with summer holiday favourites such as Spain and France given the same rating as Libya, Pakistan and
  420.         Somalia. Russia, Egypt, Tunisia, Myanmar, Kenya, the Philippines and Colombia, Turkey, Thailand, Australia and Belgium are also
  421.         given the top rating, as well as much of the Middle East, including Iraq, Saudi Arabia, Yemen, Syria, Lebanon, Israel and Afghanistan.
  422.         Countries where the terror threat is low include Iceland, Bolivia, Ecuador, Poland, the Czech Republic, Switzerland, Hungary, Vietnam and Japan.
  423.       </p>
  424.  
  425.       <figure>
  426.       <img class="article-images" alt="Heat map indicating terror threat" src="http://www.telegraph.co.uk/content/dam/Travel/2016/April/maps-hub-large.jpg">
  427.       <figcaption class="article-caption">Map created by <a href="https://telegraphtravel.cartodb.com/me">telegraphtravel</a></figcaption>
  428.       </figure>
  429.  
  430.       <h2><li class="article-headings">
  431.         Population density
  432.       </li></h2>
  433.       <p class="article-content">Those most - and least - crowded countries are shown here, based on the latest available figures from the UN Population
  434.         Division. If you like solitude, avoid most of the Far East and Western Europe, and consider one of the 10 least crowded places...
  435.       </p>
  436.  
  437.       <figure>
  438.       <img class="article-images" alt="Heat map indicating population density" src="http://www.telegraph.co.uk/content/dam/Travel/2016/April/maps-hub-large.jpg">
  439.       <figcaption class="article-caption">Map created by <a href="https://telegraphtravel.cartodb.com/me">telegraphtravel</a></figcaption>
  440.       </figure>
  441.  
  442.       <ol id="article-list">
  443.         <li><span class="article-list-numbers">1</span><p>Greenland - 0.0 people per sq km</p></li>
  444.         <li><span class="article-list-numbers">2</span><p>Falkland Islands - 0.3 people per sq km</p></li>
  445.         <li><span class="article-list-numbers">3</span><p>Mongolia - 1.9 people per sq km</p></li>
  446.         <li><span class="article-list-numbers">4</span><p>Western Sahara - 2.3 people per sq km</p></li>
  447.         <li><span class="article-list-numbers">5</span><p>Namibia - 2.9 people per sq km</p></li>
  448.         <li><span class="article-list-numbers">6</span><p>French Guiana - 2.9 people per sq km</p></li>
  449.         <li><span class="article-list-numbers">7</span><p>Australia - 3.1 people per sq km</p></li>
  450.         <li><span class="article-list-numbers">8</span><p>Iceland - 3.3 people per sq km</p></li>
  451.         <li><span class="article-list-numbers">9</span><p>Suriname - 3.3 people per sq km</p></li>
  452.         <li><span class="article-list-numbers">10</span><p>Botswana - 3.5 people per sq km</p></li>
  453.       </ol>
  454.  
  455.       <h2><li class="article-headings">
  456.         Alcohol consumption
  457.       </li></h2>
  458.       <p class="article-content">This map reflects alcohol consumption per capita. Belarus is the most sozzled state, which a typical adult consuming 17.5
  459.         litres of pure alcohol a year - equivalent to 179 bottles of wine or 1,750 shots of vodka. It is followed by Moldova, Lithuania,
  460.         Russia, Romania and Ukraine. Britain is 25th overall - we each consume 11.6 litres of pure alcohol a year, on average.
  461.       </p>
  462.  
  463.       <figure>
  464.       <img class="article-images" alt="Heat map indicating alcohol consumption globally" src="http://www.telegraph.co.uk/content/dam/Travel/2016/April/maps-hub-large.jpg">
  465.       <figcaption class="article-caption">Map created by <a href="https://telegraphtravel.cartodb.com/me">telegraphtravel</a></figcaption>
  466.       </figure>
  467.  
  468.     </ol>
  469.   </div>
  470.  
  471.   <div class="footer-section">
  472.     <h3 class="margin-links-footer">
  473.       <a href="http://www.telegraph.co.uk/topics/about-us/3489870/Contact-Telegraph-Media-Group.html">Contact Us</a>
  474.       <a href="http://www.telegraph.co.uk/archive/">Archive</a>
  475.       <a href="http://telegraph.newsprints.co.uk/">Reader Prints</a>
  476.       <a href="http://www.telegraph.co.uk/advertising/">Advertising</a>
  477.       <a href="http://www.telegraph.co.uk/topics/syndication-services/">Syndication</a>
  478.       <a href="http://www.telegraph.co.uk/topics/about-us/11570701/Editorial-and-commercial-guidelines.html">Guidelines</a>
  479.       <a href="http://www.telegraph.co.uk/topics/about-us/3691972/Privacy-and-Cookie-Policy.html">Privacy</a>
  480.       <a href="http://www.telegraph.co.uk/termsandconditions">Terms and Conditions</a>
  481.     </h3>
  482.  
  483.     <footer>&copy; Telegraph Media Group Limited 2016</footer>
  484.   </div>
  485.  
  486.   </body>
  487.  
  488. </html>
Advertisement
Add Comment
Please, Sign In to add comment