Skip to content

Commit

Permalink
working out some css glitches, switched to cssgrid
Browse files Browse the repository at this point in the history
  • Loading branch information
cchance27 committed Jul 2, 2021
1 parent d939c17 commit fea854c
Showing 1 changed file with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions src/cnArcher.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,61 +137,69 @@

.option-info {
font-size: 12px;
display: grid;
grid-template-columns: auto auto;
width: 100%;
align-items: center;
grid-column-gap: 10px;
grid-row-gap: 4px;
}

.entry {
grid-column: 1 / 2;
display: inline-block;
width: 80px;
font-weight: 600;
}

.entry-wide {
display: inline-block;
padding-top: 10px;
width: 210px;
font-weight: 600;
line-height: 25px;
}

.widebox {
font-size: 12px;
width: 130px;
width: 90%;
height: 25px;
border: 0;
outline: 0;
margin-top: 4px;
border-radius: 8px;
text-align: right;
padding: 1px;
background: rgba(255,255,255,0.5);
box-shadow:
0 1px 0 rgba(255,255,255,.15),
0 2px 4px rgba(0,0,0,.2),
0 0 12px rgba(255,255,255,.1)
0 0 12px rgba(255,255,255,.1);
grid-column: 2 / 3;
}

.invalid {
border: 1px solid crimson;
}

.entry-wide {
display: inline-block;
margin-top: 5px;
font-weight: 600;
grid-column: 1 / 3;
}

.option-info textarea {
width: 212px;
width: 100%;
height: 55px;
border: 0;
outline: 0;
border-radius: 10px;
margin-top: 3px;
font-size: 12px;
padding: 5px;
resize: none;
background: rgba(255,255,255,0.5);
box-shadow:
0 1px 0 rgba(255,255,255,.15),
0 2px 4px rgba(0,0,0,.2),
0 0 12px rgba(255,255,255,.1)
0 0 12px rgba(255,255,255,.1);
grid-column: 1 / 3;
}

.check-options {
padding-top: 10px;
grid-column: 1 / 3;
display: flex;
align-items: center;
text-align: center;
Expand Down

0 comments on commit fea854c

Please sign in to comment.