447 lines
8.2 KiB
HTML
447 lines
8.2 KiB
HTML
{{define "headHTML"}}
|
|
<!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.0">
|
|
<meta property="og:site_name" content="starenovine">
|
|
<meta name="twitter:card" content="preview">
|
|
<meta property="og:title" content="{{.title}}">
|
|
<meta name="description" content="stare novine omogucavaju citanje svih vijesti iz bosne i hercegovine, hrvatske, srbije, crne gore, kosova na bosanskom, crnogorskom, hrvatskom, srpskom jeziku na svim uredjajima koliko god stari bili">
|
|
<meta property="og:url" content="https://www.starenovine.com">
|
|
<title>{{.title}} - stare novine</title>
|
|
<link rel="canonical" href="https://www.starenovine.com/">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
<style type="text/css">
|
|
:root {
|
|
--ease: cubic-bezier(.2, 1, .3, 1);
|
|
--icon-size: 60px;
|
|
--border-radius: 0.5;
|
|
--background: #2d2c3e;
|
|
--background-b: #2d2c3e;
|
|
--green: #16A085;
|
|
--white: #FFFFFF;
|
|
}
|
|
|
|
body {
|
|
font-size: 1.2em;
|
|
margin: 0 auto;
|
|
overflow-x: hidden;
|
|
background-color: black;
|
|
}
|
|
|
|
h1#title {
|
|
background-color: #0B173B;
|
|
color: white;
|
|
margin-block-end: 0;
|
|
font-size: 1.7em;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.logo {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
.timestamp {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 0.8em;
|
|
color: gray;
|
|
}
|
|
|
|
.prewi{
|
|
color: white;
|
|
padding-top: 5px;
|
|
padding-bottom: 2px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.empty {
|
|
width: 89vw;
|
|
color: black;
|
|
box-shadow: 0 4px 8px #0000004d;
|
|
border: 1px solid black;
|
|
background: linear-gradient(90deg, rgba(231, 214, 197, 1) 0%, rgba(241, 234, 227, 1) 100%);
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.ar-title {
|
|
background-color: #0B173B;
|
|
width: 100%;
|
|
color: black;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 3px solid black;
|
|
}
|
|
.w-title{
|
|
color:white;
|
|
}
|
|
|
|
.ar-title > a {
|
|
font-size: 1.2em;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
color: white;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.article_content {
|
|
background-color: black;
|
|
gap: 4px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.single_timestamp {
|
|
font-size: 0.77em;
|
|
margin-bottom: 0.7em;
|
|
color: gray;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
#logo {
|
|
width: 100%;
|
|
font-size: 1.85vw;
|
|
background: linear-gradient(90deg, rgba(1, 1, 1, 1) 0%, rgba(11, 23, 59, 1) 50%, rgba(0, 0, 0, 1) 100%);
|
|
box-shadow: 2px 0 20px 6px rgba(11, 23, 59, 0.2);
|
|
color: white;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.list {
|
|
display: grid;
|
|
justify-content: center;
|
|
align-items: center;
|
|
list-style: none;
|
|
margin-top: 15px;
|
|
gap: 15px;
|
|
}
|
|
|
|
.news-article > a {
|
|
background: linear-gradient(90deg, rgba(231, 214, 197, 1) 0%, rgba(232, 232, 232, 1) 51%, rgba(231, 214, 197, 1) 100%);
|
|
color: black;
|
|
}
|
|
.news-article:hover .ar-title{
|
|
background-color: #FF0000;
|
|
}
|
|
|
|
.article_body {
|
|
color: white;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.fot {
|
|
display: flex;
|
|
background-color: #0B173B;
|
|
text-decoration: none;
|
|
color: white;
|
|
border-radius: 5px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
gap: 5%;
|
|
}
|
|
|
|
.fot > a {
|
|
color: white;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.hed {
|
|
background-color: #0B173B;
|
|
color: white;
|
|
border-radius: 5px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
gap: 5%;
|
|
transition: background-color 0.5s var(--ease);
|
|
}
|
|
|
|
.hed.fixed {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
box-shadow: 0 4px 12px -4px rgba(255, 65, 54, 0.5);
|
|
}
|
|
|
|
.hed > a {
|
|
color: white;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
}
|
|
.article_content > a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.news-article {
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
border: 1px solid;
|
|
border-image: linear-gradient(90deg, rgba(8, 8, 8, 1) 0%, rgba(179, 150, 121, 1) 21%, rgba(0, 0, 0, 1) 37%, rgba(98, 87, 75, 1) 63%, rgba(0, 0, 0, 1) 100%);
|
|
border-image-slice: 1;
|
|
}
|
|
|
|
pre.article_content {
|
|
background: white;
|
|
}
|
|
|
|
.news-article > a {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
#weather {
|
|
display: flex;
|
|
width: 100%;
|
|
height: fit-content;
|
|
justify-content: space-between;
|
|
}
|
|
.weather-container {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
margin-top: 50px;
|
|
color: white;
|
|
}
|
|
.weather-container > div {
|
|
text-size-adjust: auto;
|
|
}
|
|
.weather-w {
|
|
border: 1px solid #ccc;
|
|
width: 20%;
|
|
text-align: center;
|
|
color: white;
|
|
background-color: #0B173B;
|
|
}
|
|
.weather-w h3 {
|
|
margin-top: 0;
|
|
color: white;
|
|
}
|
|
.weather-info {
|
|
margin-top: 10px;
|
|
color: white;
|
|
}
|
|
|
|
.w-link{
|
|
text-decoration: none;
|
|
}
|
|
|
|
.weather-widget {
|
|
width: 19%;
|
|
height: 50px;
|
|
display: grid;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
background-color: #0B173B;
|
|
border: 1px solid;
|
|
border-image: linear-gradient(90deg, rgba(8, 8, 8, 1) 0%, rgba(179, 150, 121, 1) 21%, rgba(0, 0, 0, 1) 37%, rgba(98, 87, 75, 1) 63%, rgba(0, 0, 0, 1) 100%);
|
|
border-image-slice: 1;
|
|
box-shadow: 0 4px 12px -4px rgba(255, 65, 54, 0.5);
|
|
}
|
|
|
|
.weather-widget > div {
|
|
font-size: 10;
|
|
}
|
|
|
|
.weather-widget > div > span {
|
|
font-size: 8;
|
|
}
|
|
|
|
#small-menu{
|
|
display: none;
|
|
}
|
|
|
|
.menu{
|
|
width: 100%;
|
|
text-decoration: none;
|
|
color: white;
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
align-items: center;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
}
|
|
.menu > a {
|
|
color: white;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
}
|
|
.home-text{
|
|
display: none;
|
|
}
|
|
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
#small-menu{
|
|
display: block;
|
|
}
|
|
.fa-home{
|
|
display: none;
|
|
}
|
|
.home-text{
|
|
display: block;
|
|
}
|
|
|
|
.menu{
|
|
display: none;
|
|
}
|
|
.menu.show-menu{
|
|
width: 100%;
|
|
text-decoration: none;
|
|
color: white;
|
|
display: grid;
|
|
transition: background-color 0.5s var(--ease);
|
|
}
|
|
.hed{
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
height: fit-content;
|
|
display: grid;
|
|
gap: 0 ;
|
|
}
|
|
.menu.show-menu > a{
|
|
text-decoration: none;
|
|
border-image: linear-gradient(90deg, rgba(8, 8, 8, 1) 0%, rgba(179, 150, 121, 1) 21%, rgba(0, 0, 0, 1) 37%, rgba(98, 87, 75, 1) 63%, rgba(0, 0, 0, 1) 100%);
|
|
}
|
|
.home-icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 10px;
|
|
height: 10px;
|
|
background-color: #0B173B;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: background-color 0.5s var(--ease);
|
|
}
|
|
|
|
#weather {
|
|
display: grid;
|
|
margin-bottom: 4%;
|
|
}
|
|
.weather-widget {
|
|
width: 90vw;
|
|
height: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.weather-container {
|
|
display: grid;
|
|
color: white;
|
|
gap: 2%;
|
|
}
|
|
.weather-w{
|
|
width: 100vw;
|
|
}
|
|
}
|
|
|
|
html {
|
|
margin: 0 auto;
|
|
width: 90%;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.arr-pr-nx {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.arr-pr-nx svg {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin: 0 1rem;
|
|
cursor: pointer;
|
|
overflow: visible;
|
|
fill: white;
|
|
}
|
|
|
|
.arr-pr-nx svg polygon,
|
|
.arr-pr-nx path {
|
|
transition: all 0.5s var(--ease);
|
|
}
|
|
|
|
.arr-pr-nx svg:hover polygon,
|
|
.arr-pr-nx svg:hover path {
|
|
transition: all 1s var(--ease);
|
|
fill: #FF0000;
|
|
}
|
|
|
|
.arr-pr-nx svg:hover .arrow {
|
|
animation: arrow-anim 2.5s var(--ease) infinite;
|
|
}
|
|
|
|
.arr-pr-nx svg:hover .arrow-fixed {
|
|
animation: arrow-fixed-anim 2.5s var(--ease) infinite;
|
|
}
|
|
|
|
@keyframes arrow-anim {
|
|
0% {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
5% {
|
|
transform: translateX(-0.1rem);
|
|
}
|
|
100% {
|
|
transform: translateX(1rem);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes arrow-fixed-anim {
|
|
5% {
|
|
opacity: 0;
|
|
}
|
|
20% {
|
|
opacity: 0.4;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.home-icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: #0B173B;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: background-color 0.5s var(--ease);
|
|
}
|
|
|
|
.home-icon:hover {
|
|
background-color: #FF0000;
|
|
}
|
|
|
|
.home-icon i {
|
|
font-size: 2rem;
|
|
color: white;
|
|
transition: color 0.5s var(--ease);
|
|
}
|
|
|
|
.home-icon:hover i {
|
|
color: #FF0000;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
{{end}}
|