Test: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Undo revision 228353 by Marcin (talk))
No edit summary
Line 1: Line 1:
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<title>W3.CSS Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
<style>
* {
body, h1,h2,h3,h4,h5,h6 {font-family: "Montserrat", sans-serif}
  box-sizing: border-box;
.w3-row-padding img {margin-bottom: 12px}
}
/* Set the width of the sidebar to 120px */
.w3-sidebar {width: 120px;background: #222;}
/* Add a left margin to the "page content" that matches the width of the sidebar (120px) */
#main {margin-left: 120px}
/* Remove margins from "page content" on small screens */
@media only screen and (max-width: 600px) {#main {margin-left: 0}}
</style>
<body class="w3-black">


.row::after {
<!-- Icon Bar (Sidebar - hidden on small screens) -->
   content: "";
<nav class="w3-sidebar w3-bar-block w3-small w3-hide-small w3-center">
   clear: both;
  <!-- Avatar image in top left corner -->
   display: table;
  <img src="/w3images/avatar_smoke.jpg" style="width:100%">
}
  <a href="#" class="w3-bar-item w3-button w3-padding-large w3-black">
    <i class="fa fa-home w3-xxlarge"></i>
    <p>HOME</p>
  </a>
  <a href="#about" class="w3-bar-item w3-button w3-padding-large w3-hover-black">
    <i class="fa fa-user w3-xxlarge"></i>
    <p>ABOUT</p>
  </a>
   <a href="#photos" class="w3-bar-item w3-button w3-padding-large w3-hover-black">
    <i class="fa fa-eye w3-xxlarge"></i>
    <p>PHOTOS</p>
  </a>
   <a href="#contact" class="w3-bar-item w3-button w3-padding-large w3-hover-black">
    <i class="fa fa-envelope w3-xxlarge"></i>
    <p>CONTACT</p>
   </a>
</nav>


[class*="col-"] {
<!-- Navbar on small screens (Hidden on medium and large screens) -->
   float: left;
<div class="w3-top w3-hide-large w3-hide-medium" id="myNavbar">
   padding: 15px;
   <div class="w3-bar w3-black w3-opacity w3-hover-opacity-off w3-center w3-small">
}
    <a href="#" class="w3-bar-item w3-button" style="width:25% !important">HOME</a>
    <a href="#about" class="w3-bar-item w3-button" style="width:25% !important">ABOUT</a>
    <a href="#photos" class="w3-bar-item w3-button" style="width:25% !important">PHOTOS</a>
    <a href="#contact" class="w3-bar-item w3-button" style="width:25% !important">CONTACT</a>
   </div>
</div>


html {
<!-- Page Content -->
   font-family: "Lucida Sans", sans-serif;
<div class="w3-padding-large" id="main">
}
  <!-- Header/Home -->
   <header class="w3-container w3-padding-32 w3-center w3-black" id="home">
    <h1 class="w3-jumbo"><span class="w3-hide-small">I'm</span> John Doe.</h1>
    <p>Photographer and Web Designer.</p>
    <img src="/w3images/man_smoke.jpg" alt="boy" class="w3-image" width="992" height="1108">
  </header>


.header {
  <!-- About Section -->
  background-color: #9933cc;
  <div class="w3-content w3-justify w3-text-grey w3-padding-64" id="about">
  color: #ffffff;
    <h2 class="w3-text-light-grey">My Name</h2>
  padding: 15px;
    <hr style="width:200px" class="w3-opacity">
}
    <p>Some text about me. Some text about me. I am lorem ipsum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip
      ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur
      adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    </p>
    <h3 class="w3-padding-16 w3-text-light-grey">My Skills</h3>
    <p class="w3-wide">Photography</p>
    <div class="w3-white">
      <div class="w3-dark-grey" style="height:28px;width:95%"></div>
    </div>
    <p class="w3-wide">Web Design</p>
    <div class="w3-white">
      <div class="w3-dark-grey" style="height:28px;width:85%"></div>
    </div>
    <p class="w3-wide">Photoshop</p>
    <div class="w3-white">
      <div class="w3-dark-grey" style="height:28px;width:80%"></div>
    </div><br>
   
    <div class="w3-row w3-center w3-padding-16 w3-section w3-light-grey">
      <div class="w3-quarter w3-section">
        <span class="w3-xlarge">11+</span><br>
        Partners
      </div>
      <div class="w3-quarter w3-section">
        <span class="w3-xlarge">55+</span><br>
        Projects Done
      </div>
      <div class="w3-quarter w3-section">
        <span class="w3-xlarge">89+</span><br>
        Happy Clients
      </div>
      <div class="w3-quarter w3-section">
        <span class="w3-xlarge">150+</span><br>
        Meetings
      </div>
    </div>


.menu ul {
    <button class="w3-button w3-light-grey w3-padding-large w3-section">
  list-style-type: none;
      <i class="fa fa-download"></i> Download Resume
  margin: 0;
    </button>
  padding: 0;
   
}
    <!-- Grid for pricing tables -->
    <h3 class="w3-padding-16 w3-text-light-grey">My Price</h3>
    <div class="w3-row-padding" style="margin:0 -16px">
      <div class="w3-half w3-margin-bottom">
        <ul class="w3-ul w3-white w3-center w3-opacity w3-hover-opacity-off">
          <li class="w3-dark-grey w3-xlarge w3-padding-32">Basic</li>
          <li class="w3-padding-16">Web Design</li>
          <li class="w3-padding-16">Photography</li>
          <li class="w3-padding-16">5GB Storage</li>
          <li class="w3-padding-16">Mail Support</li>
          <li class="w3-padding-16">
            <h2>$ 10</h2>
            <span class="w3-opacity">per month</span>
          </li>
          <li class="w3-light-grey w3-padding-24">
            <button class="w3-button w3-white w3-padding-large w3-hover-black">Sign Up</button>
          </li>
        </ul>
      </div>


.menu li {
      <div class="w3-half">
  padding: 8px;
        <ul class="w3-ul w3-white w3-center w3-opacity w3-hover-opacity-off">
  margin-bottom: 7px;
          <li class="w3-dark-grey w3-xlarge w3-padding-32">Pro</li>
   background-color: #33b5e5;
          <li class="w3-padding-16">Web Design</li>
   color: #ffffff;
          <li class="w3-padding-16">Photography</li>
   box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
          <li class="w3-padding-16">50GB Storage</li>
}
          <li class="w3-padding-16">Endless Support</li>
          <li class="w3-padding-16">
            <h2>$ 25</h2>
            <span class="w3-opacity">per month</span>
          </li>
          <li class="w3-light-grey w3-padding-24">
            <button class="w3-button w3-white w3-padding-large w3-hover-black">Sign Up</button>
          </li>
        </ul>
      </div>
    <!-- End Grid/Pricing tables -->
    </div>
   
    <!-- Testimonials -->
    <h3 class="w3-padding-24 w3-text-light-grey">My Reputation</h3> 
    <img src="/w3images/bandmember.jpg" alt="Avatar" class="w3-left w3-circle w3-margin-right" style="width:80px">
    <p><span class="w3-large w3-margin-right">Chris Fox.</span> CEO at Mighty Schools.</p>
    <p>John Doe saved us from a web disaster.</p><br>
   
    <img src="/w3images/avatar_g2.jpg" alt="Avatar" class="w3-left w3-circle w3-margin-right" style="width:80px">
    <p><span class="w3-large w3-margin-right">Rebecca Flex.</span> CEO at Company.</p>
    <p>No one is better than John Doe.</p>
   <!-- End About Section -->
  </div>
 
   <!-- Portfolio Section -->
   <div class="w3-padding-64 w3-content" id="photos">
    <h2 class="w3-text-light-grey">My Photos</h2>
    <hr style="width:200px" class="w3-opacity">


.menu li:hover {
    <!-- Grid for photos -->
  background-color: #0099cc;
    <div class="w3-row-padding" style="margin:0 -16px">
}
      <div class="w3-half">
        <img src="/w3images/wedding.jpg" style="width:100%">
        <img src="/w3images/rocks.jpg" style="width:100%">
        <img src="/w3images/sailboat.jpg" style="width:100%">
      </div>


.aside {
      <div class="w3-half">
  background-color: #33b5e5;
        <img src="/w3images/underwater.jpg" style="width:100%">
  padding: 15px;
        <img src="/w3images/chef.jpg" style="width:100%">
  color: #ffffff;
        <img src="/w3images/wedding.jpg" style="width:100%">
  text-align: center;
        <img src="/w3images/p6.jpg" style="width:100%">
  font-size: 14px;
      </div>
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    <!-- End photo grid -->
}
    </div>
 
   <!-- End Portfolio Section -->
.footer {
  </div>
  background-color: #0099cc;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  padding: 15px;
}
 
/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}
 
@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}
</style>
</head>
<body>
 
