Advertisement
kikosiak

Untitled

Nov 24th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.45 KB | None | 0 0
  1. * {
  2.     margin: 0;
  3.     padding: 0;
  4.     position: relative;
  5. }
  6.  
  7. body {
  8.     background-color: #fff;
  9.     width: 100%;
  10.     height: 100%;
  11.     font-family: "Arial", sans-serif;
  12.     font-weight: 100;
  13. }
  14.  
  15. #header {
  16.     margin: 0px auto;
  17.     width: 100%;
  18.     height: auto;
  19.     background: #222222;
  20.     text-align: center;
  21.     color: #ffcc00;
  22.     letter-spacing: 0.5mm;
  23. }
  24.  
  25. #topMenu {
  26.     margin-top: 5px;
  27.     width: 100%;
  28.     height: 60px;
  29.     list-style-type: none;
  30.     background: #222;
  31.     text-align: center;
  32.     color: #c0c0c0;
  33.     text-decoration: none;
  34. }
  35.  
  36. #topMenu ul li {
  37.     display: inline;
  38.     margin: 10px 10px;
  39. }
  40.  
  41. a{
  42.     text-decoration: none;
  43.     color: #c0c0c0;
  44. }
  45.  
  46. #leftMenu {
  47.     width: 15%;
  48.     height: 100%;
  49.     float: left;
  50.     text-align: center;
  51.     background: #222;
  52.     line-height: 40px;
  53.     font-size: 20px;
  54. }
  55.  
  56. a:hover {
  57.     color: #222;
  58.     background-color: #ffcc00;
  59. }
  60.  
  61. #container{
  62.     min-width:100px;
  63.     max-width:1500px;
  64.     min-height:200px;
  65.     max-height:1200px;
  66.     float: right;
  67.     width: 85%;
  68.     height: 100%;
  69.     text-align: center;
  70.     background: #f7f7f7;   
  71.     border-style: solid;
  72.     border-width: 2px;
  73.     border-color: #ffcc00;
  74.     float: left;
  75.     overflow: auto;
  76. }
  77.  
  78. #main{
  79.     display:flex;  
  80.     width: 100%;
  81.     height:100%;
  82. }
  83.  
  84. #footer {
  85.     width: 100%;
  86.     height: 30px;
  87.     text-align: center;
  88.     background-color: #222;
  89.     font-size: 20px;
  90.     clear: both;
  91.     bottom: 0;
  92.     color: white;
  93.     position: fixed;
  94. }
  95.  
  96. .active {
  97.     color: #222;
  98.     background-color: #ffcc00;
  99. }
  100.  
  101. input[type=text] {
  102.   width: 100px;
  103.   -webkit-transition: width .35s ease-in-out;
  104.   transition: width .35s ease-in-out;
  105. }
  106.  
  107. input[type=text]:focus {
  108.   width: 250px;
  109. }
  110.  
  111. span:first-child {
  112.     font-weight: bold;
  113. }
  114.  
  115. p::first-line {
  116.   background-color: #ffcc00;
  117. }
  118.  
  119. p::first-letter {
  120.   font-size: 200%;
  121.   color: #222222;
  122. }
  123.  
  124. p::after {
  125.   content: " - Wazny opis";
  126. }
  127.  
  128. p::before {
  129.   content: "Artykul: ";
  130. }
  131.  
  132. span {
  133.   color: #222222;
  134.   border: 1px solid black;
  135. }
  136.  
  137. .extra span {
  138.   color: inherit;
  139. }
  140.  
  141. p.c {
  142.   white-space: pre;
  143. }
  144.  
  145. #header h2[atrybut~="h"] {
  146. color: white;
  147. background: black;
  148. }
  149.  
  150. #footer > span {
  151. font-weight: bold;
  152. color:white;
  153. }
  154.  
  155. #container p+span {
  156. background: yellow;
  157. display: block;
  158. text-transform: uppercase;
  159. }
  160. #img-bg {
  161. background-image: url('bg.jpg');
  162. background-repeat: no-repeat;
  163. background-size: 100% 100%;
  164. width: 10%;
  165. height: 10%;
  166. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement