@charset "UTF-8";
@import url('<https://fonts.googleapis.com/css2?family=Madimi+One&family=PT+>
Mono&family=Titillium+Web&display=swap');
@font-face {
font-family: 'FonteLogo';
src: url("../_fonts/bubblegum-sans-regular.otf");
}
body {
background-color: #dddddd;
color: rgba(0, 0, 0, 1);
}
div#interface {
width: 900px;
background-color: #ffffff;
margin: -20px auto 0px auto;
box-shadow: 0px 0px 10px rgba(0, 0, 0, .5);
padding: 10px;
}
p {
text-align: justify;
text-indent: 50px;
}
header#cabecalho img#icone {
position: absolute;
left: 780px;
top: 70px;
}
header#cabecalho {
border-bottom: 1px #606060 solid;
height: 150px;
background: url("/curso-html5-pacote01/projeto-glass-html5/_imagens/glass-logo-peq.jpg") no-repeat 0px 80px;
}
header#cabecalho h1 {
font-family: 'FonteLogo', sans-serif;
font-size: 30pt;
color: #606060;
text-shadow: 1px 1px 1px rgba(0, 0, 0, .6);
padding: 0px;
margin-bottom: 0px;
}
header#cabecalho h2 {
font-family: 'Titillium Web', sans-serif;
color: #888888;
font-size: 15pt;
padding: 0px;
margin-top: 0px;
}
/* Formatação de imagens com legendas */
figure.foto-legenda {
position: relative;
border: 8px solid white;
box-shadow: 1px 1px 4px black;
}
figure.foto-legenda img {
width: 100%;
height: 100%;
}
figure.foto-legenda figcaption {
opacity: 0;
position: absolute;
top: 0px;
background-color: rgba(0, 0, 0, .4);
color: white;
width: 100%;
height: 100%;
padding: 10px;
box-sizing: border-box;
transition: opacity 1s;
}
figure.foto-legenda:hover figcaption {
opacity: 1;
}
/* Formatação do Menu*/
nav#menu {
display: block;
}
nav#menu ul {
list-style: none;
text-transform: uppercase;
position: absolute;
top: -20px;
left: 300px;
}
nav#menu li {
display: inline-block;
background-color: #dddddd;
padding: 10px;
margin: 2px;
transition: background-color 1s;
}
nav#menu li:hover {
background-color: #606060;
}
nav#menu h1 {
display: none;
}
nav#menu a {
color: #000000;
text-decoration: none;
}
nav#menu a:hover {
color: #ffffff;
text-decoration: underline;
}
@import url()
: você utiliza para importar uma fonte em um web site ou seja importar uma fonte que não está em nenhuma pasta do seu projeto.font-family: ‘nome da class da fonte’;
src: url(”);
}: Essa tag serve como um algoritmo de fonte, basta apenas vc colocar a url da fonte e botar o nome da fonte para utilizar ela nas tags de
font-family` .