File size: 3,098 Bytes
ce4fe6e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
/* === GENERAL === */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #b6edf0;
}
h1.title {
text-align: center;
font-size: 48px;
font-weight: bold;
color: #333;
margin-top: 20px;
}
/* === CONTAINER LAYOUT === */
.container {
display: flex;
flex-direction: row;
padding: 10px;
margin: 10px;
gap: 10px;
}
/* === LEFT PANEL (Image) === */
.left-panel {
background-color: #ffffff;
width: 240px;
padding: 10px;
border-radius: 20px;
text-align: center;
padding-top: 90px;
}
.left-panel img {
width: 220px;
height: 260px;
border-radius: 10px;
margin-top: 60px;
}
/* === CENTER PANEL === */
.center-panel {
flex-grow: 1;
background-color: #b0dde9;
border-radius: 20px;
padding: 10px;
display: flex;
flex-direction: column;
gap: 10px;
}
/* Top Center Label */
.top-label textarea {
width: 97%;
height: 100px;
font-size: 14px;
font-family: Arial, sans-serif;
background-color: #f0f0f0;
border-radius: 10px;
border: 1px solid #ccc;
padding: 12px;
resize: none;
}
/* Q&A Section */
.qa-section {
display: flex;
gap: 10px;
}
.input-area, .output-area {
flex: 1;
display: flex;
flex-direction: column;
gap: 5px;
background-color: #ffffff;
padding: 10px;
border-radius: 20px;
}
textarea {
resize: none;
font-family: Arial, sans-serif;
font-size: 14px;
padding: 10px;
border-radius: 10px;
border: 1px solid #ccc;
min-height: 180px;
background-color: #f9fbe7;
}
/* === BUTTON PANEL === */
.button-panel {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 10px;
padding: 10px;
background-color: #ffffff;
border-radius: 20px;
}
.button-panel button {
flex: 1;
min-width: 140px;
height: 45px;
border: none;
font-size: 14px;
font-weight: bold;
border-radius: 25px;
cursor: pointer;
transition: 0.2s ease-in-out;
}
.button-panel button:hover {
transform: scale(1.05);
}
/* Individual button colors to match Tkinter version */
.button-panel button:nth-child(1) { background-color: #80deea; color: black; }
.button-panel button:nth-child(2) { background-color: #c5e1a5; color: black; }
.button-panel button:nth-child(3) { background-color: #ffccbc; color: black; }
.button-panel button:nth-child(4) { background-color: #8ad5d5; color: black; }
.button-panel button:nth-child(5) { background-color: #ffe082; color: black; }
.button-panel button:nth-child(6) { background-color: #d7ccc8; color: black; }
/* === RIGHT PANEL (History) === */
.right-panel {
width: 300px;
background-color: #9ed4dc;
border-radius: 20px;
padding: 10px;
display: flex;
flex-direction: column;
gap: 10px;
}
.right-panel label {
font-weight: bold;
}
#history {
flex: 1;
height: 500px;
resize: none;
border-radius: 10px;
padding: 10px;
font-family: Consolas, monospace;
font-size: 13px;
border: 1px solid #ccc;
background-color: #ffffff;
overflow-y: auto;
}
|