Advertisement
j0h4n54ntr1

svg

Jul 21st, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.27 KB | None | 0 0
  1. <?php
  2. defined('BASEPATH') OR exit('No direct script access allowed');
  3. ?><!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6.     <meta charset="utf-8">
  7.     <title>Welcome to CodeIgniter</title>
  8.  
  9.     <style type="text/css">
  10.  
  11.     ::selection { background-color: #E13300; color: white; }
  12.     ::-moz-selection { background-color: #E13300; color: white; }
  13.  
  14.     body {
  15.         background-color: #fff;
  16.         margin: 40px;
  17.         font: 13px/20px normal Helvetica, Arial, sans-serif;
  18.         color: #4F5155;
  19.     }
  20.  
  21.     a {
  22.         color: #003399;
  23.         background-color: transparent;
  24.         font-weight: normal;
  25.     }
  26.  
  27.     h1 {
  28.         color: #444;
  29.         background-color: transparent;
  30.         border-bottom: 1px solid #D0D0D0;
  31.         font-size: 19px;
  32.         font-weight: normal;
  33.         margin: 0 0 14px 0;
  34.         padding: 14px 15px 10px 15px;
  35.     }
  36.  
  37.     code {
  38.         font-family: Consolas, Monaco, Courier New, Courier, monospace;
  39.         font-size: 12px;
  40.         background-color: #f9f9f9;
  41.         border: 1px solid #D0D0D0;
  42.         color: #002166;
  43.         display: block;
  44.         margin: 14px 0 14px 0;
  45.         padding: 12px 10px 12px 10px;
  46.     }
  47.  
  48.     #body {
  49.         margin: 0 15px 0 15px;
  50.     }
  51.  
  52.     p.footer {
  53.         text-align: right;
  54.         font-size: 11px;
  55.         border-top: 1px solid #D0D0D0;
  56.         line-height: 32px;
  57.         padding: 0 10px 0 10px;
  58.         margin: 20px 0 0 0;
  59.     }
  60.  
  61.     #container {
  62.         margin: 10px;
  63.         border: 1px solid #D0D0D0;
  64.         box-shadow: 0 0 8px #D0D0D0;
  65.     }
  66.     </style>
  67. </head>
  68. <body>
  69.  
  70. <div id="container">
  71.     <h1>Welcome to CodeIgniter!</h1>
  72.  
  73.     <div id="body">
  74.         <svg height="150" width="400">
  75.       <defs>
  76.         <linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%">
  77.           <stop offset="0%" style="stop-color:rgb(255,255,0);stop-opacity:1" />
  78.           <stop offset="100%" style="stop-color:rgb(255,0,0);stop-opacity:1" />
  79.         </linearGradient>
  80.       </defs>
  81.       <ellipse cx="200" cy="70" rx="85" ry="55" fill="url(#grad1)" />
  82.       <text fill="#ffffff" font-size="45" font-family="Verdana" x="150" y="86">SVG</text>
  83.       Sorry, your browser does not support inline SVG.
  84.     </svg>
  85.  
  86.         <p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p>
  87.     </div>
  88.  
  89.     <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds. <?php echo  (ENVIRONMENT === 'development') ?  'CodeIgniter Version <strong>' . CI_VERSION . '</strong>' : '' ?></p>
  90. </div>
  91.  
  92. </body>
  93. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement