feat(large): riscritta

This commit is contained in:
daniele.scasciafratte 2021-11-17 12:46:52 +01:00
parent bc8c169107
commit 9f91cb675b
5 changed files with 39 additions and 295 deletions

View File

@ -6,10 +6,10 @@ template: large
<div id="live"> <div id="live">
<div id="embedded-video"> <div id="embedded-video">
<iframe src="https://garr.tv/s/5fb82e7a175ddc33aa1e62d1?t=0" scrolling="no" marginwidth="0" allow="autoplay; fullscreen;" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true"></iframe> <iframe src="https://garr.tv/s/5fb82e7a175ddc33aa1e62d1?t=0" scrolling="no" marginwidth="0" height="100%" allow="autoplay; fullscreen;" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
</div> </div>
<div id="embedded-chat"> <div id="embedded-chat">
<iframe src="https://chat.linux.it/channel/libreitaliaconf?layout=embedded"></iframe> <iframe src="https://chat.linux.it/channel/libreitaliaconf?layout=embedded" height="100%"></iframe>
</div> </div>
</div> </div>

View File

@ -1,280 +1,10 @@
html { article {
font-family: 'Open Sans', 'helvetica', sans-serif; max-width:100%;
background: white;
font-size: 14px;
} }
/* Titles */
h1 { text-transform: uppercase }
h1, h2 {
font-weight: normal;
margin-top: 10px;
margin-bottom: 10px;
}
.title
{
font-size: 2.5em;
text-align: center;
margin-bottom: 50px;
text-transform: none;
color: #3a7c78;
line-height: 1;
font-weight: 600;
}
.latest
{
padding: 10px 10px;
border-bottom: 1px solid #eee;
}
.post_detail
{
font-size: 2em;
line-height: 1em;
}
.entry-content
{
margin-top: 50px;
margin-bottom: 50px;
text-align: justify;
color: #333;
}
article section .about
{
font-size: 18px;
color: #444;
text-align: justify;
}
article section .blog-post
{
font-size: 16px;
}
/* Body */
body { margin: 0px; }
body > article, footer
{
line-height: 1.6em;
display: block;
margin: auto 5px auto 285px;
padding: 10px 5px 10px;
}
article ol.posts
{
padding-left: 0;
}
/* Articles */
p.post_entry { }
article > header
{
list-style-type: none;
padding: 0px 10px;
box-shadow: 0 0 0 2px #3a7c78;
-moz-border-radius: 5px 0;
-webkit-border-radius: 5px 0;
border-radius: 5px 5px;
}
.article_left > h1 {
font-size: 20px;
}
.article_right {
background-color: white;
}
.post_list {
list-style-type: none;
padding: 10px 10px;
-moz-border-radius: 5px 0;
-webkit-border-radius: 5px 0;
border-radius: 5px 5px;
}
/* Links */;
a { color: #3a7c78; text-decoration:none; }
a:visited { color: #3a7c78; text-decoration:none; }
a:link { color: #3a7c78; text-decoration:none; }
a:active { color: #3a7c78; text-decoration:none; }
a:hover { text-decoration: underline; }
/* Code */
.highlight pre {
font-size: 14px;
overflow: auto;
padding: 8px;
}
/* Sidebar */
aside {
font-size: 14px;
width: 220px; height: 100%;
position: fixed;
top: 0; left: 0;
padding: 30px;
background-color: #3a7c78;
color: white;
box-shadow: 0 0 3px black;
text-align: center;
padding-top: 5em;
background-size: cover;
display: flex;
flex-direction: column;
}
aside > ul {
list-style-type: none;
padding: 0px 10px;
margin-top: 0px;
}
aside > h2 {
text-transform: uppercase;
font-size: 14px;
margin-bottom: 5px;
}
#avatar
{
margin: 0px;
margin-bottom: 20px;
}
#avatar img {
display: block;
width: 100px;
margin: 0 10px 20px 0;
-webkit-transition: 200ms;
-moz-transition: 200ms;
-ms-transition: 200ms;
-o-transition: 200ms;
transition: 200ms;
}
.nav
{
display: block;
margin: 40px -30px;
}
.nav > ul > li
{
font-size: 15px;
}
.nav a
{
color: #fff;
text-decoration: none;
-webkit-transition: 200ms;
-moz-transition: 200ms;
-ms-transition: 200ms;
-o-transition: 200ms;
transition: 200ms;
}
.nav a:hover
{
background-color: #73d08a;
color: #3a7c78;
-webkit-transition: 200ms;
-moz-transition: 200ms;
-ms-transition: 200ms;
-o-transition: 200ms;
transition: 200ms;
}
.list-bare
{
list-style: none;
padding: 0;
margin: 0;
}
.nav__link
{
display: block;
padding: 0.77273rem 0rem;
border: 0px solid #73d08a;
margin: 0px 5px;
border-radius: 10px 10px;
}
.blog_roll_link
{
display: block;
padding: 0.33147rem 0;
border: 0px solid #73d08a;
margin: 0px 5px;
border-radius: 10px 10px;
}
/*--------Responsive------------*/
@media (max-width: 800px) {
aside {
left: 0;
max-width: none;
position: relative;
top: 0;
width: 100%;
padding: 0;
padding-top: 1px;
}
.nav
{
margin-left: 0;
margin-right: 0;
}
body > article {
margin: 0 auto;
padding-top: 5px;
padding: 1em;
}
footer
{
padding: 1em;
margin-left: 1em;
margin-top: 0;
}
#avatar {
height: 50px;
width: 50px;
margin: 10px auto;
}
}
img { img {
max-width: 100%; max-width: 100%;
} }
#live {
display: flex;
flex-flow: row nowrap;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
height: 75vh;
}
#embedded-video {
}
#embedded-chat, #embedded-video {
width: 50%;
}
#live iframe { #live iframe {
border: 0px; border: 0px;
flex: 1; flex: 1;
@ -325,18 +55,25 @@ img {
color: #3a7c78; color: #3a7c78;
} }
@media screen and (max-width: 1024px) { #live {
#live iframe { display: flex;
min-height: 260px; flex-flow: row nowrap;
} align-items: stretch;
#embedded-chat, #embedded-video {
width: 100%;
}
}
@media screen and (max-width: 1024px) {
#live iframe {
height: 75vh; height: 75vh;
} }
#embedded-chat, #embedded-video {
width: 100%;
height: 100%;
}
@media screen and (max-width: 1024px) {
#live iframe {
min-height: 400px;
}
#live {
flex-direction: column;
justify-content: space-between;
height:auto;
}
} }

