Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body{
- max-width: 1180px;
- margin-left:auto;
- margin-right:auto;
- }
- /*header*/
- nav{
- height: 50px;
- background-color:black;
- }
- nav ul{
- color:#ece8e8;
- max-width: 50%;
- display:flex;
- list-style-type: none;
- margin: 0;
- padding: 0;
- justify-content:space-around;
- align-items: center;
- height: 100%;
- }
- ul li{
- font-weight:bold;
- font-size: 1.5em;
- margin:0;
- }
- ul li:nth-child(2){
- font-size:1em;
- padding-top: 5px;
- }
- ul li:nth-child(3){
- font-size:1em;
- padding-top:5px;
- }
- /*caroussel*/
- .carousel{
- background-color: #ece8e8;
- min-height:300px;
- }
- /*wanted*/
- section h2{
- min-height: 100px;
- color:grey;
- text-align:center;
- padding-top:40px;
- font-size:1.3em;
- }
- h2 span {
- font-size: 1.5em;
- }
- /*portrait*/
- .portrait{
- display: flex;
- justify-content:space-around;
- align-items: center;
- }
- section > article{
- height:370px;
- width:370px;
- background-color:#ece8e8;
- margin:10px;
- }
- hr {
- margin-top: 100px;
- }
- /*form*/
- input{
- min-width: 900px;
- margin-bottom:10px;
- margin-left:10%;
- margin-right:10%;
- }
- textarea{
- min-width: 900px;
- margin-bottom:10px;
- margin-left:10%;
- margin-right:10%;
- }
- @media (max-width:961px){
- body{
- max-width: 961px;
- margin-left:auto;
- margin-right:auto;
- }
- /*header*/
- ul li{
- font-size: 1em;
- margin:0;
- }
- ul li:nth-child(2){
- font-size:0.8em;
- }
- ul li:nth-child(3){
- font-size:0.8em;
- }
- /*section*/
- .carousel{
- display: none;
- }
- .portrait{
- display: none;
- }
- /*form*/
- input{
- min-width:600px;
- margin-left:7%;
- margin-right:7%;
- }
- textarea{
- min-width:600px;
- margin-left:7%;
- margin-right:7%;
- }
- }
Add Comment
Please, Sign In to add comment