Sito_di_storia/style.css
La Programmatrice Verde 153b7c04c2 Stile finito?
2025-02-19 23:42:59 +01:00

113 lines
1.6 KiB
CSS

@font-face {
font-family: canterbury;
src: url(Canterbury.ttf);
}
@font-face {
font-family: black-chancery;
src: url(BLKCHCRY.TTF);
}
html {
overflow-x: hidden;
background-image: url(sfondo.jpg);
background-repeat: no-repeat;
background-size: cover;
}
body{
margin-left: 10%;
margin-right: 10%;
}
#corpo {
padding: 4em;
box-shadow: 2px 3px 20px black, 0 0 60px #8a4d0f inset;
background: #fdf9bb;
filter: url(#invecchiamento);
}
#contenuto {
position: absolute;
font-size: 20pt;
font-family: black-chancery;
text-align: center;
top: 5px;
margin-left: 2%;
margin-right:12%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: canterbury;
}
.titolo {
font-size: 50pt;
}
.navbar {
position: relative;
}
header {
position: relative;
}
nav {
background: #fdf9bb;
box-shadow: 2px 3px 20px black, 0 0 60px #c48e58 inset;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
}
nav ul>li {
display: inline-block;
position: relative;
}
nav a {
color: black;
text-decoration: none;
padding: 15px;
display: block;
}
nav a:hover {
box-shadow: 2px 3px 20px black, 0 0 60px #edb072 inset;
}
nav .dropdown {
max-height: 0;
overflow: hidden;
transition: max-height 1s ease;
}
nav li:hover>.dropdown,
nav li:focus>.dropdown {
max-height: 300px;
}
nav .dropdown {
position: absolute;
background: #fdf9bb;
box-shadow: 2px 3px 20px black, 0 0 60px #edb072 inset;
z-index: 1;
}
nav ul ul li {
white-space: nowrap;
}
/*Da qui potete inserire tutto il layout della vostra pagina*/