default.css: css reset

This commit is contained in:
Milan
2021-03-13 16:14:58 +01:00
parent ab59501208
commit 8e88fce44a
2 changed files with 29 additions and 52 deletions

View File

@@ -26,9 +26,28 @@
url('../fonts/open-sans-v15-latin_latin-ext-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
body {
margin: 0;
padding: 0;
color: #000;
background: #efefef;
height: 100%;
@@ -36,9 +55,7 @@ body {
}
body #content {
margin: 0;
color: #000;
background: #fff;
text-align: left;
min-width: 500px;
max-width: 1200px;
@@ -46,6 +63,13 @@ body #content {
margin-right: auto;
}
h1{
font-size:3rem;
}
h2{
font-size:2rem;
}
div {
transition: background-color 0.5s linear;
transition: z-index 2s linear;
@@ -74,7 +98,6 @@ body,
#content button {
font-size: 1rem;
font-family: Roboto, sans-serif;
font-weight: 600;
}
#content textarea {
@@ -111,8 +134,6 @@ body,
#calcms_nav input,
#calcms_nav select,
#calcms_nav option {
margin: 0;
padding: 0;
color: #fff;
}
@@ -201,7 +222,6 @@ div.editor {
#content div.panel-header {
clear: both;
text-align: left;
padding-left: 0;
align-content: center;
align-items: center;
display: flex;
@@ -232,12 +252,6 @@ div.editor {
text-decoration: underline;
}
#content form {
border: 0;
padding: 0;
margin: 0;
}
#content div,
td,
tr,
@@ -493,8 +507,6 @@ table.tablesorter tr {
color: #000;
background: #fefefe;
padding: 8px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0.5rem;
text-decoration: none;
}
@@ -542,13 +554,6 @@ input[type='checkbox'] {
}
/* new */
#calcms_nav {
position: fixed;
top: 0;
left: 0;
right: 0;
}
#calcms_nav div a,
#calcms_nav select,
#calcms_nav option {

View File

@@ -10,8 +10,6 @@
}
#content .label {
padding: 0;
margin: 0;
color: #555;
}
@@ -30,8 +28,6 @@
#content .right {
float: right;
padding: 0;
margin: 0;
}
#content .editor {
@@ -40,7 +36,6 @@
#content .editor div.buttons {
text-align: center;
padding: 0;
}
#content .editor div.buttons button,
@@ -56,8 +51,6 @@
}
*/
#imagePreview {
padding: 0;
margin: 0;
border: none;
width: 24px;
height: 24px;
@@ -84,18 +77,12 @@
background-color: #aaa;
}
#content .series table tr {
padding: 0;
margin: 0;
}
#content .series table td:nth-child(1) {
width: 10em;
}
#content .series table td {
padding: 6px;
margin: 0;
}
#content .editor .row {
@@ -114,21 +101,6 @@
min-height: 4em;
}
#content div.ui-tabs-panel,
#content div.editor,
#content div.row.schedule {
padding-left: 0;
padding-right: 0;
}
/* start of schedule */
#content div.cell {
margin-left: 6px;
margin-right: 0;
padding-left: 0;
padding-right: 0;
}
#content div.cell.exclude,
#content div.cell.nextDay,
#content div.cell.weekday {
@@ -288,4 +260,4 @@ form {
#content .editor .row:nth-child(2n+1){
background:#eee;
}
*/
*/