<div class="header">
   <h1>Chania</h1>
</div>


<div class="row">
  <!-- Contact Section -->
   <div class="col-3 col-s-3 menu">
   <div class="w3-padding-64 w3-content w3-text-grey" id="contact">
     <ul>
     <h2 class="w3-text-light-grey">Contact Me</h2>
      <li>The Flight</li>
     <hr style="width:200px" class="w3-opacity">
      <li>The City</li>
      <li>The Island</li>
      <li>The Food</li>
     </ul>
  </div>


  <div class="col-6 col-s-9">
    <div class="w3-section">
    <h1>The City</h1>
      <p><i class="fa fa-map-marker fa-fw w3-text-white w3-xxlarge w3-margin-right"></i> Chicago, US</p>
    <p>Chania is the capital of the Chania region on the island of Crete. The city can be divided in two parts, the old town and the modern city.</p>
      <p><i class="fa fa-phone fa-fw w3-text-white w3-xxlarge w3-margin-right"></i> Phone: +00 151515</p>
  </div>
      <p><i class="fa fa-envelope fa-fw w3-text-white w3-xxlarge w3-margin-right"> </i> Email: mail@mail.com</p>
    </div><br>
    <p>Let's get in touch. Send me a message:</p>


  <div class="col-3 col-s-12">
    <form action="/action_page.php" target="_blank">
    <div class="aside">
      <p><input class="w3-input w3-padding-16" type="text" placeholder="Name" required name="Name"></p>
      <h2>What?</h2>
      <p><input class="w3-input w3-padding-16" type="text" placeholder="Email" required name="Email"></p>
       <p>Chania is a city on the island of Crete.</p>
       <p><input class="w3-input w3-padding-16" type="text" placeholder="Subject" required name="Subject"></p>
       <h2>Where?</h2>
       <p><input class="w3-input w3-padding-16" type="text" placeholder="Message" required name="Message"></p>
       <p>Crete is a Greek island in the Mediterranean Sea.</p>
       <p>
      <h2>How?</h2>
        <button class="w3-button w3-light-grey w3-padding-large" type="submit">
      <p>You can reach Chania airport from all over Europe.</p>
          <i class="fa fa-paper-plane"></i> SEND MESSAGE
     </div>
        </button>
      </p>
     </form>
  <!-- End Contact Section -->
   </div>
   </div>
