index.css 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. *{margin:0;padding:0;box-sizing:border-box;}
  2. body{
  3. display: flex;
  4. height: 100vh;
  5. width: 100vw;
  6. overflow-y: hidden;
  7. }
  8. header{
  9. display: flex;
  10. flex-direction: column;
  11. flex-basis: 350px;
  12. background: black;
  13. color: white;
  14. height: 100%;
  15. padding: 35px;
  16. }
  17. header a{
  18. color: rgb(200, 200, 200);
  19. text-decoration: none;
  20. }
  21. .headMain{
  22. font-size: 22px;
  23. font-weight: bold;
  24. }
  25. .headSub{
  26. padding-left: 15px;
  27. }
  28. .container, #container{
  29. flex-grow: 1;
  30. height: 100%;
  31. overflow-y: auto;
  32. background: rgb(200, 200, 200);
  33. padding: 35px;
  34. }
  35. article{
  36. border-bottom: 2px solid black;
  37. margin-bottom: 35px;
  38. }
  39. .prop{
  40. padding: 15px 25px;
  41. border-top: 1px solid black;
  42. }
  43. .name, .type{
  44. display: inline-block;
  45. }
  46. .name{
  47. font-weight: bold;
  48. }
  49. .type{
  50. margin-left: 15px;
  51. font-size: 12px;
  52. }
  53. .url{
  54. font-size: 18px;
  55. }
  56. ul{
  57. display: inline-block;
  58. border: 1px solid black;
  59. padding: 5px 10px;
  60. margin: 10px 0 0 15px;
  61. position: relative;
  62. }
  63. .ulTitle{
  64. position: absolute;
  65. top: -7px;
  66. left: -7px;
  67. font-size: 12px;
  68. background: rgb(200, 200, 200);
  69. list-style-type: none;
  70. }
  71. li{
  72. margin-left: 20px;
  73. }