encoded images and css

This commit is contained in:
Alfredo Oliviero 2024-11-25 11:09:02 +01:00
parent 41c11bff74
commit 3f381d405a
8 changed files with 449 additions and 19 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -12,26 +12,218 @@
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700%7CPoppins:400,500" rel="stylesheet">
<link href="extra/css/styles.css" rel="stylesheet">
<style>
/*
====================================================
* [Master Stylesheet]
<link href="extra/css/responsive.css" rel="stylesheet">
Theme Name :
Version :
Author :
Author URI :
====================================================
TOC
1. PRIMARY STYLES
2. COMMONS FOR PAGE DESIGN
JQUERY LIGHT BOX
3. MAIN SECTION
====================================================
/* ---------------------------------
1. PRIMARY STYLES
--------------------------------- */
html{ font-size: 100%; height: 100%; width: 100%; overflow-x: hidden; margin: 0px; padding: 0px; touch-action: manipulation; }
body{ font-size: 16px; font-family: 'Open Sans', sans-serif; width: 100%; height: 100%; margin: 0; font-weight: 400;
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; word-wrap: break-word; overflow-x: hidden;
color: #333; }
h1, h2, h3, h4, h5, h6, p, a, ul, span, li, img, inpot, button{ margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6{ line-height: 1.5; font-weight: inherit; }
h1,h2,h3{ font-family: 'Poppins', sans-serif; }
p{ line-height: 1.6; font-size: 1.05em; font-weight: 400; color: #555; }
h1{ font-size: 3.5em; line-height: 1; }
h2{ font-size: 3em; line-height: 1.1; }
h3{ font-size: 2.5em; }
h4{ font-size: 1.5em; }
h5{ font-size: 1.2em; }
h6{ font-size: .9em; letter-spacing: 1px; }
a, button{ display: inline-block; text-decoration: none; color: inherit; transition: all .3s; line-height: 1; }
a:focus, a:active, a:hover,
button:focus, button:active, button:hover,
a b.light-color:hover{ text-decoration: none; color: #E45F74; }
b{ font-weight: 500; }
img{ width: 100%; }
li{ list-style: none; display: inline-block; }
span{ display: inline-block; }
button{ outline: 0; border: 0; background: none; cursor: pointer; }
b.light-color{ color: #444; }
.icon{ font-size: 1.1em; display: inline-block; line-height: inherit; }
[class^="icon-"]:before, [class*=" icon-"]:before{ line-height: inherit; }
*, *::before, *::after {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
*, *::before, *::after {
-webkit-box-sizing: inherit;
box-sizing: inherit;}
/* ---------------------------------
2. COMMONS FOR PAGE DESIGN
--------------------------------- */
.center-text{ text-align: center; }
.display-table{ display: table; height: 100%; width: 100%; }
.display-table-cell{ display: table-cell; vertical-align: middle; }
::-webkit-input-placeholder { font-size: .9em; letter-spacing: 1px; }
::-moz-placeholder { font-size: .9em; letter-spacing: 1px; }
:-ms-input-placeholder { font-size: .9em; letter-spacing: 1px; }
:-moz-placeholder { font-size: .9em; letter-spacing: 1px; }
.full-height{ height: 100%; }
.position-static{ position: static; }
.font-white{ color: #fff; }
/* ---------------------------------
3. MAIN SECTION
--------------------------------- */
.main-area{ position: relative; height: 100vh; z-index: 1; padding: 0 20px; background-size: cover; color: #fff; }
.main-area:after{ content:''; position: absolute; top: 0; bottom: 0;left: 0; right: 0; z-index: -1;
opacity: .4; background: #000; }
.main-area .desc{ margin: 20px auto; max-width: 500px; }
.main-area .notify-btn{ padding: 13px 35px; border-radius: 50px; border: 2px solid #F84982;
color: #fff; background: #F84982; }
.main-area .notify-btn:hover{ background: none; }
.main-area .social-btn{ position: absolute; bottom: 40px; width: 100%; left: 50%; transform: translateX(-50%); }
.main-area .social-btn > li > a{ margin: 0 10px; padding-bottom: 7px; position: relative; overflow: hidden; }
.main-area .social-btn > li > a:after{ content:''; position: absolute; bottom: 0; left: 0; right: 0;
transition: all .2s; height: 2px; background: #F84982; }
.main-area .social-btn > li > a:hover:after{ transform: translateX(100%); }
</style>
<!-- <link href="extra/css/responsive.css" rel="stylesheet"> -->
<style>
/* Screens Resolution : 992px
-------------------------------------------------------------------------- */
@media only screen and (max-width: 1200px) {
}
/* Screens Resolution : 992px
-------------------------------------------------------------------------- */
@media only screen and (max-width: 992px) {
}
/* Screens Resolution : 767px
-------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
/* ---------------------------------
1. PRIMARY STYLES
--------------------------------- */
p{ line-height: 1.4; }
h1{ font-size: 2.8em; line-height: 1; }
h2{ font-size: 2.2em; line-height: 1.1; }
h3{ font-size: 1.8em; }
}
/* Screens Resolution : 479px
-------------------------------------------------------------------------- */
@media only screen and (max-width: 479px) {
/* ---------------------------------
1. PRIMARY STYLES
--------------------------------- */
body{ font-size: 12px; }
}
/* Screens Resolution : 359px
-------------------------------------------------------------------------- */
@media only screen and (max-width: 359px) {
}
/* Screens Resolution : 290px
-------------------------------------------------------------------------- */
@media only screen and (max-width: 290px) {
}
</style>
</head>
<body>
<div class="main-area center-text" style="background-image:url(extra/countdown-6-1600x900.jpg);">
<div class="display-table">
<div class="display-table-cell">
<p><img style="width: 50%;" src="extra/D4Science-Logo-512px.png"></p>
<h1 class="title font-white"><b>We&rsquo;ll be back soon!</b></h1>
<p class="desc font-white"><a href="https://www.d4science.org/" target="_blank" style="text-decoration: underline;">The D4Science infrastructure</a> is currently undergoing scheduled maintenance.
We Should be back at 6pm CET.<br> Thank you for your patience.</p>
<ul class="social-btn font-white">
<li><a href="https://twitter.com/d4science" target="_blank">Get updates on Twitter</a></li>
</ul><!-- social-btn -->
</div><!-- display-table -->
</div><!-- display-table-cell -->
</div><!-- main-area -->
</body>
<body>
<div class="main-area center-text" style="background-image:url(extra/countdown-6-1600x900.jpg);">
<div class="display-table">
<div class="display-table-cell">
<p><img style="width: 50%;" src="extra/D4Science-Logo-512px.png"></p>
<h1 class="title font-white"><b>We&rsquo;ll be back soon!</b></h1>
<p class="desc font-white"><a href="https://www.d4science.org/" target="_blank" style="text-decoration: underline;">The D4Science infrastructure</a> is currently undergoing scheduled maintenance.
We Should be back at 6pm CET.<br> Thank you for your patience.</p>
<ul class="social-btn font-white">
<li><a href="https://twitter.com/d4science" target="_blank">Get updates on Twitter</a></li>
</ul><!-- social-btn -->
</div><!-- display-table -->
</div><!-- display-table-cell -->
</div><!-- main-area -->
</body>
</html>

File diff suppressed because one or more lines are too long