Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <!-- hi! this was originally intended for personal use so forgive me if anything seems messsy. i'll be happy to help out with theme support if you message me on tumblr @ dayslily!
- CTRL+F will be your best friend as you edit.
- QUICK EDIT NAV: search "color edit" "image edit" "(!) EDIT"
- ICON FONT USED: https://boxicons.com/
- if you want to change icons, use 'font' - not web component.
- -->
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <!-- META TAGS, SCRIPTS, AND CUSTOM FONTS GO HERE-->
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;700&display=swap" rel="stylesheet">
- <link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;400&display=swap" rel="stylesheet">
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap" rel="stylesheet">
- </head>
- <style type="text/css">
- /* hide scrollbar but allow scrolling */
- element {
- -ms-overflow-style: none; /* for Internet Explorer, Edge */
- scrollbar-width: none; /* for Firefox */
- overflow-y: scroll;
- }
- element::-webkit-scrollbar {
- display: none; /* for Chrome, Safari, and Opera */
- }
- ::-webkit-scrollbar {
- display: none;
- }
- body {
- background-color:#E9E9E9;
- /* (COLOR EDIT) CHANGE BACKGROUND COLOR */
- font-family:poppins;
- }
- #container {
- width:900px; height:700px;
- border-radius:10px;
- background-color:#fff;
- /* (COLOR EDIT) CHANGE WINDOW BACKGROUND COLOR */
- box-shadow:0px 1px 10px #b4b4b4;
- position:fixed; margin:auto;
- top:0px; bottom:0px; left:0px; right:0px;
- }
- /* (!!!!) MAIN FEATURE: CHROME WINDOW */
- #topbar {
- width:900px; height:35px;
- border-radius: 10px 10px 0px 0px;
- background-color:#8cabe5;
- /* (COLOR EDIT) CHANGE TOPBAR COLOR */
- position:fixed; margin:auto;
- }
- .buttons {
- width:80px; height:35px;
- text-align:center;
- font-size:25px;
- color:#61c554;
- margin-top:-2px;
- }
- .buttons b { font-weight:normal; font-style:normal; color:#ed6a5e; }
- .buttons i { font-weight:normal; font-style:normal; color:#f5bf4f; }
- .tab {
- width:200px; height:26px;
- border-radius:10px 10px 0px 0px;
- background-color:#cfdbf4;
- /* (COLOR EDIT) CHANGE TAB COLOR
- you'll want this to match the search bar bg color! */
- position:absolute; margin:auto;
- bottom:0px; left:83px;
- }
- .tabicon {
- width:20px; height:26px;
- font-size:16px;
- margin-left:10px; margin-top:4px;
- /* if you need to change the position or color
- of the tab icon, do that above ^ */
- }
- .tabtitle {
- width:124px; height:26px;
- overflow:hidden;
- font-size:11px;
- position:absolute; margin:auto;
- top:6px; right:42px;
- }
- .tabbutton {
- font-size:16px;
- position:absolute; margin:auto;
- top:4px; right:6px;
- }
- #searchbar {
- width:900px; height:35px;
- background-color:#cfdbf4;
- /* (COLOR EDIT) CHANGE SEARCH BAR COLOR */
- border-bottom:1px solid #769ff4;
- position:fixed; margin:auto;
- margin-top:35px;
- }
- .searchbuttons {
- width:80px; height:35px;
- text-align:center;
- font-size:20px; color:#202020;
- opacity:70%;
- margin-left:8px; margin-top:4px;
- }
- .profilebutton {
- width:50px; height:35px;
- text-align:center;
- font-size:18px; color:#202020;
- opacity:70%;
- position:absolute; margin:auto;
- right:2px; top:6px;
- }
- .searchfield {
- width:740px; height:20px;
- border-radius:50px;
- background-color:#f5f8fc;
- /* (COLOR EDIT) CHANGE COLOR OF TYPING FIELD */
- opacity:70%;
- position:absolute; margin:auto;
- right:60px; top:7px;
- }
- .searchlock {
- font-size:11px;
- position:absolute; margin:auto;
- top:3px; left:10px;
- opacity:70%;
- }
- .searchterm {
- width:740px; height:20px;
- font-size:10px;
- font-family:roboto;
- position:absolute; margin:auto;
- top:4px; left:28px;
- }
- /* (!!!!) END OF MAIN FEATURE: CHROME WINDOW */
- /* (!!!!) MAIN FEATURE: NEWSPAGE */
- /* (!!!) SUB FEATURE: BREAKING NEWS */
- #breakingbanner {
- width:900px; height:40px;
- background-color:#E23A31;
- /* (COLOR EDIT) CHANGE COLOR OF BREAKING NEWS BANNER */
- position:absolute; margin:auto;
- top:70px;
- }
- .breaking {
- width:110px; height:40px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF "BREAKING" */
- font-size:20px; font-weight:700; text-align:center;
- position:absolute; margin:auto;
- top:5px; left:15px;
- }
- .breakingheadline {
- width:500px; height:40px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF BREAKING HEADLINE */
- font-size:13px;
- position:absolute; margin:auto;
- top:10px; left:140px;
- }
- .breakinginfo {
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF BREAKING ICON */
- font-size:20px;
- position:absolute; margin:auto;
- top:6px; right:10px;
- }
- /* (!!!) END SUB FEATURE: BREAKING NEWS */
- /* (!!!) SUB FEATURE: WEBSITE HEADER */
- #timesheader {
- width:900px; height:50px;
- background-color:#0D3B66;
- /* (COLOR EDIT) CHANGE COLOR OF WEBSITE HEADER */
- position:absolute; margin:absolute;
- top:110px;
- }
- .timesicons {
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF ICONS */
- font-size:26px; letter-spacing:6px;
- position:absolute; margin:auto;
- top:9px; left:10px;
- }
- .times {
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF "TIMES" */
- font-size:20px; font-family:roboto slab;
- position:absolute; margin:auto;
- top:11px; left:92px;
- }
- .timesnav {
- width:450px; height:50px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF NAVI BUTTONS */
- text-align:center; font-size:10px;
- display:inline-block;
- position:absolute; margin:auto;
- top:18px; left:250px;
- }
- .timesnav xo { padding:10px; }
- .timesweather {
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF TEMP ICON */
- font-size:30px;
- position:absolute; margin:auto;
- top:6px; right:60px;
- }
- .timestemp {
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF TEMP TEXT */
- font-size:22px; font-weight:500px;
- position:absolute; margin:auto;
- top:9px; right:15px;
- }
- /* (!!!) END SUB FEATURE: WEBSITE HEADER */
- /* ~~~~ ESTABLISHING A SHAPE FOR THE CONTENTS OF THE WEBSITE ~~~~ */
- #website {
- width:900px; height:540px;
- border-radius:0px 0px 10px 10px;
- overflow:hidden;
- position:absolute; margin:auto;
- top:160px;
- }
- /* ~~~~ ^ ESTABLISHING A SHAPE FOR THE CONTENTS OF THE WEBSITE
- if you mess with that box above, it will throw off the
- proportions of the rest of the news website! ~~~~ */
- /* (!!!) SUB FEATURE: NEWS VIDEO #1 */
- #vidonebox {
- width:500px; height:300px;
- background-color:#a5e4de;
- position:absolute; margin:auto;
- top:20px; left:20px;
- }
- #vidonebox img { width:500px; height:300px; }
- .playbutton {
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF PLAY BUTTON */
- font-size:45px;
- text-shadow:1px #000;
- position:absolute; margin:auto;
- top:180px; left:10px;
- }
- .videoclass {
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF VIDEO CLASSIFICATION */
- font-size:12px; letter-spacing:1px; font-weight:300;
- text-shadow:1px #000;
- position:absolute; margin:auto;
- top:240px; left:15px;
- }
- .videotitle {
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF VIDEO TITLE */
- font-size:18px; font-weight:500;
- text-shadow:1px #000;
- position:absolute; margin:auto;
- top:260px; left:15px;
- }
- /* (!!!) END SUB FEATURE: WEBSITE HEADER */
- /* (!!!) SUB FEATURE: POPULAR ARTICLES */
- #populartitle {
- color:black;
- /* (COLOR EDIT) CHANGE COLOR OF 'POPULAR' TITLE */
- font-size:24px; letter-spacing:1px; font-weight:bold;
- position:absolute; margin:auto;
- top:333px; left:60px;
- }
- .popularicon {
- color:#E23A31;
- /* (COLOR EDIT) CHANGE COLOR OF 'POPULAR' ICON */
- font-size:24px; letter-spacing:1px; font-weight:bold;
- position:absolute; margin:auto;
- top:335px; left:20px;
- }
- #popularsub {
- color:black;
- /* (COLOR EDIT) CHANGE COLOR OF 'POPULAR' SUBTITLE */
- font-size:10px; letter-spacing:1px; font-weight:300;
- font-style:italic;
- position:absolute; margin:auto;
- top:343px; left:305px;
- }
- #poparticle1 {
- width:160px; height:100px;
- background-image:url('https://placehold.co/160x100');
- /* (IMAGE EDIT) CHANGE ARTICLE 1 IMAGE */
- position:absolute; margin:auto;
- top:380px; left:20px;
- }
- .article1 {
- width:140px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF 'ARTICLE 1' TITLE */
- font-size:10px; font-weight:600;
- text-align:justify;
- position:absolute;
- bottom:10px; left:10px;
- }
- .article1tag {
- width:60px; height:15px; padding:5px;
- background-color:#E23A31;
- /* (COLOR EDIT) CHANGE COLOR OF 'TAG' BG */
- border-radius:15px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF 'TAG BUTTON' TEXT */
- font-size:10px; font-weight:600; text-align:center;
- position:absolute; margin:auto;
- top:485px; left:104px;
- }
- .article1button {
- width:60px; height:15px; padding:5px;
- background-color:#0D3B66;
- /* (COLOR EDIT) CHANGE COLOR OF 'READ BUTTON' BG */
- border-radius:15px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF 'READ BUTTON' TEXT */
- font-size:10px; font-weight:600; text-align:center;
- position:absolute; margin:auto;
- top:485px; left:24px;
- }
- #poparticle2 {
- width:160px; height:100px;
- background-image:url('https://placehold.co/160x100');
- /* (IMAGE EDIT) CHANGE ARTICLE 2 IMAGE */
- position:absolute; margin:auto;
- top:380px; left:190px;
- }
- .article2 {
- width:140px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF 'ARTICLE 2' TITLE */
- font-size:10px; font-weight:600;
- text-align:justify;
- position:absolute;
- bottom:10px; left:10px;
- }
- .article2tag {
- width:60px; height:15px; padding:5px;
- background-color:#E23A31;
- /* (COLOR EDIT) CHANGE COLOR OF 'TAG' BG */
- border-radius:15px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF 'TAG BUTTON' TEXT */
- font-size:10px; font-weight:600; text-align:center;
- position:absolute; margin:auto;
- top:485px; left:274px;
- }
- .article2button {
- width:60px; height:15px; padding:5px;
- background-color:#0D3B66;
- /* (COLOR EDIT) CHANGE COLOR OF 'READ BUTTON' BG */
- border-radius:15px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF 'READ BUTTON' TEXT */
- font-size:10px; font-weight:600; text-align:center;
- position:absolute; margin:auto;
- top:485px; left:194px;
- }
- #poparticle3 {
- width:160px; height:100px;
- background-image:url('https://placehold.co/160x100');
- /* (IMAGE EDIT) CHANGE ARTICLE 3 IMAGE */
- position:absolute; margin:auto;
- top:380px; left:360px;
- }
- .article3 {
- width:140px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF 'ARTICLE 3' TITLE */
- font-size:10px; font-weight:600;
- text-align:justify;
- position:absolute;
- bottom:10px; left:10px;
- }
- .article3tag {
- width:60px; height:15px; padding:5px;
- background-color:#E23A31;
- /* (COLOR EDIT) CHANGE COLOR OF 'TAG' BG */
- border-radius:15px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF 'TAG BUTTON' TEXT */
- font-size:10px; font-weight:600; text-align:center;
- position:absolute; margin:auto;
- top:485px; left:444px;
- }
- .article3button {
- width:60px; height:15px; padding:5px;
- background-color:#0D3B66;
- /* (COLOR EDIT) CHANGE COLOR OF 'READ BUTTON' BG */
- border-radius:15px;
- color:white;
- /* (COLOR EDIT) CHANGE COLOR OF 'READ BUTTON' TEXT */
- font-size:10px; font-weight:600; text-align:center;
- position:absolute; margin:auto;
- top:485px; left:364px;
- }
- /* (!!!) END SUB FEATURE: POPULAR ARTICLES */
- /* (!!!) SUB FEATURE: ARTICLE LIST */
- #readinglist {
- width:310px; height:500px;
- position:absolute; margin:auto;
- top:10px; right:40px;
- overflow-y:auto;
- }
- #readingbox {
- width:310px; height:130px;
- background-color:white;
- border-bottom:1px solid black;
- padding-top:10px;
- }
- .readingtitle {
- width:310px; text-align:justify;
- color:black;
- /* (COLOR EDIT) CHANGE COLOR OF 'READ BUTTON' TEXT */
- font-size:20px; font-weight:600;
- }
- .readingtitle i { color:#E23A31; font-size:16px; }
- .readingdesc {
- width:310px;
- color:black; text-align:justify;
- /* (COLOR EDIT) CHANGE COLOR OF 'READ BUTTON' TEXT */
- font-size:12px; font-weight:300;
- }
- .readingtag { margin-top:5px; }
- .readingtag pre { display:inline; padding:4px; border-radius:4px; background-color:#eaeaea; width:auto; height:auto; font-size:10px; }
- /* (!!!) END SUB FEATURE: ARTICLE LIST */
- /* (!!!!) END OF MAIN FEATURE: NEWSPAGE */
- #credits { position:absolute; margin:auto; bottom:10px; right:10px; color:#000; }
- #credits a { color:#000; }
- </style>
- <body>
- <div id="container">
- <div id="topbar">
- <div class="buttons">
- <b>β</b> <i>β</i> β
- </div>
- <div class="tab">
- <div class="tabicon"><i class='bx bxs-castle'></i></div>
- <div class="tabtitle">
- Local Breaking News
- <!-- (EDIT) TITLE OF TAB ^ -->
- </div>
- <div class="tabbutton"><i class='bx bx-x'></i></div>
- </div>
- </div> <!-- this div belongs to the end of the topbar -->
- <div id="searchbar">
- <div class="searchbuttons">
- <i class='bx bx-left-arrow-alt' ></i>
- <i class='bx bx-right-arrow-alt' ></i>
- <i class='bx bx-refresh' ></i>
- </div>
- <div class="profilebutton">
- <i class='bx bxs-user-circle'></i>
- <i class='bx bx-dots-vertical-rounded'></i>
- </div>
- <div class="searchfield">
- <div class="searchlock"><i class='bx bxs-lock-alt' ></i></div>
- <div class="searchterm">
- localtimes.com<i>/local-news#/</i>
- <!-- (EDIT) SEARCH BAR URL ^ -->
- </div>
- </div>
- </div> <!-- this div belongs to the end of the searchbar -->
- <div id="breakingbanner">
- <div class="breaking">BREAKING</div>
- <div class="breakingheadline">Breaking news headline goes here; <u>read more</u>.</div>
- <!-- (EDIT) ^ BREAKING NEWS HEADLINE -->
- <div class="breakinginfo"><i class='bx bx-info-circle'></i></div>
- </div> <!-- this div belongs to the end of the breaking news -->
- <div id="timesheader">
- <div class="timesicons">
- <i class='bx bx-menu'></i>
- <i class='bx bx-search bx-sm'></i>
- </div>
- <div class="times">NEWS SITE TITLE</div>
- <!-- (EDIT) ^ WEBSITE TITLE -->
- <div class="timesnav">
- <xo>LOCAL</xo>
- <xo>WEATHER</xo>
- <xo>INVESTIGATIONS</xo>
- <xo>VIDEOS</xo>
- <xo>NEWSLETTERS</xo>
- <!-- (EDIT) ^ WEBSITE LINKS -->
- </div>
- <div class="timesweather"><i class='bx bxs-cloud'></i></div>
- <div class="timestemp">68ΒΊ</div>
- <!-- (EDIT) ^ DISPLAY TEMP -->
- </div> <!-- this div belongs to the end of the website banner -->
- <div id="website">
- <div id="vidonebox">
- <img src="https://placehold.co/500x300">
- <!-- (EDIT) HOMEPAGE VIDEO IMAGE ^ -->
- <div class="playbutton"><i class='bx bx-play-circle'></i></div>
- <div class="videoclass">
- EXCLUSIVE INTERVIEW β’ <i>1 hour ago</i>
- <!-- (EDIT) ^ MAIN STORY SUBTITLE -->
- </div>
- <div class="videotitle">
- Main story headline goes here! One-liners only...
- <!-- (EDIT) ^ MAIN STORY TITLE -->
- </div>
- </div> <!-- this div belongs to the end of the homepage video -->
- <div class="popularicon"><i class='bx bx-trending-up'></i></div>
- <!-- (EDIT) POPOULAR ICON ^ -->
- <div id="populartitle">
- TRENDING NOW
- <!-- (EDIT) POPULAR TITLE ^ -->
- </div> <!-- this div belongs to the end of the popular title -->
- <div id="popularsub">
- see what everyone's buzzing about
- <!-- (EDIT) POPULAR SUBTITLE ^ -->
- </div> <!-- this div belongs to the end of the popular subtitle -->
- <!-- (SECTION) BEGIN TRENDING ARTICLES -->
- <div id="poparticle1">
- <div class="article1">Trending article #1 here...</div>
- <!-- (EDIT) ^ TRENDING ARTICLE 1 -->
- </div> <!-- this div belongs to the end of article 1 image -->
- <div class="article1tag">#SPOTTED</div>
- <div class="article1button">READ</div>
- <div id="poparticle2">
- <div class="article2">Trending article #2 here...</div>
- <!-- (EDIT) ^ TRENDING ARTICLE 2 -->
- </div> <!-- this div belongs to the end of article 1 image -->
- <div class="article2tag">#SPOTTED</div>
- <div class="article2button">READ</div>
- <div id="poparticle3">
- <div class="article3">Trending article #3 here...</div>
- <!-- (EDIT) ^ TRENDING ARTICLE 2 -->
- </div> <!-- this div belongs to the end of article 1 image -->
- <div class="article3tag">#SPOTTED</div>
- <div class="article3button">READ</div>
- <!-- (SECTION) END TRENDING ARTICLES -->
- <div id="readinglist">
- <div id="readingbox">
- <div class="readingtitle">
- <i class='bx bxs-book-bookmark' ></i>
- SIDEBAR ARTICLE 1 TITLE.
- <!-- (EDIT) ^ SIDE ARTICLE -->
- </div>
- <div class="readingdesc">
- Description for the news article can go here. It does not scroll (nor does it shrink to fit), so you'll want to take up three lines.
- <!-- (EDIT) ^ SIDE ARTICLE DESC -->
- </div>
- <div class="readingtag"><pre>#tags</pre> <pre>#tags2</pre></div>
- <!-- (EDIT) ^ SIDE ARTICLE TAGS -->
- </div>
- <div id="readingbox">
- <div class="readingtitle">
- <i class='bx bxs-book-bookmark' ></i>
- SIDEBAR ARTICLE 2 TITLE.
- <!-- (EDIT) ^ SIDE ARTICLE -->
- </div>
- <div class="readingdesc">
- You can add as many of these boxes as you'd like. Just look for "ADD MORE ARTICLES" in the code for instructions. This little side box does scroll.
- <!-- (EDIT) ^ SIDE ARTICLE DESC -->
- </div>
- <div class="readingtag"><pre>#tags</pre> <pre>#tags2</pre></div>
- <!-- (EDIT) ^ SIDE ARTICLE TAGS -->
- </div>
- <div id="readingbox">
- <div class="readingtitle">
- <i class='bx bxs-book-bookmark' ></i>
- SIDEBAR ARTICLE 3 TITLE.
- <!-- (EDIT) ^ SIDE ARTICLE -->
- </div>
- <div class="readingdesc">
- Description for the news article can go here. It does not scroll (nor does it shrink to fit), so you'll want to take up three lines.
- <!-- (EDIT) ^ SIDE ARTICLE DESC -->
- </div>
- <div class="readingtag"><pre>#tags</pre> <pre>#tags2</pre></div>
- <!-- (EDIT) ^ SIDE ARTICLE TAGS -->
- </div>
- <div id="readingbox">
- <div class="readingtitle">
- <i class='bx bxs-book-bookmark' ></i>
- SIDEBAR ARTICLE 4 TITLE.
- <!-- (EDIT) ^ SIDE ARTICLE -->
- </div>
- <div class="readingdesc">
- Description for the news article can go here. It does not scroll (nor does it shrink to fit), so you'll want to take up three lines.
- <!-- (EDIT) ^ SIDE ARTICLE DESC -->
- </div>
- <div class="readingtag"><pre>#tags</pre> <pre>#tags2</pre></div>
- <!-- (EDIT) ^ SIDE ARTICLE TAGS -->
- </div>
- <!-- ADD MORE ARTICLES (!!!) by copying this:
- <div id="readingbox">
- <div class="readingtitle">
- <i class='bx bxs-book-bookmark' ></i>
- SIDEBAR ARTICLE 1 TITLE.
- </div>
- <div class="readingdesc">
- Description for the news article can go here. It does not scroll (nor does it shrink to fit), so you'll want to take up three lines.
- </div>
- <div class="readingtag"><pre>#tags</pre> <pre>#tags2</pre></div>
- </div>
- & pasting it above </div> that's below -->
- </div>
- </div> <!-- this div belongs to the end of the website box -->
- </div> <!-- this div belongs to the end of the container -->
- <div id="credits"><a href="https://dayslily.tumblr.com/"><i class='bx bx-heart-circle'></i></a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement