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.

111 lines
1.7 KiB

  1. #avatar_form div#preview {
  2. flex: 1 1 20%;
  3. text-align: center;
  4. padding-top: 2rem;
  5. }
  6. #avatar_form input[type=file] {
  7. max-width: 200px;
  8. }
  9. #avatar_form div#preview > div,
  10. #avatar_form div#preview img {
  11. max-width: 250px;
  12. border-radius: 0.25rem;
  13. margin: 0 auto;
  14. }
  15. /*
  16. #avatar_form div.flex div:first-child {
  17. flex: 1 1 25%;
  18. background-color: #333;
  19. display: block;
  20. height: 25rem;
  21. }
  22. #avatar_form div.flex div:nth-child(2) {
  23. padding-left: 2rem;
  24. }
  25. #avatar_form div.flex div#preview div {
  26. display: table;
  27. width: 100%;
  28. }
  29. #avatar_form div.flex div:first-child form {
  30. display: table-cell;
  31. text-align: center;
  32. vertical-align: middle;
  33. }
  34. #avatar_form div.flex div:first-child div form img {
  35. max-width: 300px;
  36. }
  37. #avatar_form input[type=file] {
  38. max-width: 200px;
  39. }*/
  40. /*#avatar form {
  41. margin-top: 2rem;
  42. }
  43. #avatar #camdiv {
  44. padding-top: 5rem;
  45. }
  46. #avatar #camdiv #runningcam,
  47. #avatar #camdiv #shoot{
  48. display: none;
  49. }
  50. #avatar #camdiv.active #runningcam{
  51. display: block;
  52. }
  53. #avatar #camdiv.active #shoot{
  54. display: inline-block;
  55. }
  56. #avatar #camdiv #runningcam {
  57. max-width: 100%;
  58. }
  59. #avatar #camdiv.active #capture {
  60. display: none;
  61. }
  62. #avatar #result {
  63. min-height: 35rem;
  64. overflow: hidden;
  65. text-align: center;
  66. }
  67. #avatar video {
  68. background-color: #1F1F1F;
  69. width: 100%;
  70. min-height: 35rem;
  71. }
  72. #avatar #result img {
  73. position:absolute;
  74. top: 0;
  75. bottom: 0;
  76. margin:auto;
  77. left: calc(50% - 105px);
  78. }
  79. #avatar #result span {
  80. position: absolute;
  81. bottom: 1rem;
  82. font-size: 1.5rem;
  83. margin-left: -3rem;
  84. }
  85. */
  86. /*
  87. .squares, #snap{
  88. height:200px;
  89. box-shadow: none !important;
  90. border: 0px !important;
  91. }
  92. */