Portfolio/static/public/css/style.css

119 lines
1.6 KiB
CSS
Raw Normal View History

2024-03-01 12:51:23 +11:00
2024-03-09 19:26:51 +11:00
.button-link {
background: none;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
text-decoration: underline;
}
2024-03-01 12:51:23 +11:00
img {
2024-03-05 14:42:40 +11:00
width: calc(min(100%, 800px));
border-radius: 0.25em;
border-style: none;
2024-03-01 12:51:23 +11:00
}
2024-03-05 14:42:40 +11:00
button {
font: inherit;
cursor: pointer;
text-decoration: none;
2024-03-09 19:26:51 +11:00
}
table {
border-collapse: collapse;
width: 100%;
}
th, td {
text-align: left;
padding: 0.75em;
2024-03-05 14:42:40 +11:00
}
.visually-hidden {
overflow: hidden;
width: 0;
height: 0;
display: block;
left: 50%;
position: absolute;
transform: translateY(-100%);
}
ul.navbar {
list-style-type: none;
margin: 0;
padding: 0;
2024-03-09 19:26:51 +11:00
overflow: hidden;
2024-03-05 14:42:40 +11:00
}
ul.navbar li {
display: inline;
2024-03-09 19:26:51 +11:00
float: left;
2024-03-05 14:42:40 +11:00
margin: 0;
padding: 0;
}
2024-03-09 19:26:51 +11:00
ul.navbar li button {
transition: 0.25s;
background-color: inherit;
2024-03-05 14:42:40 +11:00
border: none;
padding: 1em 1.5em;
font: inherit;
cursor: pointer;
text-decoration: none;
display: block;
}
2024-03-09 19:26:51 +11:00
ul.navbar li#theme-target {
float: right;
}
ul.navbar li#theme-target button {
font-size: 1.5em;
padding: 0;
height: 54px;
width: 54px;
2024-03-05 14:42:40 +11:00
}
input[type="text"], input[type="email"], textarea {
display: block;
width: calc(min(100% - 1em, 800px));
}
input[type="text"], input[type="email"], input[type="button"], textarea, button {
border-radius: 0.25em;
border-width: thin;
border-style: solid;
border-color: gray;
2024-03-09 19:26:51 +11:00
padding: 0.5em 0.75em;
2024-03-05 14:42:40 +11:00
}
textarea {
height: 10em;
}
label {
margin-top: 0.5em;
display: block;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#root-head {
margin: 0 auto;
padding: 0;
display: block;
max-width: calc(max(80%, 800px));
min-height: 100%;
}
#root-body {
padding: 1em;
}