View File

@ -29,7 +29,7 @@ h1, h2 {
} }
.latest .latest
{- {
padding: 10px 10px; padding: 10px 10px;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
} }
@ -62,7 +62,7 @@ article section .blog-post
/* Body */ /* Body */
body { margin: 0px; } body { margin: 0px; }
body > article, footer { article, footer {
line-height: 1.6em; line-height: 1.6em;
display: block; display: block;
max-width: 700px; max-width: 700px;
@ -76,7 +76,6 @@ article ol.posts
} }
/* Articles */ /* Articles */
p.post_entry {}
article > header article > header
{ {

View File

@ -44,11 +44,7 @@
<script type="text/javascript"> <script type="text/javascript">
function mobileMenu() { function mobileMenu() {
var navdisplay = $( "nav.nav" ).css("display"); $( "nav.nav" ).toggle();
if (navdisplay == "none")
$( "nav.nav" ).css("display", "block");
else
$( "nav.nav" ).css("display", "none");
} }
</script> </script>
</head> </head>

View File

@ -18,6 +18,7 @@
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
<!-- Style Meta Data --> <!-- Style Meta Data -->
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/style.css" type="text/css"/>
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/large.css" type="text/css"/> <link rel="stylesheet" href="{{ SITEURL }}/theme/css/large.css" type="text/css"/>
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments.css" type="text/css"/> <link rel="stylesheet" href="{{ SITEURL }}/theme/css/pygments.css" type="text/css"/>
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/social.css" type="text/css"/> <link rel="stylesheet" href="{{ SITEURL }}/theme/css/social.css" type="text/css"/>
@ -40,15 +41,26 @@
<meta name="twitter:image" content=""> <meta name="twitter:image" content="">
{% endblock %} {% endblock %}
<script src="https://kit.fontawesome.com/0a2f7dbe4a.js" crossorigin="anonymous"></script> <script src="https://kit.fontawesome.com/0a2f7dbe4a.js" crossorigin="anonymous"></script>
<script src="/js/jquery-3.5.1.min.js" crossorigin="anonymous"></script>
<script type="text/javascript">
function mobileMenu() {
$( "nav.nav" ).toggle();
}
</script>
</head> </head>
<body> <body>
<!-- Sidebar --> <!-- Sidebar -->
<aside> <aside>
<div class="sidetitle">
<center id="avatar"><a href="{{ SITEURL }}"><img src="{{ AVATAR }}"></a></center> <center id="avatar"><a href="{{ SITEURL }}"><img src="{{ AVATAR }}"></a></center>
<h1>{{ SITENAME }}</h1> <h1>{{ SITENAME }}</h1>
<span><a href="javascript:void(0);" onclick="mobileMenu()"><i class="fa fa-bars"></i></a></span>
</div>
{% if SIDEBAR_DIGEST %} {% if SIDEBAR_DIGEST %}
<div class="digest">
<p>{{ SIDEBAR_DIGEST }}</p> <p>{{ SIDEBAR_DIGEST }}</p>
</div>
{% endif %} {% endif %}
<br> <br>