official-custom.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. .section1{
  2. width: 100%;
  3. height: auto;
  4. margin-top: 100px;
  5. }
  6. .section1 img{
  7. width: 100%;
  8. height: 100%;
  9. }
  10. .casewrapper{
  11. width: 70%;
  12. height: auto;
  13. margin: 20px 15%;
  14. }
  15. .casebox{
  16. width: 100%;
  17. height: auto;
  18. margin: 10px 0 0 0;
  19. float: left;
  20. position: relative;
  21. }
  22. .casebox:hover .hoverbox{
  23. display: block;
  24. }
  25. .casebox div:first-child{
  26. width: 100%;
  27. height: auto;
  28. }
  29. .casebox div:first-child img{
  30. width: 100%;
  31. height: 100%;
  32. }
  33. .casebox p{
  34. text-align: center;
  35. margin-top: 15px;
  36. }
  37. .hoverbox{
  38. width: 100%;
  39. height: 70%;
  40. position: absolute;
  41. background: rgba(14,27,26,0.5);
  42. top: 0;
  43. left: 0;
  44. display: none;
  45. }
  46. .hoverbox img{
  47. width: 80%;
  48. height: 70%;
  49. margin: 15% 10% 0 10%;
  50. }
  51. h3,h4{
  52. text-align: center;
  53. margin-top: 10px;
  54. }
  55. .section2{
  56. margin-top: 30px;
  57. }
  58. .section2 h4{
  59. margin-bottom: 30px;
  60. }
  61. .connect{
  62. width: 60%;
  63. font-size: 20px;
  64. margin-left:20% ;
  65. text-align: center;
  66. }
  67. .connect span{
  68. margin-right: 10%;
  69. }
  70. @media (max-width:700px ) {
  71. .madebtn {
  72. width: 30%;
  73. height: 30px;
  74. font-size: 16px;
  75. margin: 20px 35%;
  76. border: 1px solid #7DBE00;
  77. color: #7DBE00;
  78. background: transparent;
  79. }
  80. }
  81. @media (min-width:996px ) {
  82. .madebtn{
  83. width: 10%;
  84. height: 30px;
  85. font-size: 16px;
  86. margin: 20px 45%;
  87. border: 1px solid #7DBE00;
  88. color: #7DBE00;
  89. background: transparent;
  90. }
  91. }