Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.53 KB | None | 0 0
  1. body, h3{
  2. margin: 0;
  3. }
  4.  
  5. header {
  6. height: auto;
  7. }
  8.  
  9. header>span{
  10. margin: auto;
  11. width: 100%;
  12. font-size:25px;
  13. display: inline-block;
  14. min-height: 50px;
  15. min-width: 600px;
  16. background-color: #4565ff;
  17. position: fixed;
  18. z-index:100;
  19. max-width:1800px;
  20. }
  21. header>h1{
  22. max-width:800px;
  23. text-align: center;
  24. }
  25. main{
  26. display: -webkit-box;
  27. display: -moz-box;
  28. display: -ms-flexbox;
  29. display: -webkit-flex;
  30. display: flex;
  31. -webkit-flex-flow: row wrap;
  32. justify-content: center;
  33. margin: auto;
  34. margin-top: 30px;
  35. }
  36. .content{
  37. display: -webkit-box;
  38. display: -moz-box;
  39. display: -ms-flexbox;
  40. display: -webkit-flex;
  41. display: flex;
  42. -webkit-flex-flow: row wrap;
  43. justify-content: space-around;
  44. max-width: 1200px;
  45. margin-top: 20px;
  46. margin-left: 20px;
  47. color:black;
  48. }
  49. .news{
  50. cursor:default;
  51. position:relative;
  52. max-height: 450px;
  53. max-width: 370px;
  54. margin-top: 20px;
  55. margin-right:20px;
  56. }
  57. .news input{
  58. position:absolute;
  59. display:none;
  60. }
  61. .news:hover input[type="image"]{
  62. cursor:pointer;
  63. opacity: 0.7;
  64. width:30px;
  65. height:30px;
  66. display:block;
  67. top:0px;
  68. right:0px;
  69. }
  70. .news>img{
  71. width: 350px;
  72. height: 300px;
  73. cursor: pointer;
  74. }
  75. .content .news>a{
  76. color:black;
  77. text-decoration:none;
  78. }
  79.  
  80. .news h3{
  81. font-size:2.5em;
  82. margin-bottom:0.5em;
  83. margin-top: 0.5em;
  84. color:black;
  85. text-decoration:none;
  86. cursor: pointer;
  87. }
  88.  
  89. .news p{
  90. color:black;
  91. text-decoration:none;
  92. cursor: pointer;
  93. color: grey;
  94. user-select: none;
  95. line-height:0px;
  96. }
  97.  
  98. .news a{
  99. max-height: 450px;
  100. max-width: 370px;
  101. }
  102.  
  103. .add {
  104. margin: auto;
  105. }
  106.  
  107. .add h3, .read h3 {
  108. font-size: 2.5em;
  109. margin: 0 0 10px 0;
  110. }
  111.  
  112. .read {
  113. display: block;
  114. }
  115.  
  116. .read .wrap {
  117. margin: 0;
  118. align-content: center;
  119. }
  120.  
  121. .read .wrap .rightsign {
  122. color: grey;
  123. font-size: 1em;
  124. margin-top: -5px;
  125. float: right;
  126. }
  127.  
  128. .read .wrap .leftsign {
  129. color: grey;
  130. font-size: 1em;
  131. margin-top: -5px;
  132. float: left;
  133. }
  134.  
  135. .read p {
  136. border: none;
  137. font-size: 1.2em;
  138. }
  139.  
  140. .read img{
  141. height: 300px;
  142. width: 500px;
  143. margin: 0px 25px 15px 0px;
  144. float: left;
  145. border: 4px solid grey;
  146. position: relative;
  147. display: inline-block;
  148. }
  149.  
  150. .edit .wrap img {
  151. margin: 0px 25px 25px 340px;
  152. }
  153.  
  154. .read h3{
  155. display: inline-block;
  156. width: 100%;
  157. text-align: center;
  158. position: relative;
  159. }
  160.  
  161. .read h3 > input{
  162. height: 35px;
  163. min-width: 35px;
  164. position: absolute;
  165. top: 0;
  166. right: 0;
  167. cursor: pointer;
  168. }
  169.  
  170. .edit h3 span{
  171. display: inline-block;
  172. min-width: 20px;
  173. white-space: pre-wrap;
  174. border: 0.5px dotted red;
  175. }
  176.  
  177. .edit .wrap {
  178. width: 1200px;
  179. }
  180.  
  181. .edit .wrap #Content {
  182. display: inline-block;
  183. min-width: 20px;
  184. border: 1px dotted red;
  185. }
  186.  
  187. .read .wrap .wrapFooter {
  188. margin-top: 5px;
  189. display: inline-block;
  190. width: 100%;
  191. }
  192.  
  193. .edit h3 > input:nth-child(2n+1){
  194. right: 50px;
  195. }
  196.  
  197. .read h3 > input[type='image']:hover{
  198. transform: scale(1.2);
  199. }
  200. .headtext{
  201. color: white;
  202. font-size: 2.5em;
  203. }
  204. .crnews{
  205. color: white;
  206. font-size: 0.7em;
  207. text-decoration: none;
  208. display: inline-block;
  209. border: 1px solid lightgray;
  210. border-radius: 15px;
  211. /*box-shadow: 0 0 5px rgba(0,0,0,0.5);*/
  212. padding: 4px;
  213.  
  214. }
  215. .crnews:hover{
  216. color: lightgrey;
  217. font-size: 0.68em;
  218. margin-left: 3px;
  219. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement