mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 03:17:07 +00:00
Update article template page
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
<link rel="icon" sizes="192x192" href="https://matthew-grove.ml/logo.png">
|
||||
|
||||
<!-- add to homescreen for Chrome on Android -->
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<link rel="icon" sizes="192x192" href="https://matthew-grove.ml/logo.png">
|
||||
|
||||
<!-- add to homescreen for Safari on iOS -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-title" content="BBC School Report | Reading School">
|
||||
<link rel="apple-touch-icon-precomposed" href="https://matthew-grove.ml/logo.png">
|
||||
|
||||
<!-- tile icon & colour for Windows 8 -->
|
||||
<meta name="msapplication-TileImage" content="https://matthew-grove.ml/logo.png">
|
||||
<meta name="msapplication-TileColor" content="#d84315">
|
||||
|
||||
<title>Article Name | BBC School Report | Reading School</title>
|
||||
<meta name="description" content="News articles written by Reading School students in year 8">
|
||||
|
||||
<!-- import Roboto (font) -->
|
||||
<link href="/assets/roboto.css" rel="stylesheet">
|
||||
|
||||
<!-- import jQuery -->
|
||||
<script src="/assets/jquery.min.js"></script>
|
||||
|
||||
<!-- import jQuery timeago -->
|
||||
<script src="/assets/jquery.timeago.min.js"></script>
|
||||
|
||||
<!-- import cookie JavaScript -->
|
||||
<script src="/assets/cookies.js"></script>
|
||||
|
||||
<!-- import Material Design components & icons -->
|
||||
<link href="/assets/material-components-web.min.css" rel="stylesheet">
|
||||
<link href="/assets/material_icons.css" rel="stylesheet">
|
||||
<script src="/assets/material-components-web.min.js"></script>
|
||||
|
||||
<!-- import local styling & scripts -->
|
||||
<script src="/assets/global.js"></script>
|
||||
<link href="/assets/global.css" rel="stylesheet">
|
||||
<link href="/assets/article-page.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<!-- cookie notice is included via jQuery -->
|
||||
<div id="cookies"></div>
|
||||
|
||||
<!-- content of navbar is included via jQuery -->
|
||||
<aside class="mdc-drawer mdc-drawer--modal"></aside>
|
||||
|
||||
<div class="mdc-drawer-scrim"></div>
|
||||
|
||||
<div class="mdc-drawer-app-content">
|
||||
<header class="mdc-top-app-bar mdc-top-app-bar--short" id="app-bar"></header>
|
||||
|
||||
<main class="main-content" id="main-content">
|
||||
<div class="mdc-top-app-bar--short-fixed-adjust">
|
||||
<h2 class="mdc-typography--headline2">Title</h2>
|
||||
<figure>
|
||||
<img src="/images/article_name--cover.jpg" style="width:100%;">
|
||||
<figcaption class="mdc-typography--caption-text">A brass statue of a child, in a garden</figcaption>
|
||||
</figure>
|
||||
<h3 class="mdc-typography--subtitle1">
|
||||
<time class="timeago" datetime="2018-11-21T07:08:0Z">Wednesday 21st November 2018</time>
|
||||
| by <a href="/authors/name">Name</a>
|
||||
</h3>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
© Reading School 2018 | Made by <a href="https://matthew-grove.ml">Matthew Grove</a>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
0
articles/article_name/index.html~
Normal file
0
articles/article_name/index.html~
Normal file
3
assets/article-page.css
Normal file
3
assets/article-page.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.mdc-typography--headline2 {
|
||||
margin: 5px;
|
||||
}
|
||||
0
assets/article-page.css~
Normal file
0
assets/article-page.css~
Normal file
@@ -47,7 +47,7 @@ a {
|
||||
}
|
||||
|
||||
.main-content {
|
||||
margin-top: 15px;
|
||||
margin: 15px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
<!-- import local styling & scripts -->
|
||||
<script src="/assets/global.js"></script>
|
||||
<link href="/assets/global.css" rel="stylesheet">
|
||||
<script src="script.js"></script>
|
||||
<link href="/assets/mdc-card-list.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
@@ -62,7 +61,7 @@
|
||||
<main class="main-content" id="main-content">
|
||||
<div class="mdc-top-app-bar--short-fixed-adjust">
|
||||
<div class="mdc-card">
|
||||
<div class="mdc-card__media mdc-card__media--16-9" style="background-image:url('https://www.w3schools.com/w3css/img_lights.jpg');"></div>
|
||||
<div class="mdc-card__media mdc-card__media--16-9" style="background-image:url('/images/article_name--cover.jpg/images/article_name--cover.jpg');"></div>
|
||||
<div class="mdc-card-content">
|
||||
<h2 class="mdc-typography--headline6">Title</h2>
|
||||
<h3 class="mdc-typography--subtitle2">
|
||||
|
||||
BIN
images/article_name--cover.jpg
Normal file
BIN
images/article_name--cover.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 179 KiB |
@@ -62,7 +62,7 @@
|
||||
<main class="main-content" id="main-content">
|
||||
<div class="mdc-top-app-bar--short-fixed-adjust">
|
||||
<div class="mdc-card">
|
||||
<div class="mdc-card__media mdc-card__media--16-9" style="background-image:url('https://www.w3schools.com/w3css/img_lights.jpg');"></div>
|
||||
<div class="mdc-card__media mdc-card__media--16-9" style="background-image:url('/images/article_name--cover.jpg');"></div>
|
||||
<div class="mdc-card-content">
|
||||
<h2 class="mdc-typography--headline6">Title</h2>
|
||||
<h3 class="mdc-typography--subtitle2">
|
||||
|
||||
Reference in New Issue
Block a user