adding an introduction header with css
This commit is contained in:
parent
1bc71091d6
commit
2f64328f46
@ -23,7 +23,7 @@ header#banner{
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
nav#menu{
|
nav#menu{
|
||||||
width: calc(100% + 20em);
|
width: calc(100% + 18em);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin:0 0 0 -10em;
|
margin:0 0 0 -10em;
|
||||||
}
|
}
|
||||||
@ -62,6 +62,13 @@ article{
|
|||||||
background-color: beige;
|
background-color: beige;
|
||||||
padding:2em 3em;
|
padding:2em 3em;
|
||||||
}
|
}
|
||||||
|
article:first-of-type:before{
|
||||||
|
content: "Introduction";
|
||||||
|
display: block;
|
||||||
|
margin:0 auto;
|
||||||
|
position: relative;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
/* big pink boxes for the section titles */
|
/* big pink boxes for the section titles */
|
||||||
h1.category{
|
h1.category{
|
||||||
|
Loading…
Reference in New Issue
Block a user