Advertisement
bebo231312312321

Untitled

Apr 21st, 2023
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.22 KB | None | 0 0
  1. * {
  2.     margin: 0;
  3.     padding: 0;
  4.     font-family: 'Poppins', sans-serif;
  5.     box-sizing: border-box;
  6. }
  7.  
  8. body {
  9.     background: #080808;
  10.     color: white;
  11. }
  12.  
  13. #header {
  14.     width: 100%;
  15.     height: 100vh;
  16.     background-image: url(/about-borislav/images/background.jpg);
  17.     background-size: cover;
  18.     background-position: center;
  19. }
  20.  
  21. .container {
  22.     padding: 10px 10%;
  23.  
  24. }
  25.  
  26. nav {
  27.     display: flex;
  28.     align-items: center;
  29.     justify-content: space-between;
  30.     flex-wrap: wrap;
  31. }
  32.  
  33. .logo {
  34.     width: 150px;
  35. }
  36.  
  37. nav ul li {
  38.     list-style: none;
  39.     display: inline-block;
  40.     margin: 10px 10px;
  41. }
  42.  
  43. nav ul li a {
  44.     color: white;
  45.     text-decoration: none;
  46.     font-size: 20px;
  47.     position: relative;
  48. }
  49.  
  50. nav ul li a::after {
  51.     content: '';
  52.     width: 0;
  53.     height: 3px;
  54.     left: 0;
  55.     position: absolute;
  56.     background: #ff004f;
  57.     bottom: -5px;
  58.     transition: 0.6s;
  59.  
  60. }
  61.  
  62. nav ul li a:hover {
  63.     color: #7c0f0f;
  64. }
  65.  
  66. nav ul li a:hover::after {
  67.     width: 100%;
  68. }
  69.  
  70. .info-person {
  71.     margin-top: 20%;
  72.     font-size: 30px;
  73. }
  74.  
  75. .info-person p span {
  76.     background: #193047;
  77.     color: #E4F0F4;
  78.     font-family: "Lato", "Arial", "Helvetica", sans-serif;
  79.     ;
  80.     border: 2px solid #ffefd3;
  81.     border-radius: 12px;
  82.     padding: 2px 5px;
  83. }
  84.  
  85. .info-person h1 {
  86.     font-size: 50px;
  87.     margin-top: 30px;
  88. }
  89.  
  90. .info-person h1 span {
  91.     color: #da1616;
  92. }
  93.  
  94. /* ----------------about Me------------------- */
  95.  
  96. .about-person {
  97.     padding: 80px 0;
  98.     color: #f4ecdf;
  99. }
  100.  
  101. .row {
  102.     display: flex;
  103.     flex-wrap: wrap;
  104.     justify-content: space-between;
  105. }
  106.  
  107. .col-1-about {
  108.     flex-basis: 35%;
  109. }
  110.  
  111. .col-1-about img {
  112.     width: 100%;
  113.     border-radius: 20px;
  114.  
  115. }
  116.  
  117. .col-2-about {
  118.     flex-basis: 60%;
  119. }
  120.  
  121. .col-2-about h1 {
  122.     font-size: 55px;
  123.     font-weight: 400;
  124.     color: #f4ecdf;
  125. }
  126.  
  127. .col-2-about p {
  128.     color: #E4F0F4;
  129. }
  130.  
  131. .educations-tab {
  132.     display: flex;
  133.     margin: 20px 0 40px;
  134. }
  135.  
  136. .links {
  137.     margin-right: 50px;
  138.     font-size: 20px;
  139.     position: relative;
  140.     font-weight: 500;
  141.     cursor: pointer;
  142. }
  143.  
  144. .educations-tab p {
  145.     color: #f4ecdf;
  146.     font-size: 30px;
  147. }
  148.  
  149. .links::after {
  150.     content: '';
  151.     position: absolute;
  152.     left: 0;
  153.     width: 0;
  154.     height: 3px;
  155.     background: #ff004f;
  156.     bottom: -6px;
  157.     transition: 0.5s;
  158. }
  159.  
  160. .links.active::after {
  161.     width: 50%;
  162. }
  163.  
  164. .education-content ul li {
  165.     list-style: none;
  166.     margin: 15px 0;
  167.     font-size: 20px;
  168. }
  169.  
  170. .education-content ul li span {
  171.     color: #9f4040;
  172.     font-weight: 600;
  173.     font-size: 25px;
  174. }
  175.  
  176. body>div.about-person>div>div>div.col-2-about>div.education-content>ul>li:nth-child(4)>span:nth-child(2) {
  177.     color: #e8f809;
  178.     font-size: 25px;
  179. }
  180.  
  181. .education-content {
  182.     display: none;
  183. }
  184.  
  185. .education-content.active-content {
  186.     display: block;
  187. }
  188.  
  189. /* ------------- service-------------- */
  190.  
  191. #services {
  192.     padding: 30px 0;
  193.  
  194. }
  195.  
  196. #services>div>h1 {
  197.     color: #f4ecdf;
  198.     font-size: 40px;
  199. }
  200.  
  201. .services-list {
  202.     display: grid;
  203.     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  204.     grid-gap: 40px;
  205.     margin-top: 60px;
  206. }
  207. .services-list div{
  208.     background: #414040;
  209.     font-size: 16px;
  210.     border-radius: 15px;
  211.     font-weight: 400;
  212.     padding: 40px;
  213.     transition: backgrond 0.5s, transform 0.5s;
  214.  
  215. }
  216. .services-list div i{
  217.     font-size: 50px;
  218.     margin-bottom: 30px;
  219. }
  220. .services-list div h2{
  221.     color:#9f4040;
  222.     font-size: 30px;
  223.     margin-bottom: 20px;
  224.     font-weight: 500;
  225. }
  226. .services-list div a{
  227.     display: inline-block;
  228.     font-size: 20px;
  229.     margin-top: 20px;
  230.     color:#f4ecdf;
  231.     text-decoration: none;
  232.     cursor: pointer;
  233.     font-weight: 400;
  234. }
  235. .services-list div:hover{
  236.     background: #ff004f;
  237.     transform: translateY(-15px);
  238. }
  239. .services-list div a:hover{
  240.     color:#193047
  241. }
  242. /* -------------- portfolio--------------- */
  243. #portfolio{
  244.     padding: 30px 0;
  245. }
  246. .workList{
  247.     display: grid;
  248.     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  249.     grid-gap: 40px;
  250.     margin-top: 50px;
  251.  
  252. }
  253. .work{
  254. border-radius: 15px;
  255. position: relative;
  256. overflow: hidden;
  257. }
  258. .work img{
  259.     width: 100%;
  260.     border-radius: 15px;
  261.     display: block;
  262. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement