Advertisement
cherryprodesign

gportal css1

Mar 11th, 2016
762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.12 KB | None | 0 0
  1. @import url(http://weloveiconfonts.com/api/?family=fontawesome);
  2. @import url(https://fonts.googleapis.com/css?family=Open+Sans|Raleway);
  3. html{
  4.     box-sizing: border-box;
  5. }
  6. *, *:after,*:before{
  7.     box-sizing: inherit;
  8.     font-smooth: never;
  9.     -webkit-font-smoothing : antialiased;
  10.     font-weight: normal;
  11. }
  12. body{
  13.     background: #fff;
  14.     font-family: 'Railway', sans-serif;
  15.     font-size: 14px;
  16.     overflow-x: hidden;
  17.     margin: 0;
  18.     padding: 0;
  19. }
  20. /*  HA BALOLDALI SIDEBAR + KÖZÉPSŐ SÁV SZERKEZETET HASZNÁLSZ  */
  21. .sitemain .sitecol:first-child{ /*ha baloldalon van a sidebar - jobboldali egyetlen sidebar esetén :frist-child helyett :nth-child(2) -t írj*/
  22.     background-color: #151A1E;
  23.     color: #5B6064;
  24.     margin: 0;
  25.     width: 25%;
  26. }
  27. .sitemain .sitecol:nth-child(2){
  28.     background-color: #FFFFFF; /* a középső sávot formája jobbolali sidebar esestén nth-child(1) legyen */
  29.     color: #5B5B5B;
  30.     padding: 2rem;
  31.     min-width: 25%;
  32.     width: auto;
  33. }
  34.  
  35. /*  - EDDIG - */
  36.  
  37. .sitemain .sitecol:nth-child(3){ /* ha mindkét oldalra tennél sidebart, ez formázza a jobboldalit */
  38.     background-color: #151A1E;
  39.     color: #5B6064;
  40.     margin: 0;
  41.     width: 20%;
  42. }
  43. .column_main_td, .column_side_td{
  44.     padding: 0px;
  45. }
  46. .column_side, .colum_main{
  47.     width: 100%;
  48.     font-family: 'Railway', sans-serif;
  49. }
  50. .column_side .modtitle{
  51.     background-color: #20252B;
  52.     color: #D5D6D8;
  53.     padding: 3%;
  54.     margin: 0;
  55. }
  56. .column_side .modtitle > div:before{
  57.     font-family: FontAwesome;
  58.     content: '\f067 ';
  59.     padding: 2%;
  60. }
  61. .column_side .modbody{
  62.     padding: 3%;
  63. }
  64. .sitemain .sitecol:nth-child(2){
  65.     background-color: #FFFFFF;
  66.     color: #5B5B5B;
  67.     padding: 2rem;
  68.     min-width: 25%;
  69.     width: auto;
  70. }
  71. a, a:hover{
  72.     text-decoration: none;
  73. }
  74. .column_side a{
  75.     color: #BEC1BC;
  76. }
  77.  
  78. .column_main_td .modtitle, .column_main_td div[id^="post_"] > a > h2{
  79.     text-align: center;
  80.     color: #726E64;
  81.     font-size: 24px !important;
  82.     font-weight: bold;
  83. }
  84. .column_main_td .modtitle, .column_main_td div[id^="post_"] h2{
  85.     color: #202529;
  86.     font-size: 21px !important;
  87.     font-weight: bold;
  88.     background: ;
  89.     text-transform: uppercase;
  90. }
  91. .column_main_td .txtmini, .column_main_td .blogpostdate, .column_main_td .blogtags{
  92.     font-style: normal !important;
  93.     font-size: 100% !important;
  94. }
  95. .column_main_td div[id^="post_"] div:last-of-type table tbody tr{
  96.     background-color: #151A1E;
  97.     color: #BEC1BC;
  98. }
  99. .column_main_td div[id^="post_"] div:last-of-type table tbody tr td{
  100.     padding: 2%;
  101. }
  102. .column_main_td div[id^="post_"] div:last-of-type table tbody tr a{
  103.     color: #BEC1BC;
  104. }
  105.  .txtmini{
  106.     font-style: normal !important;
  107.  }
  108. .column_main_td .txtmini:before, .column_main_td .blogpostdate:before, .column_side_td .modbody .txtmini:before{
  109.     content: '\f017 ';
  110.     font-family: FontAwesome;
  111.     padding: 0 1%;
  112.     font-style: normal;
  113. }
  114. .column_main_td .blogtags:before{
  115.     content: '\f02c ';
  116.     font-family: FontAwesome;
  117.     padding: 0 1%;
  118. }
  119. .txtnormal a:after{
  120.     content: '\f0a9 ';
  121.     font-family: FontAwesome;
  122.     padding: 0 1%;
  123. }
  124. .txtnormal .txtnormal a:after{
  125.     content: ' ';
  126.     font-family: FontAwesome;
  127.     padding: 0 2%;
  128. }
  129. .txtnormal .txtnormal a:before{
  130.     content: '\f073 ';
  131.     font-family: FontAwesome;
  132.     padding: 0 2%;
  133. }
  134. .column_main_td .txtmini{
  135.     float: left;
  136.     padding: 0% 0%;
  137. }
  138. .column_main_td .blogtags{
  139.     text-align: right;
  140.     width: 100%;
  141. }
  142. .blogtags a{
  143.     background-color: #F0F0F0;
  144.     display: inline-block;
  145.     padding: 1%;
  146.     margin: 1%;
  147.     color: #A6A6A6;
  148. }
  149. .column_main_td .txtbold{
  150.     clear: both;
  151.     text-align: center;
  152.     width: 100%;
  153.     font-size: 100% !important;
  154. }
  155. .column_main_td p{
  156.     text-align: justify;
  157.     line-height: 24px;
  158. }
  159. .column_main_td div[id^="post_"] div > p:before{
  160.     clear: both;
  161. }
  162. .column_main_td div[id^="post_"] div > p:first-child{
  163.     clear: both;
  164.     margin-top: 50px;
  165. }
  166.  
  167. input, select{
  168.     background: #fff;
  169.     color: #A6A6A6;
  170.     padding: 2%;
  171.     margin: 2% 0%;
  172.     border: 1px solid #eee;
  173. }
  174. input[type="submit"]{
  175.     background-color: #1E252B;
  176.     color: #FDFDFD;
  177.     border: none;
  178.    
  179. }
  180. form[name="loginform"] input{
  181.     min-width: 60%;
  182. }
  183. form[name="loginform"]:before{           
  184.     font-family: FontAwesome, 'Railway', sans-serif;
  185.     content: '\f007 ';
  186.     padding: 1%;
  187.     position: relative;
  188. }
  189.  
  190. .menu a:before{
  191.     content: '\f0c1 ';
  192.     font-family: FontAwesome;
  193.     padding: 1%;
  194. }
  195. .menu a{
  196.     width: 100%;
  197.     display: block;
  198.     padding: 2% 1%;
  199.     border-bottom: 1px solid #20252B;
  200.     background: transparent;
  201.     transition: all 1s;
  202. }
  203. .menu a:hover{
  204.     background: #20252B;
  205. }
  206.  
  207. a{
  208.     color: #1E252B;
  209. }
  210. a:hover{
  211.     color: #a1a1a1;
  212.     transition: all 1s;
  213. }
  214. p{
  215.     text-align: justify;
  216.     line-height: 24px;
  217. }
  218. ul li, ol li, li{
  219.     text-align: justify;
  220.     margin-bottom: 1em;
  221. }
  222. .txtbold{
  223.     line-height: 21px;
  224. }
  225. .column_main_td div img, .column_main_td .modbody img, .column_main_td .txtnormal img{
  226.     max-width: 100%;
  227.     height: auto !important;
  228.     margin: 3% 0%;
  229. }
  230.  
  231. .pageshare img, .list1 img{
  232.     margin: 0 !important;
  233. }
  234.  
  235. ::selection{
  236.     background-color: #151A1E;
  237.     color: #ccc;
  238. }
  239.  
  240. img[src="image/spacer.gif"]{
  241.     margin: 0% !important;
  242.     width: 1px !important;
  243.     height: 1px !important;
  244. }
  245.  
  246. @media screen and (max-width: 680px) {
  247.     .sitemain .sitecol, .column_side_td {
  248.         width: 100% !important;
  249.         display:block;
  250.     }
  251. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement