projet Web 3Mic
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. :root {
  2. --main-background-color: white;
  3. --main-text-color: black;
  4. --main-highlight-color: cyan;
  5. }
  6. body {
  7. background-color: var(--main-background-color);
  8. color: --main-text-color;
  9. display: flex;
  10. flex-direction: column;
  11. margin: 0;
  12. min-height: 100vh;
  13. }
  14. main {
  15. display: flex;
  16. flex-direction: column;
  17. align-items: center;
  18. float: left;
  19. }
  20. .container {
  21. padding: 2rem 0 0 0;
  22. display: flex;
  23. min-height: 40vh;
  24. }
  25. aside {
  26. margin: 0 auto;
  27. float: left;
  28. width: 20rem;
  29. justify-content: space-between;
  30. flex-direction: column;
  31. }
  32. nav {
  33. display: flex;
  34. background-color: yellowgreen;
  35. padding: 0 20%;
  36. }
  37. nav ol {
  38. display: flex;
  39. flex-direction: row;
  40. align-items: center;
  41. list-style-type: none;
  42. }
  43. nav ol li {
  44. margin: auto 1rem;
  45. }
  46. nav ol li button {
  47. background-color: transparent;
  48. padding: 0.5rem;
  49. font-size: large;
  50. }
  51. footer {
  52. display: flex;
  53. align-items: center;
  54. flex-direction: column;
  55. position:fixed;
  56. margin-top: auto;
  57. width: 100%;
  58. bottom: 0;
  59. background-color: yellowgreen;
  60. }
  61. footer p:last-child {
  62. font-weight: bolder;
  63. }
  64. table {
  65. border-collapse: collapse;
  66. box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  67. width:100%;
  68. }
  69. thead {
  70. width:100%;
  71. background:#000;
  72. padding:(12px * 1.5) 0;
  73. color:wheat;
  74. }
  75. tr {
  76. text-align: center;
  77. width:100%;
  78. padding:(12px * 1.5) 0;
  79. }
  80. tr:nth-of-type(even) {
  81. background:lightgray;
  82. }
  83. .text-bubble {
  84. position: relative;
  85. margin: auto;
  86. margin-left: 185px;
  87. margin-top: -395px;
  88. z-index: 2;
  89. }
  90. .dialog {
  91. height: 150px;
  92. width: 350px;
  93. background-color: var(--main-background-color);
  94. position: relative;
  95. border-radius: 10%;
  96. display: flex;
  97. text-align: center;
  98. border: 1px solid black;
  99. }
  100. .right-point {
  101. width: 0;
  102. height: 0;
  103. border-left: 1rem solid transparent;
  104. border-right: 1rem solid transparent;
  105. border-top: 5rem solid black;
  106. position: absolute;
  107. margin-top: 30%;
  108. margin-left: 100%;
  109. transform: rotate(-60deg) ;
  110. z-index: -1;
  111. }
  112. .shifted {
  113. transform:rotate(-60deg) translate(0px,-2px);
  114. border-top: 5rem solid white;
  115. z-index: 4;
  116. }
  117. .speech {
  118. z-index: 3;
  119. margin: auto;
  120. padding: 30px;
  121. position: relative;
  122. text-align: justify;
  123. }
  124. .input-field {
  125. display: flex;
  126. flex-direction: row;
  127. }