</div>
 
    <!-- Footer -->
  <footer class="w3-content w3-padding-64 w3-text-grey w3-xlarge">
    <i class="fa fa-facebook-official w3-hover-opacity"></i>
    <i class="fa fa-instagram w3-hover-opacity"></i>
    <i class="fa fa-snapchat w3-hover-opacity"></i>
    <i class="fa fa-pinterest-p w3-hover-opacity"></i>
    <i class="fa fa-twitter w3-hover-opacity"></i>
    <i class="fa fa-linkedin w3-hover-opacity"></i>
    <p class="w3-medium">Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank" class="w3-hover-text-green">w3.css</a></p>
  <!-- End footer -->
  </footer>


<div class="footer">
<!-- END PAGE CONTENT -->
  <p>Resize the browser window to see how the content respond to the resizing.</p>
</div>
</div>


</body>
</body>
</html>
</html>

Revision as of 06:09, 24 July 2020

<!DOCTYPE html> W3.CSS Template

I'm John Doe.

Photographer and Web Designer.

boy

My Name


Some text about me. Some text about me. I am lorem ipsum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

My Skills

Photography

Web Design

Photoshop


11+
Partners
55+
Projects Done
89+
Happy Clients
150+
Meetings

My Price

  • Basic
  • Web Design
  • Photography
  • 5GB Storage
  • Mail Support
  • $ 10

    per month
  • Pro
  • Web Design
  • Photography
  • 50GB Storage
  • Endless Support
  • $ 25

    per month

My Reputation

Avatar

Chris Fox. CEO at Mighty Schools.

John Doe saved us from a web disaster.


Avatar

Rebecca Flex. CEO at Company.

No one is better than John Doe.

My Photos


Contact Me


Chicago, US

Phone: +00 151515

Email: mail@mail.com


Let's get in touch. Send me a message: