107 lines
1.4 KiB
CSS
107 lines
1.4 KiB
CSS
@font-face {
|
|
font-family: canterbury;
|
|
src: url(Canterbury.ttf);
|
|
}
|
|
|
|
@font-face {
|
|
font-family: black-chancery;
|
|
src: url(BLKCHCRY.TTF);
|
|
}
|
|
|
|
html {
|
|
margin-left: 10%;
|
|
margin-right: 10%;
|
|
overflow-x: hidden;
|
|
border: 20px solid rgb(0, 255, 0);
|
|
background-color: aqua;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
padding: 4em;
|
|
box-shadow: 2px 3px 20px black, 0 0 60px #8a4d0f inset;
|
|
background: #fdf9bb;
|
|
|
|
}
|
|
|
|
.corpo {
|
|
filter: url(#wavy2);
|
|
}
|
|
|
|
.contenuto {
|
|
font-size: 20pt;
|
|
font-family: black-chancery;
|
|
text-align: center;
|
|
margin-top: 40px;
|
|
filter: none;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: canterbury;
|
|
}
|
|
|
|
.titolo {
|
|
font-size: 50pt;
|
|
}
|
|
|
|
.navbar {
|
|
position: sticky;
|
|
top: 0px;
|
|
}
|
|
|
|
header {
|
|
position: relative;
|
|
}
|
|
|
|
nav {
|
|
background-color: beige;
|
|
}
|
|
|
|
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 {
|
|
text-decoration: underline;
|
|
background-color: blanchedalmond;
|
|
}
|
|
|
|
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-color: rebeccapurple;
|
|
z-index: 1000;
|
|
}
|
|
|
|
nav ul ul li {
|
|
white-space: nowrap;
|
|
} |