beopen-code/style.css

695 lines
10 KiB
CSS

@font-face {
font-family: "PecitaBook";
src: url(./Font/Pecita.otf);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
font-weight: normal;
}
/*BODY E TESTO*/
body {
background-color: #21202c;
font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace;
color: #fff;
font-size: 18px;
letter-spacing: -0.32px;
}
h1,
h2,
h3 {
font-weight: bold;
}
.titolo_apertura {
font-size: 48px;
margin: 50px 0 20px 0;
line-height: 50px;
text-align: center;
width: 100%;
}
.sottotitolo {
text-align: left;
margin: 0px 0 30px 0;
}
em {
color: #ee6ef1;
}
a {
color: #fff;
text-decoration: none;
display: inline-block;
padding: 0 15px;
}
.highlightme {
background-color: #7f0d8333;
/*sfondo opaco*/
color: #ee6ef1;
padding: 3px 3px 3px 3px;
font-size: 0.9em;
border-radius: 5px;
}
.trattino {
color: #ee6ef1;
}
.spacer {
padding: 10px 0;
}
.max_spacer {
padding: 45px 0
}
/*Creare uno spazio superiore tra i vari contenitori*/
/*LOGO BEOPEN*/
.title {
display: flex;
justify-content: left;
flex-direction: row;
flex-wrap: wrap;
align-items: baseline;
margin: 20px 0 0 auto;
width: 95%;
}
.title p:hover {
color: #4dafff;
}
.title h2 {
/*margin: 30px 0 -20px 15px;*/
font-size: 60px;
color: #ee72f1;
font-weight: bold;
font-family: "PecitaBook";
margin-right: 20px;
}
/*NAVBAR*/
nav {
width: 80%;
margin: 60px auto;
}
nav ul {
list-style: none;
/*Elimina i pallini*/
display: flex;
justify-content: space-between;
}
nav li {
font-size: 24px;
/*text-transform: uppercase;*/
position: relative;
}
nav li::after {
content: '';
position: absolute;
top: 30px;
left: 0;
width: 0px;
height: 3px;
background: #fff;
transition: .3s;
/*3 decimi*/
}
nav li:hover::after {
width: 100%;
background: #ee6ef1;
}
nav a:hover {
color: #ee6ef1;
}
/*DROPDOWN MENÙ*/
.dropbtn {
display: none;
background-color: transparent;
font-weight: bold;
font-size: 18px;
font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace;
color: #fff;
border: 2px solid #800d83;
padding: 5px 10px;
position: relative;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
right: 0;
background-color: #21202c;
min-width: 160px;
color: #fff;
border: 2px solid #fff;
text-align: center;
}
.dropdown-content a {
color: #fff;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #181a1b;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
background-color: #800d83;
;
}
/*AUTORE E DATA*/
.piccihud {
text-align: right;
width: 100%;
font-size: 15px;
color: #fff;
margin: 10px 0 10px 0;
}
.piccihud p {
display: flex;
justify-content: center;
align-items: center;
/*allinea al centro verticalmente*/
font-family: Arial, Helvetica, sans-serif;
font-weight: lighter;
font-size: 15px;
color: #a39b8f;
}
.piccihud img {
margin: 10px 10px 10px 10px;
width: 20px;
height: auto;
-webkit-filter: invert(.75);
/*Inversione del colore*/
}
/*CORPO - ARTICOLO*/
.articol,
.footer {
width: 60%;
margin: auto;
text-align: left;
line-height: 30px;
}
.container_img {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
margin: 10px 0 10px 0;
}
.container_img img {
max-width: 100%;
height: auto;
}
.max_img {
width: 50%;
height: auto;
}
.author {
text-align: right;
width: 100%;
font-size: 15px;
color: #fff;
margin: 10px 0 10px 0;
}
/*FOOTER*/
.footer {
margin: 15px auto 15px auto;
}
.footer a,
h1 {
color: #4dafff;
}
.footer h2 {
font-weight: bolder;
}
.footer a:hover {
color: #fff;
}
/*PRIVACY*/
.privacy {
display: flex;
justify-content: center;
flex-direction: column;
text-align: center;
color: #ee6ef1;
margin: 15px auto 15px auto;
font-size: 15px;
font-weight: lighter;
}
/*CONTATTI - LICENZA*/
.container_contacts {
width: 100%;
}
.container_contacts p {
position: absolute;
text-align: left;
margin-top: 20px;
margin-left: 20px;
font-size: 18px;
color: #a39b8f;
}
.contacts {
background-color: #181a1b;
display: flex;
justify-content: space-around;
width: 100%;
padding: 50px 0px 20px 0px;
/*
padding: 25px 50px 75px 100px;
-top padding is 25px
-right padding is 50px
-bottom padding is 75px
-left padding is 100px
*/
line-height: 50px;
vertical-align: middle;
}
.contacts p {
display: flex;
flex-wrap: wrap;
width: 100%;
}
.contacts a {
display: flex;
vertical-align: middle;
text-decoration: none;
color: #fff;
font-weight: lighter;
font-size: 15px;
}
.contacts a:hover {
color: #ee6ef1;
}
.contacts img {
width: 30px;
height: auto;
margin-right: 10px;
}
.license,
.container,
.license a {
background-color: #181a1b;
text-align: center;
padding: 0px 0px 5px 0px;
width: 100%;
font-size: 13px;
color: #a39b8f;
}
/*REALIZZATO DA...*/
.make {
background-color: black;
padding: 10px;
display: flex;
flex-direction: row;
color: #fff;
font-size: 13px;
font-weight: normal;
align-items: center;
}
.make img:hover {
background-color: red;
border-radius: 5px;
-webkit-filter: none;
}
.make img {
margin: 0 10px 0 10px;
width: 18px;
height: auto;
-webkit-filter: invert(.75);
/*Inversione del colore*/
}
/*---------------------------------------------------------------------------*/
/*MEDIA QUERY - 1080PX*/
@media screen and (max-width: 1080px) {
/*IMMAGINE CENTRATA - RESPONSIVE*/
.max_img {
width: 80%;
height: auto;
}
.articol,
.footer {
width: 80%;
}
}
/*MEDIA QUERY - 768PX*/
@media screen and (max-width: 768px) {
/*MENÙ VISIBILE*/
.dropbtn {
display: flex;
}
.menu {
display: none;
}
/*LOGO BEOPEN*/
.title {
justify-content: space-evenly;
margin: 20px 0 0px 0;
width: 100%;
align-items: center;
}
.title p {
display: none;
}
/*NAVBAR*/
nav ul {
justify-content: space-evenly;
margin: 15px 0 -50px 0;
}
nav li {
font-size: 20px;
}
.max_spacer {
padding: 25px 0
}
.titolo_apertura {
width: 100%;
font-size: 35px;
}
.sottotitolo {
font-size: 25px;
}
.articol,
.footer,
.privacy {
width: 95%;
}
.privacy {
font-size: 13px;
}
.container_img img {
width: 95%;
height: auto;
margin-top: 20px;
}
.contacts {
display: flex;
justify-content: space-between;
flex-direction: column;
width: 100%;
}
.contacts a {
line-height: 50px;
}
.license {
width: 100%;
font-size: 13px;
}
.make {
justify-content: center;
align-items: center;
width: 100%;
}
}
/*TABELLE*/
.styled-table {
border-collapse: collapse;
margin: 25px 0;
font-size: 0.9em;
min-width: 200px;
}
.styled-table thead tr {
background-color: #800d83;
color: #ffffff;
text-align: left;
}
.styled-table th,
.styled-table td {
padding: 10px 15px;
}
.styled-table tbody tr {
border-bottom: 1px solid #fff;
}
.styled-table tbody tr:nth-of-type(even) {
color: #fff;
}
.styled-table tbody tr:last-of-type {
border-bottom: 2px solid #800d83;
}
/*---------------------------------------------------------------------------*/
/*HOMEPAGE*/
/*TEXT*/
blockquote {
font-family: 'Courier New', Courier, monospace;
font-style: italic;
font-size: 15px;
}
blockquote a {
font-style: normal;
color: #ee6ef1;
margin: 0 0 0 -15px;
}
/*ASSET*/
img {
max-width: 100%;
height: auto;
}
.container_home {
width: 1160px;
margin: 0 auto;
}
.center {
text-align: center;
}
.divider {
padding: 20px 0;
}
/*BUTTON*/
.button {
display: inline-block;
font-size: 25px;
padding: 18px 30px;
border: 2px solid #800d83;
transition: .3s;
color: #fff;
margin: 0 0 50px 0;
border-radius: 15px;
}
.inverse {
color: #222;
}
.button:hover {
background: #800d83;
}
.inverse:hover {
color: #fff;
}
/*MAIN*/
.main {
display: flex;
justify-content: center;
width: 100%;
height: 100vh;
background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(./Img/Index/home6.jpg) no-repeat center center scroll;
/*Immagine come background della navbar*/
background-size: cover;
}
.hero {
display: flex;
justify-content: center;
align-items: center;
/*Verticalmente*/
height: 100vh;
/*Al centro del vh*/
flex-direction: column;
}
.hero h1 {
font-size: 100px;
padding: 15px 0;
color: #ee72f1;
font-weight: bold;
font-family: "PecitaBook";
}
.hero p {
font-size: 30px;
color: #fff;
font-weight: 300;
}
/*PAGE -MAIN*/
main {
min-height: 768px;
}
/*---------------------------------------------------------------------------*/
/*LISTA ARTICOLI*/
.border {
display: flex;
margin: auto;
border-color: #800d83;
border-style: dashed;
max-width: 100%;
border-width: 3px;
margin: 15px 0 15px 0;
}
.lista_articol {
width: 85%;
margin: auto;
text-align: left;
line-height: 20px;
}
.lista_articol p {
color: #a39b8f;
font-size: 16px;
text-align: left;
}
.lista_articol h2 {
color: #ee6ef1;
line-height: 30px;
}
.lista_articol .piccihud {
color: #ee6ef1;
}
.lista_articol .tag {
color: #696969;
margin-bottom: 10px;
font-size: 15px;
}
.read_more {
display: flex;
flex-direction: row;
margin: 10px 10px 0 0;
justify-content: left;
padding: 0;
}
.read_more img {
-webkit-filter: invert(.99);
width: 20px;
height: auto;
margin: 0 0 0 5px;
}
.read_more p {
color: #ee6ef1;
}
.read_more p:hover,
.lista_articol h2:hover {
color: #fff;
}