Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--------1D ABOUT PAGE - 3 IMAGE---------
- MADE BY irrelevantdivision.tumblr.com
- --------------------------------
- last update (m/d/y): 07/08/15
- rules of usage:
- -DO NOT REMOVE CREDIT
- -DO NOT USE AS A BASE, THEN CLAIM AS YOUR OWN
- -DO NOT REDISTRIBUTE
- JUST DON'T BECAUSE I WILL FIND YOU BUT THE COPS WON'T FIND YOUR BODY
- THANKS
- ------------------------------->
- <html>
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="altertnate" type="application/rss+xml" href="{RSS}">
- <meta name="description" content="" />
- <meta http-equiv="x-dns-prefetch-control" content="off"/>
- <!--------------
- SCRIPTS
- --------------->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
- <script>
- $(function()
- {
- $("a#click1").click(function()
- {
- $("#info1").slideToggle();
- return false;
- });
- });
- </script>
- <script>
- $(function()
- {
- $("a#click2").click(function()
- {
- $("#info2").slideToggle();
- return false;
- });
- });
- </script>
- <script>
- $(function()
- {
- $("a#click3").click(function()
- {
- $("#info3").slideToggle();
- return false;
- });
- });
- </script>
- </head>
- <style type="text/css">
- body {
- font-family: calibri;
- font-size: 11px;
- }
- blockquote {
- border-left: 2px solid #000;
- padding-left: 5px;
- }
- a {
- color: #e5b330;
- text-decoration: none;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s;
- }
- a:hover {
- color: #000;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s;
- }
- .subtitle {
- text-transform: uppercase;
- letter-spacing: +1px;
- text-decoration: underline;
- text-align: center;
- margin-bottom: 5px;
- }
- .header {
- width: 756px; /*TOTAL WIDTH HERE*/
- padding: 1px 0;
- color: #fff;
- background-color: #000;
- text-align: center;
- margin: 15px auto;
- font-size: 14px;
- text-transform: uppercase;
- letter-spacing: +1px;
- }
- .images {
- width: 800px;
- margin: 10px auto 10px auto;
- text-align: center;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s;
- }
- .images img {
- opacity: 0.7;
- display: inline-block;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s;
- }
- .images img:hover, image:hover {
- opacity: 1;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s;
- }
- .img1 {
- display: inline-block;
- position: relative;
- top: 0;
- }
- .img2 {
- display: inline-block;
- position: relative;
- top:0;
- }
- .img3 {
- display: inline-block;
- position: relative;
- top:0;
- }
- .text {
- width: 800px;
- margin: 0 auto;
- }
- .down1, .down2, .down3 {
- background-color: #000;
- text-align: center;
- color: #fff;
- width: 756px; /*TOTAL WIDTH ALSO HERE*/
- margin: 0 auto;
- display: block;
- }
- #info1, #info2, #info3 {
- display: none;
- text-align: justify;
- padding: 8px 4px;
- height: auto;
- width: 746px; /*TOTAL WIDTH MINUS 10 HERE*/
- margin: 0 auto;
- }
- .links {
- width: 800px;
- margin: 45px auto;
- text-transform: uppercase;
- text-align: center;
- }
- .links a {
- color: #000;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s;
- }
- .links a:hover {
- color: #e5b330;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s;
- }
- #credit {
- padding: 0px 5px 0px 6px;
- border: 1px solid #000;
- color: #fff;
- background-color: #000;
- transition-duration: 0.8s;
- -moz-transition-duration: 0.8s;
- -webkit-transition-duration: 0.8s;
- -o-transition-duration: 0.8s;
- }
- #credit:hover {
- color: #e5b330;
- border: 1px solid #e5b330;
- background-color: #fff;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s;
- }
- </style>
- <body>
- <div class="con">
- <div class="header">an about page (ft. harry styles)</div>
- <div class="images"><!--CUSTOM IMAGES IN HERE-->
- <div class="img1"><a href="#" id="click1"><img src="http://40.media.tumblr.com/d17d06d39ecb1b4b01ec12fcfa56959f/tumblr_nfn0newwx51rvp1uvo1_250.png"></a></div>
- <div class="img2"><a href="3" id="click2"><img src="http://41.media.tumblr.com/d6e0e10ff7cdd9ff449ea4da35bb4b05/tumblr_nfn0newwx51rvp1uvo2_250.png"></a></div>
- <div class="img3"><a href="#" id="click3"><img src="https://36.media.tumblr.com/41580b8f5e31db315fa486095798858a/tumblr_nr5rnvxcY01rm1fjeo1_250.png"></a></div>
- </div>
- <div class="text">
- <div id="info1">
- <div class="subtitle">
- <!--CUSTOM SECTION TITLE-->(optional section title - you can delete or replace this text)
- </div>
- <!--1ST SECTION TEXT BEGINS HERE-->
- Lorem ipsum dolor sit amet, ignota mentitum te nam, viris tation ad sea. Ea per habeo audiam dignissim, dicant graece accommodare id mel.
- <a href="/">Links!</a> <em>Italics!</em> <strong>Bold font!</strong>
- <!--1ST SECTION TEXT END-->
- </div>
- <div class="down1">▼</div>
- <div id="info2">
- <div class="subtitle">
- <!--CUSTOM SECTION TITLE-->
- (optional section title - you can delete or replace this text)
- </div>
- <!--2ND SECTION TEXT BEGINS HERE-->
- Important things:<br />
- <ul>
- <li>max-width: 800px</li>
- <li>number of images corresponds to the number of sections</li>
- <li>this version works best with three images unless you want to do some extra editing. <a href="/odap2">Here's the 2 image version :)</a></li><br/><br/>
- </ul>
- <em>If you are changing the pics - <strong>replace the urls, then follow these steps:</strong></em>
- <ul>
- <li>some of the css depends on your image width, so you'll need to do some (really easy) math. <em>Note: TALL and THIN images fit best.</em>
- <ul>
- <li>images of the same width and height look best!</li>
- <li>multiply the width of a single image by 3, then add 6 to that. This gives you the total width. <em>(ex: for harry, that would be (250 x 3) + 6= 756px)</em></li>
- <li>put that number in the <strong>width</strong> property under the classes <strong>".down1"</strong> and <strong>".header"</strong>.</li>
- <li>subtract 10 from the number, put your new number in the <strong>width</strong> property under <strong>"#info1"</strong>.</li>
- </ul>
- </li>
- <br/><li>Don't hesitate to message me if you have questions!</li>
- </ul>
- <!--2ND SECTION TEXT END-->
- </div>
- <div class="down2">▼</div>
- <div id="info3">
- <div class="subtitle">
- <!--CUSTOM SECTION TITLE-->
- (optional section title - you can delete or replace this text)
- </div>
- <!--3RD SECTION TEXT BEGINS HERE-->
- images from: <a href="http://sinkhol.tumblr.com/post/103624972263/harry-styles-at-the-28th-annual-aria-awards">sinkhol</a><br />
- java from: <a href="http://stackoverflow.com/questions/8101284/how-to-create-sliding-div-on-click">tim cooper</a> on stackoverflow <br />
- how to do <a href="http://irrelevantdivision.tumblr.com/themebe">basic edits</a><br />
- <a href="http://irrelevantdivision.tumblr.com/ask">send me an ask here</a>
- <!--3RD SECTION TEXT END-->
- </div>
- <div class="down3">▼</div>
- </div>
- <div class="links"><a href="/">back to blog</a>
- <br /><br />
- <a href="http://irrelevantdivision.tumblr.com/tagged/theme-theme" id="credit">IDTHEMES</a></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement