language template added

changes 2 css
changes 2 templates
master
Damlanur 5 years ago
parent cf532723f8
commit 5a9751ca28

@ -1,19 +1,22 @@
body { body {
background-color: #fcf7e8; background-color: #F4EBE8;
padding-top: 120px; padding-top: 120px;
padding-left: 120px; padding-left: 120px;
padding-right: 120px padding-right: 120px;
} }
.grid-container { .grid-container {
display: inline-grid; display: inline-grid;
grid-template-columns: repeat(8, 1fr); grid-template-columns: repeat(8, 1fr);
grid-column-gap: 10px; grid-column-gap: 5px;
grid-row-gap: 120px;
grid-auto-flow: dense; grid-auto-flow: dense;
position: relative; position: relative;
top: 60%; top: 60%;
width: 96%; left: 30%
height: auto; height: auto;
left:2%;
text-align: : center; text-align: : center;
z-index: 5; z-index: 5;
@ -29,13 +32,13 @@ body {
.img { .img {
display: inline-block; display: inline-block;
border-style: hidden hidden solid hidden; border-style: hidden hidden solid hidden;
border-color: #5ce0db; border-color: #0BEFEB;
height: 500px; height: 500px;
} }
.title { .title {
display:block; display:block;
font-family: 'Work Sans', sans-serif; font-family: Roboto Mono, monospace;
font-size: large; font-size: large;
font-weight: 700; font-weight: 700;
} }
@ -49,6 +52,7 @@ body {
.metatext { .metatext {
display: inline-block; display: inline-block;
width: 300px; width: 300px;
overflow-wrap: break-word;
border-style: hidden; border-style: hidden;
} }
@ -72,246 +76,35 @@ a:visited {
text-decoration: none; text-decoration: none;
color: black; color: black;
} }
/*
.metatext:hover a { .metatext:hover a {
color: white; color: white;
} }
*/
a:hover { a:hover {
text-decoration: underline; background-color: #0BEFEB;
} opacity: 0.7;
color: white;
}
/*
.metatext:hover { .metatext:hover {
background-color: #5ce0db; background-color: #0BEFEB;
color: white; color: white;
} }
*/
h1 { h1 {
position: fixed; position: fixed;
right:0%; right:0%;
top:3%; top:3%;
text-align: right; text-align: right;
background-color: #5ce0db; background-color: #0BEFEB;
opacity: 0.5;
padding: 3px 30px 3px 10px; padding: 3px 30px 3px 10px;
z-index: 10; z-index: 10;
color: white; color: white;
font-size: 32px; font-size: 32px;
} }
h2{
position: fixed;
right: 0%;
top: 15%;
text-align: left;
background-color: grey;
color: black;
padding: 3px 3px 3px 30px;
z-index: 10;
font-size: 20px;
}
/*.indexlist {
position: absolute;
top:20%;
}*/
.viewnav {
position: fixed;
top:0%;
right:0%;
background-color: red ;
width: 40%;
z-index: 10;
opacity: 0.7;
}
.collapsible2 {
background-color: #777;
color: white;
cursor: pointer;
padding: 0px;
width: 100%;
height: px;
border: none;
text-align: left;
outline: none;
font-size: 40px;
z-index: 10;
margin-top: 0px;
}
.active, .collapsible2:hover {
background-color: #555;
}
.content2 {
position: relative;
padding: 0px 18px;
max-height: 0;
overflow: hidden;
width: 50%;
transition: max-height 0.2s ease-out;
background-color: grey;
color: white;
z-index: 10;
text-align: left;
}
/* Grid buttons */
.header {
position: absolute;
text-align: center;
padding: 32px;
top: 30%;
right: 0%;
z-index: 9;
width: auto;
height: auto;
background-color: pink;
}
p {
display: block;
position: relative;
}
.btn {
border: none;
outline: none;
width: 110px;
text-align: center;
padding: 12px 0px;
background-color: grey;
cursor: pointer;
font-size: 18px;
margin-right: 5px;
z-index: 9;
}
.btn:hover {
background-color: black;
color: blue;
}
.btn:active {
background-color: black;
color: white;
}
.metadata{
position: fixed;
top:5%;
left:0%;
background-color: ;
width: 40%;
z-index: 10;
opacity: 0.7;
}
.collapsible {
background-color: #777;
color: white;
cursor: pointer;
padding: 18px;
width: 10%;
height: auto;
border: none;
text-align: right;
outline: none;
font-size: 15px;
z-index: 10;
margin-top: 10px;
}
.active, .collapsible:hover {
background-color: #555;
}
.content {
position: relative;
padding: 0px 18px;
max-height: 0;
overflow: hidden;
width: 90%;
transition: max-height 0.2s ease-out;
background-color: grey;
color: white;
z-index: 10;
text-align: right;
}
a.content:link {
color:white;
}
.metadata_links {
display: block;
width: 100%;
position: relative;
right: 0%;
padding: 10px;
text-align: left;
/*background-color: blue;*/
font-size: 18px;
}
.metadata_organization {
font-size: 14px;
}
.fbtn {
font-style: italic;
}
.smw-template-furtherresults {
display: none;
}
.indexlink {
position: fixed;
bottom:0%;
right:3%;
background-color: white;
z-index: 10;
font-size: 30px;
}
.timelinelink {
position: fixed;
bottom:0%;
right:10%;
background-color: white;
z-index: 10;
font-size: 30px;
}
.orglink {
position: fixed;
bottom:0%;
left:10%;
background-color: white;
z-index: 10;
font-size: 30px;
}
.orglink:hover .hiddentext {
visibility: visible;
}
.hiddentext {
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
}

@ -5,7 +5,7 @@
<link rel="stylesheet" href="{{ staticpath }}//static/archive.css" /> <link rel="stylesheet" href="{{ staticpath }}//static/archive.css" />
<script type="text/javascript" src="{{ staticpath }}//static/archive.js"></script> <script type="text/javascript" src="{{ staticpath }}//static/archive.js"></script>
<link rel="stylesheet" href="{{ staticpath }}//static/topicformat.css" /> <link rel="stylesheet" href="{{ staticpath }}//static/topicformat.css" />
<link href="https://fonts.googleapis.com/css?family=Work+Sans&display=swap" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Roboto+Mono' rel='stylesheet' type='text/css'>
<title>{{ page.name }}</title> <title>{{ page.name }}</title>
</head> </head>
<body class="title"> <body class="title">

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="{{ staticpath }}//static/archive.css" />
<script type="text/javascript" src="{{ staticpath }}//static/archive.js"></script>
<link rel="stylesheet" href="{{ staticpath }}//static/topicformat.css" />
<link href='https://fonts.googleapis.com/css?family=Roboto+Mono' rel='stylesheet' type='text/css'>
<title>{{ page.name }}</title>
</head>
<body class="title">
<h1>{{ page.name }}</h1>
<div id="body">{{ body|safe }}</div>
</body>
</html>

@ -5,7 +5,7 @@
<link rel="stylesheet" href="{{ staticpath }}//static/archive.css" /> <link rel="stylesheet" href="{{ staticpath }}//static/archive.css" />
<script type="text/javascript" src="{{ staticpath }}//static/archive.js"></script> <script type="text/javascript" src="{{ staticpath }}//static/archive.js"></script>
<link rel="stylesheet" href="{{ staticpath }}//static/topicformat.css" /> <link rel="stylesheet" href="{{ staticpath }}//static/topicformat.css" />
<link href="https://fonts.googleapis.com/css?family=Work+Sans&display=swap" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Roboto+Mono' rel='stylesheet' type='text/css'>
<title>{{ page.name }}</title> <title>{{ page.name }}</title>
</head> </head>
<body class="title"> <body class="title">

Loading…
Cancel
Save