CoolFace
Apppublic

Coder19/interview_system

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
aarsh.css242 linesDownload Raw Back to interview
1body {2  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;3  margin: 0;4  padding: 20px;5  background-color: #f5f5f5;6}7 8.container {9  max-width: 1200px;10  margin: 0 auto;11  padding: 20px;12}13 14h1 {15  text-align: center;16  color: #2c3e50;17  margin-bottom: 30px;18}19 20.controls {21  display: flex;22  justify-content: center;23  gap: 20px;24  margin-bottom: 30px;25}26 27button {28  padding: 12px 24px;29  font-size: 16px;30  border: none;31  border-radius: 5px;32  cursor: pointer;33  transition: all 0.3s ease;34}35 36#start-interview-btn {37  background-color: #2ecc71;38  color: white;39}40 41#stop-interview-btn {42  background-color: #e74c3c;43  color: white;44}45 46button:disabled {47  background-color: #bdc3c7;48  cursor: not-allowed;49}50 51.video-container {52  width: 100%;53  max-width: 640px;54  margin: 0 auto 20px;55  border-radius: 10px;56  overflow: hidden;57  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);58}59 60#user-video {61  width: 100%;62  height: auto;63  display: block;64}65 66.conversation-container {67  display: flex;68  flex-direction: column;69  height: 600px;70  background-color: #fafafa;71  border-radius: 10px;72  padding: 20px;73  margin-top: 20px;74  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);75}76 77#conversation-history {78  max-height: 400px;79  overflow-y: auto;80  margin-bottom: 20px;81  padding: 15px;82  background-color: #fff;83  border: 1px solid #e1e1e1;84  border-radius: 8px;85  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);86}87 88.message {89  margin-bottom: 12px;90  padding: 10px 15px;91  border-radius: 8px;92  max-width: 80%;93  word-wrap: break-word;94}95 96.bot-message {97  background-color: #f5f5f5;98  border-left: 4px solid #4caf50;99  margin-right: auto;100  margin-left: 10px;101}102 103.user-message {104  background-color: #e3f2fd;105  border-left: 4px solid #2196f3;106  margin-left: auto;107  margin-right: 10px;108}109 110.error {111  background-color: #ffebee;112  border-left: 4px solid #f44336;113  margin-left: 10px;114  margin-right: 10px;115  width: calc(100% - 20px);116}117 118.voice-btn {119    background: var(--primary-gradient);120    border: none;121    border-radius: 50%;122    width: 40px;123    height: 40px;124    display: flex;125    align-items: center;126    justify-content: center;127    cursor: pointer;128    margin-right: 10px;129    transition: all 0.3s ease;130}131 132.voice-btn svg {133    color: white;134}135 136.voice-btn.active {137    background: var(--error-color);138    animation: pulse 1.5s infinite;139}140 141@keyframes pulse {142    0% {143        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);144    }145    70% {146        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);147    }148    100% {149        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);150    }151}152 153.input-container {154  display: flex;155  gap: 10px;156  margin-bottom: 15px;157  padding: 10px;158}159 160#user-input {161  flex: 1;162  padding: 10px;163  border: 1px solid #ddd;164  border-radius: 5px;165  font-size: 16px;166}167 168#send-button {169  padding: 10px 20px;170  background-color: #3498db;171  color: white;172  border: none;173  border-radius: 5px;174  cursor: pointer;175}176 177#send-button:hover {178  background-color: #2980b9;179}180 181body {182    font-family: Arial, sans-serif;183    background-color: #f0f0f0;184  }185  186  .container {187    max-width: 800px;188    margin: 40px auto;189    padding: 20px;190    background-color: #fff;191    border: 1px solid #ddd;192    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);193  }194  195  #interview-container {196    display: none;197  }198  199  #question-text {200    font-size: 24px;201    font-weight: bold;202    margin-bottom: 20px;203  }204  205  #answer-input {206    width: 100%;207    height: 40px;208    padding: 10px;209    font-size: 18px;210    border: 1px solid #ccc;211  }212  213  #submit-answer-btn {214    background-color: #4CAF50;215    color: #fff;216    padding: 10px 20px;217    border: none;218    border-radius: 5px;219    cursor: pointer;220  }221  222  #submit-answer-btn:hover {223    background-color: #3e8e41;224  }225 226.speech-status {227  display: flex;228  justify-content: space-between;229  padding: 8px 15px;230  background-color: #f8f9fa;231  border-radius: 8px;232  margin-bottom: 15px;233  border: 1px solid #e1e1e1;234}235 236#listening-status, #speaking-status {237  font-size: 14px;238  color: #666;239  padding: 4px 8px;240  border-radius: 4px;241  background-color: #fff;242}