LucianoCharles2017

template.css do projeto flexbox

May 31st, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.00 KB | None | 0 0
  1. /*
  2.     Created on : 28/12/2017, 19:28:35
  3.     Author     : souza
  4. */
  5. *{
  6.     font-family: 'Arial';
  7. }
  8. body{
  9.     margin: 0;
  10.     padding: 0;
  11. }
  12. header{
  13.     display: flex;
  14.     justify-content: center;
  15.     height: 120px;
  16. }
  17. .container{
  18.     display: flex;
  19.     justify-content: space-between;
  20.     /*width: 72.5%;*/
  21.     width: 990px;
  22. }
  23. .logo{
  24.     display: flex;
  25.     align-items: center;
  26. }
  27. .menu{
  28.     display: flex;
  29.     align-items: center;
  30. }
  31. nav ul{
  32.     display: flex;
  33. }
  34. nav ul,
  35. nav li{
  36.     margin: 0;
  37.     padding: 0;
  38.     list-style: none;
  39. }
  40. nav a{
  41.     display: block;
  42.     padding: 15px;
  43.     text-decoration: none;
  44.     text-transform: uppercase;
  45.     color: #727272;
  46. }
  47. nav .active a,
  48. nav a:hover{
  49.     background-color: #39aae1;
  50.     color: #fff;
  51. }
  52.  
  53. #banner{
  54.     display: flex;
  55.     justify-content: center;
  56.     background-image: url("../images/img1.jpg");
  57.     background-position: center;
  58.     background-size: cover;
  59.     height: 670px;
  60. }
  61. .column{
  62.     flex-direction: column;
  63. }
  64.  
  65. .banner_headline{
  66.     flex: 1;
  67.     display: flex;
  68.     flex-direction: column;
  69.     justify-content: center;
  70. }
  71.  
  72. .banner_options{
  73.     height: 210px;
  74.     display: flex;
  75. }
  76.  
  77. .banner_headline h1,
  78. .banner_headline h2{
  79.     margin: 0;
  80.     padding: 0;
  81.     max-width: 350px;
  82. }
  83. .banner_headline h1{
  84.     color: #fff;
  85.     font-size: 4.3em;
  86.     text-shadow: 0px 1px 0px #555;
  87. }
  88. .banner_headline h2{
  89.     color: #fff;
  90.     font-size: 1.3em;
  91.     text-shadow: 0px 1px 0px #555;
  92.     margin-top: 30px;
  93. }
  94. .banner1,
  95. .banner2,
  96. .banner3{
  97.     flex: 1;
  98.     color: #fff;
  99.     padding: 20px;
  100. }
  101.  
  102. .banner1{
  103.     background-color: #39aae1;
  104. }
  105. .banner2{
  106.     background-color: #0079c7;
  107. }
  108. .banner3{
  109.     background-color: #2b4c99;
  110. }
  111. .banner_title{
  112.     font-size: 1.3em;
  113. }
  114. .banner_desc{
  115.     font-size: 0.975em;
  116.     margin-top: 20px;
  117.     margin-bottom: 20px;
  118. }
  119. .banner_options a{
  120.     display: inline-block;
  121.     border: 1px solid #fff;
  122.     padding: 5px;
  123.     text-decoration: none;
  124.     color: #fff;
  125.     font-size: 1.1em;
  126. }
  127.  
  128. .banner_desc ul{
  129.     margin: 0;
  130.     padding: 0;
  131.     display: flex;
  132.     justify-content: space-between;
  133.     border-bottom: 1px solid #2d5e8e;
  134. }
  135. .banner_desc li{
  136.     padding: 8px 0 8px 0;
  137.     list-style: none;
  138.     /*display: block;*/
  139. }
  140.  
  141. /*Conteudo*/
  142.  
  143. #geral{
  144.     display: flex;
  145.     justify-content: center;
  146. }
  147. #geral main{
  148.     flex: 2;
  149. }
  150. #geral aside{
  151.     flex: 1;
  152. }
  153.  
  154. /*ASIDE*/
  155. .widget_title{
  156.     margin-top: 30px;
  157.     margin-bottom: 20px;
  158. }
  159. .widget_title_text{
  160.     color: #000;
  161.     font-size: 1.1em;
  162.     font-weight: bold;
  163. }
  164. .widget_title_bar{
  165.     width: 50px;
  166.     height: 3px;
  167.     background-color: #36a9e1;
  168.     margin-top: -15px;
  169. }
  170.  
  171. /*ASIDE DEPARTMENTS*/
  172. .widget_body{
  173.     display: flex;
  174.     justify-content: space-between;
  175.     flex-wrap: wrap;
  176.     margin-top: 15px;
  177. }
  178. .departments{
  179.     background-color: #01A3DC;
  180.     margin-bottom: 30px;
  181.     width: 150px;
  182.     height: 150px;
  183. }
  184.  
  185. /*APPOINTMENT*/
  186. .appointment{
  187.     margin-top: -20px;
  188. }
  189. .appointment_msg{
  190.     color: #8F8E90;
  191.     font-size: 0.855em;
  192.     margin-top: -10px;
  193.     margin-bottom: 20px;
  194. }
  195. .address{
  196.     display: flex;
  197.     align-items: center;
  198.     border-bottom: 1px solid rgba(163,159,161,0.3);
  199. }
  200. .address .box_img{
  201.     width: 25px;
  202.     height: 25px;
  203.     margin-right: 15px;
  204.     background-color: rgba(163,159,161,0.3);
  205. }
  206. .address .address_text{
  207.     color: #8F8E90;
  208.     font-size: 0.855em;
  209. }
  210. .address_text span{
  211.     color: #555;
  212. }
  213.  
  214. /*NEWS LATEST*/
  215. article a{
  216.     text-decoration: none;
  217. }
  218. article .news_data{
  219.     display: flex;
  220. }
  221. article .news_posted_at{
  222.     background-color: #2b4c99;
  223.     color: #fff;
  224.     font-size: 0.875em;
  225.     padding: 10px;
  226.     margin-right: 3px;
  227.  
  228. }
  229. article .news_comments{
  230.     background-color: #39aae1;
  231.     color: #fff;
  232.     font-size: 0.875em;
  233.     padding: 10px;
  234. }
  235. article .news_thumbnail{
  236.     margin-top: 30px;
  237. }
  238. article .news_thumbnail img{
  239.     width: 100%;
  240.     height: auto;
  241. }
  242. article .news_tilte{
  243.     margin-top: 25px;
  244.     margin-bottom: 25px;
  245.     color: #000;
  246.     font-size: 1.3em;
  247. }
  248. article .news_resume{
  249.     font-size: 0.875em;
  250.     color: #5c5c5c;
  251.     line-height: 20px;
  252.     margin-bottom: 30px;
  253. }
  254.  
  255. .flex{
  256.     display: flex;
  257.     flex-wrap: wrap;
  258. }
  259. article{
  260.     flex: 1;
  261.     min-width: 280px;
  262.     margin-right: 20px;
  263. }
  264.  
  265. /*RODAPÉ*/
  266. .flexColumn{
  267.     flex-direction: column;
  268. }
  269. footer{
  270.     background-color: #1e1e1e;
  271.     display: flex;
  272.     justify-content: center;
  273. }
  274. .footer_menu{
  275.     display: flex;
  276. }
  277. .fm_1,
  278. .fm_2,
  279. .fm_3{
  280.     flex: 1;
  281.     color: #fff;
  282.     padding: 20px;
  283. }
  284. .fm_1{
  285.     background-color: #39aae1;
  286. }
  287. .fm_2{
  288.     background-color: #0079c7;
  289. }
  290. .fm_3{
  291.     background-color: #2b4c99;
  292. }
  293. .footer_area{
  294.     display: flex;
  295. }
  296. .footer_areaitem{
  297.     flex: 1;
  298.     color: #fff;
  299. }
  300. footer .widget_title_text{
  301.     color: #fff;
  302. }
  303.  
  304. .footer_copy{
  305.     border-top: 1px solid #2c2c2c;
  306.     height: 40px;
  307.     line-height: 10px;
  308.     color: #5c5c5c;
  309.     font-size: 0.875em;
  310.     margin-top: 20px;
  311. }
Advertisement
Add Comment
Please, Sign In to add comment