Advertisement
thotfrnk

final project.css

Jan 13th, 2023
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.63 KB | None | 0 0
  1. /*main layout of website - the box modle*/
  2.  
  3. html {
  4.     font-family: "Open Sans", Mels, Arial;
  5.     background-color: #CFCFEA;
  6. }
  7.  
  8. .box {
  9.     width: 1100px;
  10.     margin: 0 auto;
  11.     padding: 0 20px 20px 20px;
  12.     border: 0px solid black;
  13. }
  14.  
  15. /*login and sign up forms*/
  16. /*Base CSS code for #form_sign, #form_log, and .form_para came from: https://www.codeinfoweb.com/2021/02/sign-up-and-login-form-with-html-and-css.html */
  17.  
  18. #form_sign {
  19.   width: 360px;
  20.   height: 1060px;
  21.   margin: auto;
  22.   background-color: #66A3BB;
  23.   font-family: Arial;
  24. }
  25.  
  26. #form_log {
  27.     width: 360px;
  28.     height: 280px;
  29.     margin: auto;
  30.     background-color: #66A3BB;
  31.     font-family: Arial;
  32. }
  33.  
  34. /*all forms*/
  35. /*Base CSS code came from: https://www.w3schools.com/css/css_border_rounded.asp */
  36.  
  37. input[type=text], input[type=email], input[type=password], input[type=tel] {
  38.     width: 250px;
  39.     padding: 12px 20px;
  40.     margin: 8px 0;
  41.     box-sizing: border-box;
  42.     border: 1px solid black;
  43.     border-radius: 25px;
  44. }
  45.  
  46. input[type=submit] {
  47.     width: 100px;
  48.     height: 35px;
  49.     clear: both;
  50.     border: none;
  51.     border-radius: 25px;
  52.     padding: 5px;
  53.     background-color: white;
  54. }
  55.  
  56. .form_para {
  57.   text-align: center;
  58.   color: black;
  59.   font-size: 15px;
  60.   margin-top: 40px;
  61.   padding: 15px;
  62. }
  63.  
  64. .form_para a {
  65.   color: #253A47;
  66. }
  67.  
  68. /*response page for forms*/
  69.  
  70. #logo {
  71.     text-align: center;
  72.     margin-left: 23em;
  73.     padding: 10px;
  74. }
  75.  
  76. /*header*/
  77.  
  78. /*header for all pages*/
  79. #header {
  80.     padding: 20px;
  81. }
  82.  
  83. #login {
  84.     float: right;
  85.     margin-left: 15em;
  86.     font-family: "Lemon Milk";
  87. }
  88.  
  89. #signup {
  90.     float: right;
  91.     font-family: "Lemon Milk";
  92. }
  93.  
  94. /*navigation bar for all pages*/
  95.  
  96. nav {
  97.     font-family: "Lemon Milk";
  98.     clear: both;
  99.     overflow: hidden;
  100.     background-color: #253A47;
  101. }
  102.  
  103. nav ul {
  104.     list-style-type: none;
  105. }
  106.  
  107. nav ul li {
  108.     float: left;
  109.     margin-right: 1em;
  110. }
  111.  
  112. nav ul li a {
  113.     padding: 0.25em 1em 1em;
  114.     text-decoration: none;
  115.     color: #66A3BB;
  116.     text-align: center;
  117.     display: block;
  118. }
  119.  
  120. nav ul li a:hover, nav ul li a:focus {
  121.     color: #061826;
  122.     background-color: #CFCFEA;
  123.     font-weight: bold;
  124. }
  125.  
  126. /*main content*/
  127.  
  128. /*body for all pages*/
  129. .banner {
  130.     text-align: center;
  131.     padding: 10px;
  132. }
  133.  
  134. .container {
  135.     width: 1080px;
  136.     margin: 0 auto;
  137.     background: #66A3BB;
  138.     padding: 10px;
  139. }
  140.  
  141. /*heading font*/
  142. h1, h2 {
  143.     font-family: Vogue;
  144.     text-align: center;
  145. }
  146.  
  147. /*Welcome heading for Home Page*/
  148. .welcome {
  149.     text-align: center;
  150.     text-decoration-line: underline;
  151.     text-decoration-style: double;
  152.     padding: 0px;
  153. }
  154.  
  155. /*Home Page*/
  156. .deals {
  157.     padding: 10px;
  158.     column-count: 2;
  159. }
  160.  
  161. .deals a:link, .service a:link {
  162.     color: #E8F1F2;
  163. }
  164.  
  165. .service a:visited {
  166.     color: #172A3A;
  167. }
  168.  
  169. .deals a:visited {
  170.     color: #FFFF;
  171. }
  172.  
  173. .deals a:hover, .service a:hover {
  174.     color: #CFCFEA;;
  175. }
  176.  
  177. #newyear, #upcoming {
  178.     width: 450px;
  179.     height: 250px;
  180.     padding: 10px;
  181.     border: 2px solid black;
  182.     overflow: auto;
  183.     background-color: #253A47;
  184.     color: #CFCFEA;
  185. }
  186.  
  187. /*Base code taken from: https://www.w3schools.com/css/tryit.asp?filename=trycss3_box-shadow*/
  188. .shadow {
  189.     width: 215px;
  190.     height: 45px;
  191.     padding: 10px;
  192.     background-color: #CFCFEA;
  193.     box-shadow: 10px 10px;
  194.     color: black;
  195. }
  196.  
  197. .main {
  198.     padding: 10px;
  199. }
  200.  
  201. /*image*/
  202. .sunil {
  203.     float: left;
  204.     padding: 10px;
  205. }
  206.  
  207. .service {
  208.     padding: 10px;
  209.     clear: both;
  210. }
  211.  
  212. /*image gallery*/
  213. /*Base CSS code taken from: https://www.w3schools.com/css/tryit.asp?filename=trycss_image_gallery*/
  214.  
  215. div.gallery {
  216.     margin: 5px;
  217.     border: 1px solid #0000;
  218.     float: left;
  219.     width: 500px;
  220.     padding: 10px;
  221.     background-color: #66A3BB;
  222. }
  223.  
  224. div.gallery img {
  225.     width: 100%;
  226. }
  227.  
  228. div.desc {
  229.     padding: 15px;
  230.     text-align: center;
  231. }
  232.  
  233. /*Services Page*/
  234.  
  235. #services {
  236.     padding: 0px;
  237. }
  238.  
  239. .table {
  240.     column-count: 2;
  241. }
  242.  
  243. .install, .supply, .repair, .trouble {
  244.     padding: 10px;
  245. }
  246.  
  247. .book {
  248.     width: 115px;
  249.     height: 40px;
  250.     padding: 10px;
  251.     background-color: #253A47;
  252.     box-shadow: 10px 10px;
  253.     color: white;
  254.     text-align: center;
  255.     font-family: "Lemon Milk";
  256. }
  257.  
  258. .book a:link {
  259.     color: #66A3BB;
  260. }
  261.  
  262. .book a:visited {
  263.     color: #CFCFEA;
  264. }
  265.  
  266. .book a:hover {
  267.     color: white;
  268. }
  269.  
  270. /*contact page*/
  271.  
  272. /*appoitment form*/
  273.  
  274. #appoint {
  275.     width: 550px;
  276.     height: 1020px;
  277.     padding: 10px;
  278. }
  279.  
  280. #contact {
  281.     position: relative;
  282.     left: 700px;
  283.     bottom: 1000px;
  284. }
  285.  
  286. /*site map*/
  287.  
  288. #sitemap {
  289.     text-align: center;
  290. }
  291.  
  292. /*footer for all pages*/
  293. #footer {
  294.     padding: 10px;
  295.     font-family: "Lemon Milk";
  296.     clear: both;
  297.     text-align: center;
  298. }
  299.  
  300. /*site map and footer links*/
  301.  
  302. #footer a:link, #sitemap a:link {
  303.     color: #66A3BB;
  304. }
  305.  
  306. #footer a:visited, #sitemap a:visited {
  307.     color: #172A3A;
  308. }
  309.  
  310. #footer a:hover, #sitemap a:hover {
  311.     color: #183059;
  312. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement