HTML

tbs_jacobalek.css

Jan 10th, 2017
194
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.10 KB | None | 0 0
  1. /* Code created by Jacob Howard and Alek Schoneck */
  2. /* If a button is hovered over, the text becomes a brighter red than before. */
  3. button:hover {
  4.                 color:red;
  5. }
  6. button:active {
  7.                 color:#991900;
  8. }
  9. /* The body will not go below a width of 983px or above a width of 1264px to prevent improper presentation of the page. */
  10. body {
  11.                 min-width:983px;
  12.                 max-width:1264px;
  13.                 overflow:hidden;
  14. }
  15. button {
  16.                 color:#991900;
  17.                 background-color:white;
  18.                 height:52px;
  19.                 width:10%;
  20.                 font-family:"Times New Roman";
  21.                 font-size:30px;
  22.                 border:0px;
  23.                 margin-right:-.5%;
  24.                 margin-top:20px;
  25.                 border-radius:5%;
  26. }
  27. /* Styling for the navigation buttons */
  28. .url {
  29.                 border-top:5px solid black;
  30.                 border-bottom:5px solid black;
  31.                 width:10%;
  32.                 height:50px;
  33.                 text-align:center;
  34. }
  35. .space {
  36.                         color:black;
  37.                 border-top:5px solid black;
  38.                 border-bottom:5px solid black;
  39.                 width:5%;
  40.                 height:50px;
  41.                 text-align:center;
  42. }
  43. .space:hover {
  44.                 color:black;
  45. }
  46. /* Despite saying "Text-align", this centers the logo. */
  47. /* Margin-top pulls the logo upwards to be level with the navigation buttons. */
  48. #logo {
  49.                 text-align:center; 
  50.                 margin-top:0px;
  51. }
  52. /* The two buttons on the left side of the logo */
  53. #b1,#b2,#sp1 {
  54.                 float:left;
  55. }
  56. /* The two buttons on the right side of the logo */
  57. #b3,#b4,#sp2 {
  58.                 float:right;
  59. }
  60. #b1 {
  61.                 margin-left:5%;
  62. }
  63. #b3 {
  64.                 margin-right:5%;
  65. }
  66. #center{
  67.                 height:480px;
  68.                 width:90%;
  69.                 border-radius:5%;
  70.                 border:5px solid black;
  71.                 text-align:center;
  72. }
  73. #menu {
  74.                 height:480px;
  75.                 width:90%;
  76.                 border:5px solid black;
  77.                 text-align:center;
  78. }
  79. #about {
  80.                 height:480px;
  81.                 width:90%;
  82.                 border:5px solid black;
  83.                 border-radius:5%;
  84.                 text-align:center;
  85.                 font-size:22px;
  86.                 color:#991900;
  87.                 font-style:oblique;
  88. }
  89. /* "Day of week" Styling */
  90. .dow {
  91.                 color:#991900;
  92.                 text-decoration:italic;
  93.                 float:left;
  94.                 font-size:30px;
  95. }
  96. /* Time styling */
  97. .time {
  98.                 color:black;
  99.                 text-decoration:italic;
  100.                 float:left;
  101.                 font-size:30px;
  102. }
  103. #redtext {
  104.                 color:#991900;
  105. }
  106. .righttext {
  107.                 font-size:30px;
  108. }
  109. #number {
  110.                 font-size:30px;
  111. }
  112. /* The right-side table styling (holding the food info) */
  113. #right {
  114.                 float:right;
  115.                 margin-top:-175px;
  116.                 margin-right:7%;
  117.                 text-align:right;
  118. }
  119. /* The left-side table styling (holding the business hours) */
  120. #left {
  121.                 float:left;
  122.                 margin-top:-170px;
  123.                 margin-left:7%;
  124. }
  125. /* The styling for the awards on the about page */
  126. #a1,#a2 {
  127.                 height:175px;
  128.                 width:200px;
  129.                 border:5px solid #991900;
  130.                 border-radius:15px;
  131. }
  132. /* Making the text in the right and left tables italic */
  133. #number,.dow,.time,.righttext {
  134.                 font-style:oblique;
  135. }
  136. /* Styling for the buttons and spaces at the bottom of the page */
  137. /* The left button. */
  138. #b5,#sp3 {
  139.                 float:left;
  140.                 text-align:center;
  141. }
  142. #b5 {
  143.                 margin-left:5%;
  144. }
  145. /* The right button. */
  146. #b6,#sp4 {
  147.                 float:right;
  148.                 text-align:center;
  149. }
  150. #b6 {
  151.                 margin-right:5%;
  152. }
  153. #gf {
  154.                 height:153px;
  155. }
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment