projects.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /* Projects page */
  2. section{
  3. width: 90%;
  4. margin: auto;
  5. text-align: center;
  6. }
  7. section article.project{
  8. position: relative;
  9. display: inline-block;
  10. vertical-align: top;
  11. width: 40%;
  12. margin: 2em 3%;
  13. padding: 1em;
  14. text-align: left;
  15. /*border-left: 0.1em solid #aacaaa;
  16. border-right: 0.1em solid #aacaaa;
  17. background: linear-gradient(to bottom, #e5f0e500 0%, #e5f0e5ff 20%, #e5f0e5ff 80%, #e5f0e500 100%);*/
  18. }
  19. @media screen and (max-width : 800px){
  20. section article.project{
  21. width: 96%;
  22. margin: 0.3em auto;
  23. padding: 0.3em;
  24. }
  25. }
  26. section article.project table{
  27. width: 100%;
  28. }
  29. section article.project table td.logo{
  30. text-align: center;
  31. vertical-align: top;
  32. width: 9em;
  33. }
  34. section article.project table td.logo img.project_image{
  35. padding: 0.5em;
  36. width: 7em;
  37. height: 7em;
  38. background-color: #cccccc;
  39. border: 0.1em solid #60ae29;
  40. box-shadow: inset 0 0 0.5em #00220077;
  41. border-radius: 1em;
  42. }
  43. @media screen and (max-width : 800px){
  44. section article.project table td.logo{
  45. width: 17vw;
  46. }
  47. section article.project table td.logo img.project_image{
  48. padding: 0.3em;
  49. width: 15vw;
  50. height: 15vw;
  51. border-radius: 0.5em;
  52. }
  53. }
  54. section article.project table td.project_details{
  55. padding-left: 1.5em;
  56. vertical-align: top;
  57. }
  58. @media screen and (max-width : 800px){
  59. section article.project table td.project_details{
  60. padding-left: 0.5em;
  61. }
  62. section article.project table td.project_details h4{
  63. margin-bottom: 0.2em;
  64. }
  65. }
  66. section article.project table span.project_tagline{
  67. font-size: 80%;
  68. font-style: italic;
  69. }